Comment 23 for bug 1874831

Revision history for this message
Damjan Georgievski (gdamjan) wrote :

In my original test, the POST to the /pub would crash the request in nginx - not crash the whole process but it would error out, and the curl would get disconnected with no data received.

Just now, before testing your PPA packages, using latest focal packages, the POST to /pub succeeded, but then a GET request to /sub crashed nginx:

nginx: worker process: /build/nginx-KTLRnK/nginx-1.18.0/debian/modules/nchan/src/store/memory/ipc-handlers.c:417: memstore_ipc_send_get_message: Assertion `data.shm_chid->len>1' failed.
2021/11/11 12:12:15 [alert] 915#915: worker process 916 exited on signal 6 (core dumped)

In general, a POST to /pub and a GET on /sub should succeed and return the same message.

I have a full demo with Docker and simple html app here (based on bullseye, since that worked at the time):
https://github.com/gdamjan/pub-sub-demo