[libmicrohttpd] GNU libmicrohttpd 0.9.63 released

2019-02-10 Thread Christian Grothoff
Dear all, I'm glad to announce the release of GNU libmicrohttpd 0.9.63. GNU libmicrohttpd is a small C library that is supposed to make it easy to run an HTTP server as part of another application. GNU libmicrohttpd is fully HTTP 1.1 compliant and supports IPv6. Finally, GNU libmicrohttpd is fast

Re: [libmicrohttpd] MHD cannot write the entire chunked deflate data (deflate/chunked)

2019-02-10 Thread silvioprog
Hello Christian, first of all, thanks a lot for answering, specially for the info regarding compress2(). After your message I decided to study this function internally and now I know its entire logic. I've read the zlib manual and took a look at its examples/tests to get a better knowledge about

Re: [libmicrohttpd] GNU libmicrohttpd 0.9.63 released

2019-02-10 Thread silvioprog
Great news! \o/ Thank to all for the effort to release this new version, I've tested it on Windows and its build now works like a charm. best, On Sun, Feb 10, 2019 at 1:24 PM Christian Grothoff wrote: > Dear all, > > I'm glad to announce the release of GNU libmicrohttpd 0.9.63. > > GNU libmicr

Re: [libmicrohttpd] MHD cannot write the entire chunked deflate data (deflate/chunked)

2019-02-10 Thread Christian Grothoff
On 2/10/19 10:45 PM, silvioprog wrote: > > This is the example (now it contains some error handling). Feel > absolutely free to change it if you find something that could be > improved, and let me know if it could be useful and distributed in the > "src/examples/": Sure, except for one thing: you

Re: [libmicrohttpd] MHD cannot write the entire chunked deflate data (deflate/chunked)

2019-02-10 Thread silvioprog
On Sun, Feb 10, 2019 at 7:08 PM Christian Grothoff wrote: > Sure, except for one thing: your clean up is not clean: on the "error:" > path, you do not "free(holder)", and on some of the "return MHD_NO" > paths you leak the entire response object. > > If you fix those minor nitpicks, this should m

Re: [libmicrohttpd] tiny websocket above LMHD

2019-02-10 Thread silvioprog
Hello José, thanks for answering. Sorry for resend, I don't know why the Gmail client sent it to your particular e-mail. 🤔 So, I have a question. Could I send a feature-request at lmhd-ws/issues ? If so, I'll open a new issue as feature-request to build t

Re: [libmicrohttpd] tiny websocket above LMHD

2019-02-10 Thread silvioprog
Hello again José, just to share two WS libraries I found: 1. https://github.com/tatsuhiro-t/wslay 2. https://libwebsockets.org I have never tried these libraries before... maybe they could help to create a cross-platform WS layer to use with MHD. best, On Sun, Feb 10, 2019 at 7:45 PM silviopro