Re: [libmicrohttpd] Reverse order

2015-06-30 Thread Christian Grothoff
Hi! No special reason, other than that we keep the headers in a single-linked list (without a tail pointer) and thus appending is more expensive than prepending. Also, if you truly care about the order, you could just reverse the application calls, so there is no good reason to change it now (mig

[libmicrohttpd] Reverse order

2015-06-30 Thread Markus Doppelbauer
Hello, If I add http-headers to a response via "MHD_add_response_header()", the headers are written in reverse order - first in last out. Is there a special reason? Thanks a lot Markus