Comment 20 for bug 1874831

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Hi,
there was no feedback yet, did anyone have a chance to try this build and outline steps to test this as needed for the SRU process [1]?

I tried the following (probably too trivial) and it worked just fine even without the fix.

$ apt install libnginx-mod-http-lua nginx-core
For nchan add in /etc/nginx/sites-enabled/default
    location = /sub {
      nchan_subscriber;
      nchan_channel_id $arg_id;
    }

    location = /pub {
      nchan_publisher;
      nchan_channel_id $arg_id;
    }
# Restart server
$ sudo systemctl restart nginx
# Access nchan content
$ curl --request POST --data "test message" http://127.0.0.1:80/pub
queued messages: 1
last requested: 0 sec. ago
active subscribers: 0
last message id: 1636616299

Maybe you can help me to extend that example to show the issue?

P.S. there is activity at the sibling bug 1893753. If we only get confirmation and proper tests steps there, but not here - then I'll have to drop this part of the upload before queuing for an SRU to Focal. So your help would really be appreciated.

[1]: https://wiki.ubuntu.com/StableReleaseUpdates#SRU_Bug_Template