On 19 September 2017 at 13:42, Harsha Bellur <[email protected]> wrote: > On Tuesday, September 19, 2017 at 5:00:21 AM UTC-4, Matthew Wild wrote: >> How are you sending this HTTP request? and where? Did you modify Prosody's >> code? > > I am using the request method in net/http.lua to post HTTPS/HTTP requests to > an external http server. I did modify the method to handle POST as well as > PUT - that's about it.
net.http already supports POST - you simply specify a 'body' in the options and it will change the default method to POST automatically. To override this and use a different method, simply set 'method' in the options table. >> A segmentation fault is a very different thing to just a slow server. >> Is this reproducible? > > At my end, it is intermittent but reproducible. The way I do it is setup > say 40 thousand WS connections and stop nginx. Basically, I am simulating a > use case where the web socket server has lost connectivity to all clients. Without seeing your code or the strace output I asked for earlier in the thread, I'm afraid we really don't have enough information to diagnose the issue you're having. Regards, Matthew -- You received this message because you are subscribed to the Google Groups "prosody-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/prosody-dev. For more options, visit https://groups.google.com/d/optout.
