Hi. I'm using Mongoose 5.4 and I noticed that when called from a user defined handler, the following function produces its output with a 30 seconds delay:
*mg_write (conn, "HTTP/1.1 200 OK\r\nContent-Type: text/plain\r\n\r\n<some_data>", strlen ("HTTP/1.1 200 OK\r\nContent-Type: text/plain\r\n\r\n<some_data>"));* while the following combination, producing the same output, does its job immediately: *mg_send_header (conn, "Content-Type", "text/plain");* *mg_printf_data (conn, "%s", "<some_data>");* What is the cause of the huge delay when using the mg_write function? Thanks. -- You received this message because you are subscribed to the Google Groups "mongoose-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to mongoose-users+unsubscr...@googlegroups.com. To post to this group, send email to mongoose-users@googlegroups.com. Visit this group at http://groups.google.com/group/mongoose-users. For more options, visit https://groups.google.com/d/optout.