ChangeLog 86 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475
  1. Thu Jul 13 21:41:00 MSK 2017
  2. Restored SIGPIPE suppression in TLS mode.
  3. Added new value MHD_FEATURE_AUTOSUPPRESS_SIGPIPE so application could
  4. check whether SIGPIPE handling is required.
  5. Used GNUTLS_NONBLOCK for TLS sessions. -EG
  6. Tue Jun 20 23:52:00 MSK 2017
  7. Libgcrypt is now optional and required only for old GnuTLS versions. -EG
  8. Wed Jun 14 21:42:00 MSK 2017
  9. Added support for debug assert() and new configure parameter
  10. --enable-asserts for debug builds.
  11. Removed non-functional Symbian support. -EG
  12. Mon Jun 05 23:34:00 MSK 2017
  13. More internal refactoring:
  14. merged MHD_tls_connection_handle_read/write() with non-TLS version,
  15. reduced and unified number of layers for network processing (before
  16. refactoring MHD_tls_connection_handle_read->MHD_connection_handle_read->
  17. do_read->recv_tls_adapter->GnuTLS->recv_param_adapter - 5 MHD layers;
  18. after refactoring MHD_connection_handle_read->recv_tls_adapter->GnuTLS -
  19. 2 MHD layers),
  20. simplified and removed dead code from
  21. MHD_connection_handle_read/write() without functional change. -EG
  22. Mon Jun 05 22:20:00 MSK 2017
  23. Internal refactoring:
  24. used TCP sockets directly with GnuTLS (performance improvement),
  25. moved some connection-related code from daemon.c to
  26. connection.c/connection_https.c,
  27. removed hacks around sendfile() and implemented correct support of
  28. sendfile(),
  29. removed do_read() and do_write() to reduce number of layer around send()
  30. and recv() and to improve readability and maintainability of code,
  31. implemented separate tracking of TLS layer state, independent of HTTP
  32. connection stage. -EG
  33. Sun Jun 04 15:02:00 MSK 2017
  34. Improved thread-safety of MHD_add_connection() and
  35. internal_add_connection(), minor optimisations. -EG
  36. Sun May 28 23:26:00 MSK 2017
  37. Releasing GNU libmicrohttpd 0.9.55. -EG
  38. Sun May 21 18:48:00 MSK 2017
  39. Fixed build with disabled "UPGRADE".
  40. Fixed possible null-dereference in HTTPS test.
  41. Fixed compiler warning in process_request_body(), minor optimizations.
  42. Do not allow suspend of "upgraded" connections.
  43. Fixed returned value for MHD_CONNECTION_INFO_CONNECTION_SUSPENDED.
  44. Fixed removal from timeout lists of non-existing connections in
  45. cleanup_connection().
  46. Fixed double locking of mutex. -EG
  47. Sun May 14 15:05:00 MSK 2017
  48. Fixed resuming connections and closing upgraded connections in select()
  49. mode with thread-per-connection. -EG
  50. Sun May 14 14:49:00 MSK 2017
  51. Removed extra call to resume connections in MHD_run().
  52. Handle resumed connection without delay in epoll mode.
  53. Update states of resumed connection after resume in thread-per-connection
  54. mode.
  55. Fixed resuming connections and closing upgraded connections in poll()
  56. mode with thread-per-connection. -EG
  57. Thu May 11 22:37:00 MSK 2017
  58. Faster start really processing data in resumed connections. -EG
  59. Thu May 11 14:24:00 MSK 2017
  60. Do not add any "Connection" headers for "upgrade" connections. -EG
  61. Wed May 10 23:09:00 MSK 2017
  62. Resume resuming connection before other processing in external polling
  63. mode. -EG
  64. Tue May 9 23:16:00 MSK 2017
  65. Fixed: Do not add "Connection: Keep-Alive" header for "upgrade"
  66. connections. -EG
  67. Tue May 9 21:01:00 MSK 2017
  68. Fixed: check all "Connection" headers of request for "Close" and "Upgrade"
  69. tokens instead of using only first "Connection" header with full string
  70. match. -EG
  71. Tue May 9 12:28:00 MSK 2017
  72. Revert: continue match footers in MHD_get_response_header() for backward
  73. compatibility. -EG
  74. Mon May 8 19:30:00 MSK 2017
  75. Fixed: use case-insensitive matching for header name in
  76. MHD_get_response_header(), match only headers (not footers). -EG
  77. Fri May 5 20:57:00 MSK 2017
  78. Fixed null dereference when connection has "Upgrade" request and
  79. connection is not upgraded. -JB/EG
  80. Better handle Keep-Alive/Close. -EG
  81. Tue May 2 18:37:53 CEST 2017
  82. Update manual. -CG
  83. Add MHD_CONNECTION_INFO_REQUEST_HEADER_SIZE.
  84. Releasing GNU libmicrohttpd 0.9.54. -CG
  85. Thu Apr 27 22:31:00 CEST 2017
  86. Replaced flags MHD_USE_PEDANTIC_CHECKS and MHD_USE_PERMISSIVE_CHECKS by
  87. single option MHD_OPTION_STRICT_FOR_CLIENT. Flag MHD_USE_PEDANTIC_CHECKS
  88. is still supported. -EG
  89. Tue Apr 26 15:11:00 CEST 2017
  90. Fixed shift in HTTP reasons strings.
  91. Added test for HTTP reasons strings. -EG
  92. Tue Apr 25 19:11:00 CEST 2017
  93. Allow flag MHD_USE_POLL with MHD_USE_THREAD_PER_CONNECTION and without
  94. flag MHD_USE_INTERNAL_POLLING_THREAD for backward compatibility. -EG
  95. Mon Apr 24 17:29:45 CEST 2017
  96. Enforce RFC 7230's rule on no whitespace by default,
  97. introduce new MHD_USE_PERMISSIVE_CHECKS to disable. -CG
  98. Sun Apr 23 20:05:44 CEST 2017
  99. Enforce RFC 7230's rule on no whitespace in HTTP header
  100. field names if MHD_USE_PEDANTIC_CHECKS is set. -CG
  101. Sun Apr 23 19:20:33 CEST 2017
  102. Replace remaining occurences of sprintf() with
  103. MHD_snprintf_(). Thanks to Ram for pointing this out. -CG
  104. Sat Apr 22 20:39:00 MSK 2017
  105. Fixed builds in Linux without epoll.
  106. Check for invalid --with-thread= configure parameters.
  107. Fixed support for old libgcrypt on W32 with W32 threads. -EG
  108. Tue Apr 11 22:17:00 MSK 2017
  109. Releasing GNU libmicrohttpd 0.9.53. -EG
  110. Mon Apr 10 19:50:20 MSK 2017
  111. HTTPS tests: skip tests instead of failing if HTTPS is not supported by
  112. libcurl.
  113. HTTPS tests: fixed return values so testsuite is able to correctly
  114. interpret it.
  115. Fixed ignored result of epoll test in test_https_get_select. -EG
  116. Thu Apr 06 23:02:07 MSK 2017
  117. Make zzuf tests compatible with *BSD platforms. -EG
  118. Thu Apr 06 22:14:22 MSK 2017
  119. Added warning for hypothetical extra large timeout.
  120. Fixed incorrect timeout calculation under extra rare conditions.
  121. Fixed accidental usage of IPv6 in testsuite in specific conditions. -EG
  122. Wed Apr 05 14:14:22 MSK 2017
  123. Updated autoinit_funcs.h to latest upstream version with proper support of
  124. Oracle/Sun compiler. -EG
  125. Wed Apr 05 12:53:26 MSK 2017
  126. Fixed some compiler warnings.
  127. Fixed error snprintf() errors detection in digestauth.c.
  128. Converted many run-time 'strlen()' to compile-time calculations. -EG
  129. Sun Mar 26 13:49:01 MSK 2017
  130. Internal refactoring for simplification and unification.
  131. Minor optimizations and minor fixes.
  132. MHD_USE_ITC used again in thread pool mode. -EG
  133. Sat Mar 25 20:58:24 CET 2017
  134. Remove dead MHD_strx_to_sizet-functions and associated
  135. test cases from code. -CG
  136. Sat Mar 25 20:40:10 CET 2017
  137. Allow chunk size > 16 MB (up to 2^64-1). Ignore
  138. chunk extensions instead of triggering an error.
  139. (fixes #4967). -CG
  140. Tue Mar 25 20:59:18 MSK 2017
  141. Check for invalid combinations of flags and options in
  142. MHD_start_daemon(). -EG
  143. Tue Mar 21 13:51:04 CET 2017
  144. Use "-lrt" to link libmicrohttpd if we are using
  145. clock_gettime() as needed by glibc < 2.17. -CG
  146. Tue Mar 21 13:42:07 CET 2017
  147. Allow chaining of suspend-resume calls withuot
  148. the application processing data from the network. -CG
  149. Mon Mar 20 0:51:24 MSK 2017
  150. Added autoconf module for detection whatever shutdown of listening socket
  151. trigger select. This is only reliable method to use such feature as some
  152. platforms change behaviour from version to version. -EG
  153. Sun Mar 19 13:57:30 MSK 2017
  154. Rewritten logic of handling "upgraded" TLS connections in epoll mode:
  155. used edge trigger instead of level trigger,
  156. upgraded "ready" connection are stored in DL-list,
  157. fixed handling of more than 128 ready connections,
  158. fixed busy-waiting for idle "upgraded" TLS connections. -EG
  159. Fri Mar 17 10:45:31 MSK 2017
  160. If read buffer is full, MHD need to receive remote data and application
  161. suspended connection, do not fail while connection is suspended and give
  162. application one more chance to read data from buffer once connection is
  163. resumed. -EG
  164. Thu Mar 16 23:45:29 MSK 2017
  165. Allow again to run MHD in external epoll mode by
  166. MHD_run_from_select() - this allow unification of user code
  167. and produce no harm for performance. Especially useful with
  168. MHD_USE_AUTO flag. -EG
  169. Thu Mar 16 23:12:07 MSK 2017
  170. Idle connection should be disconnected *after* "timeout" number of
  171. second, not *before* this number. -EG/VT
  172. Thu Mar 16 22:31:54 MSK 2017
  173. Unified update of last activity on connections.
  174. Update last activity only if something is really transmitted.
  175. Update last activity each time when something is transmitted.
  176. Removed early duplicated check for timeout on HTTPS connections.
  177. Removed update of last active time for connections without timeout.
  178. Fixed reset of timeout timer on resumed connections.
  179. Fixed never-expired timeouts on HTTPS connections.
  180. Fixed thread-safety of MHD_set_connection_option(). -EG
  181. Thu Mar 16 21:05:08 MSK 2017
  182. Fixed minor bug resulted in slight slowdown of HTTPS connection
  183. handshake. -EG
  184. Thu Mar 16 20:35:59 MSK 2017
  185. Improved thread-safety for DL-lists. -EG
  186. Thu Mar 16 17:55:01 MSK 2017
  187. Fixed thread-safety of MHD_get_daemon_info() for
  188. MHD_DAEMON_INFO_CURRENT_CONNECTIONS. -EG
  189. Thu Mar 16 16:49:07 MSK 2017
  190. Added ability to get actual daemon flags via MHD_get_daemon_info().
  191. Fixed test_upgrade to work in request mode.
  192. Fixed compiler warnings in test_upgrade. -EG
  193. Wed Mar 15 23:29:59 MSK 2017
  194. Prevented socket read/write if connection is suspended.
  195. Added missing resets of 'connection->in_idle'.
  196. Reworked handling of suspended connection: ensure that
  197. connection is not disconnected by timeout, always
  198. updated read/write states right after suspending. -EG
  199. Wed Mar 15 21:02:26 MSK 2017
  200. Added new enum value MHD_CONNECTION_INFO_CONNECTION_TIMEOUT
  201. to get connection timeout by MHD_get_connection_info(). -EG
  202. Sat Mar 11 12:03:45 CET 2017
  203. Fix largepost example from tutorial to properly generate
  204. error pages. -CG
  205. Fix largepost example, must only queue replies either before upload
  206. happens or after upload is done, not while upload is ongoing
  207. Fri Mar 10 16:37:12 CET 2017
  208. Fix hypothetical integer overflow for very, very large
  209. timeout values. -CG
  210. Fri Mar 10 16:22:54 CET 2017
  211. Handle case that we do not listen at all more gracefully
  212. in MHD_start_daemon() and not pass '-1' to helper functions
  213. that expect a valid socket. -CG
  214. Tue Mar 7 12:11:44 BRT 2017
  215. Updates file `.gitignore`.
  216. Tue Mar 7 10:37:45 BRT 2017
  217. Updated the MHD_OPTION_URI_LOG_CALLBACK's documentation.
  218. Mon Mar 6 21:46:59 BRT 2017
  219. Added the i18n example fixing #4924. -SC
  220. Wed Mar 1 23:47:05 CET 2017
  221. Minor internal optimisations.
  222. Changed closure connection monitoring logic: now all connections are
  223. monitored for OOB data (which treated as error), connections are not
  224. monitored any more for incoming data if incoming data is not required for
  225. processing. except_fd_set is not optional now for MHD_get_fdset(),
  226. MHD_get_fdset2() and MHD_run_from_select().
  227. Improved connection processing in epoll mode: now connection can process
  228. both read and write each turn.
  229. Updated HTTP response codes; updated and added all missing standard HTTP
  230. headers names (and headers categories); updated and added all missing
  231. standard and additional HTTP methods. Now MHD return status
  232. MHD_HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE (431) instead of old
  233. MHD_HTTP_REQUEST_ENTITY_TOO_LARGE (413) for very long header.
  234. Reworked handling of data pending in TLS buffers, resolved busy-waiting
  235. if incoming data is pending in TLS buffers and connection is in
  236. LOOP_INFO_WRITE mode.
  237. Do not clear 'ready' flag in epoll mode if send()/recv() result is
  238. EINTERRUPTED.
  239. Better detection of unready connection state: used less number of calls of
  240. recv()/send() in epoll mode.
  241. Configure: do not run gcrypt and GnuTLS tests if HTTPS is disabled by
  242. configure parameter.
  243. Fixed wrong value returned by MHD_get_timeout().
  244. All double-linked lists now walked from tail to head. As new items are
  245. added to head, this result in more uniform processing time.
  246. Improved sockets errors handling in epoll mode.
  247. OOB data on 'upgraded' sockets is treated as error. -EG
  248. Thu Feb 16 11:20:05 CET 2017
  249. Replace tsearch configure check with code from gnulib. -CG
  250. Wed Feb 15 13:35:36 CET 2017
  251. Fixing a few very rare race conditions for thread-pool or
  252. thread-per-connection operations during shutdown.
  253. Various minor cosmetic improvements.
  254. Fixed #4884 and #4888 (solaris portability issues). -CG
  255. Wed Feb 08 22:33:10 MSK 2016
  256. Ported test_quiesce_stream to W32.
  257. Improved precompiler flags selection of OpenBSD.
  258. Fixed sending responses backed by files not supported by sendfile().
  259. Fixed thread safety for responses backed by file FD.
  260. Updated fileserver_example.
  261. Improved handling of 'upgraded' TLS forwarding in select() and poll()
  262. modes.
  263. Fixed processing of incoming TLS data in epoll mode if more than 128
  264. connections are active.
  265. Fixed accepting more than 128 incoming connection in epoll mode.
  266. Improved test_large_put, added poll() and epoll testing.
  267. Added test_large_put_inc for testing of incremental buffer processing.
  268. Rewritten epoll connection processing logic: handle all connection one
  269. time per turn instead of trying to handle all active connection until all
  270. pending data is dried. Result is more uniform connection processing
  271. period. -EG
  272. Wed Nov 23 15:24:10 MSK 2016
  273. Used SO_REUSEADDR (on non-W32) alongside with SO_REUSEPORT if option
  274. MHD_OPTION_LISTENING_ADDRESS_REUSE was set. -EG
  275. Wed Nov 23 12:48:23 MSK 2016
  276. Move all gettext-related staff to 'po' subdirectory.
  277. Excluded gettext files generation from normal build.
  278. Removed generated files from GIT. -EG
  279. Tue Nov 15 19:08:43 MSK 2016
  280. Fixed forwarding "upgraded" TLS connections for
  281. chunks sizes larger than buffer size. -EG
  282. Mon Nov 14 22:18:30 MSK 2016
  283. Fixed unintentional usage of SO_REUSEADDR on W32.
  284. Added support for SO_EXCLBIND on Solaris.
  285. Fixed using MHD with MHD_OPTION_LISTENING_ADDRESS_REUSE
  286. on Linux kernels before 3.9 (longterm 3.2 and 3.4
  287. are still supported). -EG
  288. Sun Nov 13 19:16:38 CET 2016
  289. Fixed a few race issues on suspend-resume in cases where the
  290. application uses threads even though MHD did not (or at least
  291. had no internal need for locking). Also fixed DLL handling of
  292. the timeout list, avoiding manipulating it for suspended
  293. connections. Finally, eliminated calling application logic
  294. on suspended connections (which before could happen under
  295. certain circumstances). -CG
  296. Thu Nov 11 20:49:23 MSK 2016
  297. Added support for various forms of
  298. pthread_attr_setname_np() so thread names will be set
  299. more efficiently on certain platforms (Solaris, NetBSD etc.) -EG
  300. Thu Nov 10 21:50:35 MSK 2016
  301. Added rejection in MHD_start_daemon() of invalid combinations
  302. of daemon flags.
  303. Added MHD_USE_AUTO and MHD_USE_AUTO_INTERNAL_THREAD for
  304. automatic selection of polling function depending on
  305. platform capabilities and requested mode. -EG
  306. Thu Nov 10 17:49:56 MSK 2016
  307. Ported "upgrade" tests to W32 and other platforms, used
  308. "gnutls-cli" instead of "openssl" in tests, minor bugs
  309. fixed, added verbose reporting if requested.
  310. "Upgrade" processing - changed internal handling logic, improved
  311. and refactored, bugs fixed, fixed sigpipe on Darwin, added
  312. printing error to log, fixed compilation without HTTPS.
  313. Added 'configure' parameter "--disable-httpupgrade" for building
  314. minimal-sized MHD versions.
  315. Added feature check "MHD_FEATURE_UPGRADE".
  316. Responses destroyed (freed) earlier if possible.
  317. Added many remarks in code comments about thread safety.
  318. Some data races and other multithread-related issues are fixed,
  319. including usage of closed sockets (may resulted in accidental closing
  320. of wrong socket).
  321. SO_NOSIGPIPE is used on all platform which support it, not only
  322. on Darwin.
  323. Added support for suspending connections in thread-per-connection
  324. mode (itself almost useless, mostly to unify modes support).
  325. Fixed Inter-Thread Communication channel usage in epoll modes.
  326. Reworked daemon cleanups and handling MHD_stop_daemon(): resources
  327. are freed only by specific threads, data races and other fixes.
  328. Started usage of C99 standard 'bool' where supported with
  329. fallback to 'int'.
  330. Renamed many MHD flags. Now they are self-explainable and more
  331. obvious, like MHD_USE_INTERNAL_POLLING_THREAD instead of
  332. MHD_USE_SELECT_INTERNALLY. Old flag names are supported for
  333. backward compatibility.
  334. Improved processing of "fast" connections: now full sequence
  335. "read request - send reply headers - send reply body" is processed
  336. after single select()/poll(). If connection is slow, request is huge
  337. or response in not immediately ready - connection will be processed
  338. in "traditional" way.
  339. Added usage of "calloc()" where supported.
  340. Minor documentation fixes.
  341. Minor improvements and fixes. -EG
  342. "Upgrade" test fixes.
  343. Documentation updated.
  344. Added HTTP "Upgrade" example. -CG
  345. Mon Oct 17 19:08:18 CEST 2016
  346. Fixed misc. issues relating to upgrade.
  347. Releasing experimental 0.9.52. -CG
  348. Wed Oct 12 14:26:20 CEST 2016
  349. Migrated repository from Subversion to Git. -CG
  350. Tue Oct 11 18:09:56 CEST 2016
  351. Deprecated MHD_USE_SSL, use MHD_USE_TLS instead. -CG
  352. Tue Oct 11 18:14:40 MSK 2016
  353. Code internal refactoring: 'pipes' renamed to 'inter-thread
  354. communication (channels)/ITCs', as code can use different types
  355. of communications.
  356. Optimizations: ITCs now always created in non-blocking mode.
  357. Added configure parameter to choose ITC type.
  358. Updated documentation and comments.
  359. Minor errors fixed (related to heavy load). -EG
  360. Thu Sep 22 17:51:04 CEST 2016
  361. Implementing support for eventfd() instead of pipe() for
  362. signaling (on platforms that support it); fixing #3557. -CG
  363. Thu Sep 22 11:03:43 CEST 2016
  364. Simplify internal error handling logic by folding it into the
  365. MHD_socket_close_, MHD_mutex_lock_, MHD_mutex_unlock_ and
  366. MHD_mutex_destroy_ functions. -CG
  367. Tue Sep 13 22:20:26 MSK 2016
  368. Added autoconf macro to enable maximum platform
  369. features. Fixed compiling on Solaris. -EG
  370. Wed Sep 7 12:57:57 CEST 2016
  371. Fixing #4641. -Hawk
  372. Wed Sep 7 00:28:59 CEST 2016
  373. Adding remaining "_"-markups for i18n (#4614). -CG
  374. Tue Sep 6 23:39:56 CEST 2016
  375. Allow out-of-order nonces for digest authentication (#4636). -CG
  376. Tue Sep 6 21:29:09 CEST 2016
  377. Martin was right, "socket_context" should be "void *"
  378. in `union MHD_ConnectionInfo`. -MS
  379. Sun Sep 4 18:16:32 CEST 2016
  380. Fixing potential memory leak (#4634). -CG
  381. Sun Sep 4 17:25:45 CEST 2016
  382. Tests for "Upgrade" logic are now in place and passing.
  383. However, still need to make sure code is portable. -CG
  384. Sat Sep 3 11:56:20 CEST 2016
  385. Adding logic for handling HTTP "Upgrade" in thread-per-connection
  386. mode. Also still untested. -CG
  387. Sat Aug 27 21:01:43 CEST 2016
  388. Adding a few extra safety checks around HTTP "Upgrade"
  389. (against wrong uses of API), and a testcase. -CG
  390. Sat Aug 27 20:07:53 CEST 2016
  391. Adding completely *untested* logic for HTTP "Upgrade"
  392. handling. -CG
  393. Sat Aug 27 18:20:38 CEST 2016
  394. Releasing libmicrohttpd 0.9.51. -CG
  395. Tue Aug 23 22:54:07 MSK 2016
  396. Internal refactoring: W32 compatibility layer was finally
  397. replaced with several specialized abstraction layers for
  398. sockets, control pipes (inter-thread communication) and
  399. generic functions. Now all major platform functions
  400. (including threads and mutex) are implemented in thin
  401. abstraction layers.
  402. Improved performance on W32 due to eliminating
  403. translation of error to POSIX codes and using W32 codes
  404. directly (through macros).
  405. Improved error reporting on all platforms.
  406. Improved error handling and reporting on Darwin.
  407. Minor fixes. -EG
  408. Tue Aug 16 15:14:30 MSK 2016
  409. Minor improvement for monotonic clock.
  410. Minor configure fix for non-bash shells. -EG
  411. Mon Aug 15 13:06:52 CEST 2016
  412. Fixed possible crash due to write to read-only region of
  413. memory given ill-formed HTTP request (write was otherwise
  414. harmless, writing 0 to where there was already a 0).
  415. Fixed issue with closed connection slots not immediately
  416. being available again for new connections if we reached
  417. our connection limit.
  418. Avoid even accept()ing connections in certain thread modes
  419. if we are at the connection limit and
  420. MHD_USE_PIPE_FOR_SHUTDOWN is available. -CG
  421. Wed Aug 10 16:42:57 MSK 2016
  422. Moved threads, locks and mutex abstraction to separate files,
  423. some minor errors fixed, added support for thread name functions
  424. on various platforms, added configure flag for disable thread
  425. naming. -EG
  426. Sat Jul 23 20:45:51 CEST 2016
  427. Added macro detection of speed/size compiler optimization.
  428. Added different implementation of functions in mhd_str.c for
  429. size optimization. Enabled automatically if compiler size
  430. optimization is detected or MHD_FAVOR_SMALL_CODE is defined.
  431. Added unit tests for all mhd_str.c functions. -EG
  432. Sat Jul 16 21:54:49 CEST 2016
  433. Warn user if they sent connection into blocking
  434. state by not processing all POST data, not suspending,
  435. and not running in external select mode. -CG
  436. Fri Jul 8 21:35:07 CEST 2016
  437. Fix FIXME in tutorial. -CG
  438. Fri Jul 8 15:57:06 CEST 2016
  439. Adding support for 308 status code. -CG
  440. Sat Jun 25 13:49:31 CEST 2016
  441. Use shutdown to trigger select on NetBSD. -EG
  442. Thu Jun 2 09:55:50 CEST 2016
  443. Releasing libmicrohttpd 0.9.50. -CG
  444. Wed Jun 1 21:59:34 CEST 2016
  445. Do not send "Content-Length" header for 1xx/204/304 status codes. -CG
  446. Tue May 17 13:32:21 CEST 2016
  447. Allow clients to determine whether a connection is suspended;
  448. introduces MHD_CONNECTION_INFO_CONNECTION_SUSPENDED. -CG/FC
  449. Sun May 15 12:17:25 CEST 2016
  450. Fix handling system or process resource limit exhaustion upon
  451. accept(). -CG/CP
  452. Thu May 12 08:42:19 CEST 2016
  453. Fix handling of partial writes in MHD_USE_EPOLL_LINUX_ONLY; only
  454. consider sockets returning EAGAIN as unready. -CG/CP
  455. Mon May 2 06:08:26 CEST 2016
  456. Adding logic to help address FE performance issue as
  457. discussed on the mailinglist with subject
  458. "single-threaded daemon, multiple pending requests, responses batched".
  459. The new logic is only enabled when MHD_USE_EPOLL_TURBO is set.
  460. Note that some additional refactoring was also done to clean up
  461. the code and avoid code duplication, which may have actually fixed
  462. an unrelated issue with HTTPS and a POLL-style event loop. -CG
  463. Sat Apr 30 10:22:37 CEST 2016
  464. Added clarifications to manual based on questions on list. -CG
  465. Sat Apr 23 20:12:01 CET 2016
  466. Tests perf_get_concurrent and test_concurrent_stop ported to use
  467. pthread instead of fork(). Added more error detections. -EG
  468. Sat Apr 23 16:06:30 CET 2016
  469. Improved test_quiesce test. -EG
  470. Sat Apr 23 15:39:38 CET 2016
  471. Notify other threads in MHD_quiesce_daemon() so listen socket FD
  472. is removed from awaiting select() and poll(). -EG
  473. Sat Apr 23 14:17:15 CET 2016
  474. Revert "shutdown trigger select" on Darwin. Fixed daemon shutdown
  475. on Darwin without "MHD_USE_PIPE_FOR_SHUTDOWN" option. -EG
  476. Fri Apr 22 14:29:28 CET 2016
  477. Fixed race conditions when stopping quiesced daemon with thread
  478. pool. -EG
  479. Wed Apr 20 18:12:30 CET 2016
  480. Fixed macros in sysfdsetsize.c which could prevent compiling with
  481. non-default FD_SETSIZE.
  482. Fixed comments in mhd_str.c.
  483. Updated test_post.c to not ignore specific error on W32 if libcurl
  484. is built with workaround for WinSock bug. -EG
  485. Mon Apr 18 19:35:14 CET 2016
  486. Fixed data races leading to inability in rare situations to
  487. resume suspended connection. -EG
  488. Tue Apr 13 21:46:01 CET 2016
  489. Removed unneeded locking for global timeout list in
  490. MHD_USE_THREAD_PER_CONNECTION mode.
  491. Added 'simplepost' and 'largepost' examples to VS projects.
  492. Added strtoXX() locale-independent replacement functions.
  493. Added more error checking and minor fixes in digest auth
  494. functions - should improve security.
  495. Ignored specific errors in 'test_post' test until libcurl
  496. will implement workaround for WinSock bug.
  497. Fixed handling of caller-supplied socket with
  498. MHD_OPTION_LISTEN_SOCKET (regression in 0.9.49).
  499. Minor fixes.
  500. Various cosmetics and comments fixes. -EG
  501. Sat Apr 09 13:05:42 CET 2016
  502. Releasing libmicrohttpd 0.9.49. -EG
  503. Fri Apr 08 18:32:17 CET 2016
  504. Some minor internal fixes, addition error checking and
  505. micro optimizations.
  506. Reworked usage of sockets shutdown() - now work equally
  507. on all platforms, disconnection should be "more graceful". -EG
  508. Tue Mar 15 21:52:27 CET 2016
  509. Do not crash if pthread_create() fails. -DD
  510. Tue Mar 15 20:29:34 CET 2016
  511. Do not use eready DLL data structure unless
  512. we are actually using epoll(). -DD/CG
  513. Fri Feb 5 20:43:11 CET 2016
  514. Fixed testsuite compile warning on W32.
  515. Added check test for triggering poll() on
  516. listen socket. -EG
  517. Thu Feb 4 11:38:11 CET 2016
  518. Added some buffer overrun protection.
  519. Fixed handling of misformed URI with spaces. -EG
  520. Wed Feb 3 15:41:57 CET 2016
  521. Make signal-pipe non-blocking and drain it. -CG
  522. Sat Jan 30 15:49:07 CET 2016
  523. Fix running select() with empty fdsets on W32. -EG
  524. Mon Jan 25 13:45:50 CET 2016
  525. Added check test for triggering select() on
  526. listen socket. -EG
  527. Thu Jan 21 19:35:18 CET 2016
  528. Fixed old bug with making sockets non-blocking on
  529. various platforms so now sockets are really
  530. non-blocking on all supported platforms.
  531. Reworked and fixed code for using SOCK_CLOEXEC,
  532. SOCK_NONBLOCK and EPOLL_CLOEXEC resulting in
  533. fewer used system calls. -EG
  534. Tue Jan 19 20:59:59 CET 2016
  535. Cleaned up and optimized with minor fixes code for
  536. making sockets non-blocking non-inheritable. -EG
  537. Tue Jan 19 11:14:18 CET 2016
  538. Removed workaround for Cygwin non-blocking sockets:
  539. handling non-blocking sockets were fixed in Cygwin
  540. and libmicrohttpd how uses non-blocking sockets on
  541. all platforms. -EG
  542. Mon Jan 18 23:54:45 CET 2016
  543. Cleaned up examples to avoid giving oversimplified code
  544. that may lead to complications if adopted naively. -CG
  545. Sun Jan 17 11:18:55 CET 2016
  546. Do no refuse to send response if sendfile() failed with
  547. EINVAL (common error for files located on SMB/CIF). -EG
  548. Sat Jan 16 19:14:39 CET 2016
  549. Use US-ASCII only (instead of user locale settings) when
  550. performing caseless string comparison as required by
  551. standard. -EG
  552. Tue Jan 12 16:10:09 CET 2016
  553. Fixed declaraion of MHD_get_reason_phrase_for(). -EG
  554. Mon Jan 11 19:58:50 CET 2016
  555. Configure.ac small fixes and refactoring. -EG
  556. Fri Dec 18 15:54:50 CET 2015
  557. Releasing libmicrohttpd 0.9.48. -CG
  558. Tue Dec 15 18:35:55 CET 2015
  559. Improved compatibility with VS2010 and other older
  560. compilers. -EG
  561. Tue Dec 8 21:48:44 CET 2015
  562. Default backlog size for listen socket was changed from
  563. 32 to SOMAXCONN, added new option MHD_OPTION_LISTEN_BACKLOG_SIZE
  564. to override default backlog size.
  565. If not all connections can be handled by MHD_select() than
  566. at least some of connections will be processed instead of
  567. failing without any processing.
  568. Fixed redefenition of FD_SETSIZE on W32 so select() will
  569. work with 2000 connections instead of 64.
  570. Better handled redefenition of FD_SETSIZE on all
  571. platforms. -EG
  572. Sat Dec 5 17:30:45 CET 2015
  573. Close sockets more aggressively in multi-threaded
  574. mode (possibly relevant for idle servers). -CG
  575. Fri Dec 4 13:53:05 CET 2015
  576. Releasing libmicrohttpd 0.9.47. -CG
  577. Thu Dec 3 18:21:44 CET 2015
  578. Reworked VS project files. Used x64 build tools by
  579. default, many optimizations, fixes.
  580. Added project files for VS 2015. -EG
  581. Tue Dec 1 14:05:13 CET 2015
  582. SPDY is dead, killing experimental libmicrospdy. -CG
  583. Tue Dec 1 10:01:12 CET 2015
  584. New logic for controlling socket buffer modes.
  585. Eliminated delay before last packet in response and before
  586. "100 Continue" response on all platforms. Also response
  587. header are pushed to client without waiting for response
  588. body. -EG
  589. Wed Nov 25 17:02:53 CET 2015
  590. Remove 200ms delay observable with keep-alive on Darwin
  591. and *BSD platfroms. -EG
  592. Tue Nov 10 15:25:48 CET 2015
  593. Fix issue with shutdown if connection was resumed just
  594. before shutdown. -FC
  595. Fri Nov 6 22:54:38 CET 2015
  596. Fixing the buffer shrinkage issue, this time with test. -CG
  597. Releasing libmicrohttpd 0.9.46. -CG
  598. Tue Nov 3 23:24:52 CET 2015
  599. Undoing change from Sun Oct 25 15:29:23 CET 2015
  600. as the original code was counter-intuitive but
  601. correct, and the new code does break pipelining.
  602. Ignore empty lines at the beginning of an HTTP
  603. request (more tolerant implementation). -CG
  604. Sat Oct 31 15:52:52 CET 2015
  605. Releasing libmicrohttpd 0.9.45. -CG
  606. Tue Oct 27 12:08:02 CET 2015
  607. Rework deprecation maros: fix errors with old GCC versions,
  608. improved support for old clang and new GCC. -EG
  609. Sun Oct 25 23:05:32 CET 2015
  610. Return correct header kind in MHD_get_connection_values()
  611. even if a bitmask is used for the "kind" argument. -FC/CG
  612. Sun Oct 25 15:29:23 CET 2015
  613. Fixing transient resource leak affecting long-lived
  614. connections with many keep-alives and HTTP request
  615. pipelining under certain circumstances (which reduced
  616. the receive window).
  617. Fixed assertion failure triggered by a race in
  618. thread-per-connection mode on shutdown in rare
  619. circumstances. -CG
  620. Mon Oct 5 11:53:52 CEST 2015
  621. Deduplicate code between digestauth and connection
  622. parsing logic for URI arguments, shared code moved
  623. to new MHD_parse_arguments_ function in internal.c. -CG
  624. Thu Oct 1 21:22:05 CEST 2015
  625. Releasing libmicrohttpd 0.9.44. -CG
  626. Wed Sep 30 21:05:38 CEST 2015
  627. Various fixes for W32 VS project files. -EG
  628. Fri Sep 25 09:49:10 CEST 2015
  629. Fix digest authentication with URL arguments where
  630. value-less keys are given before the last argument.
  631. Thanks to MA for reporting. -CG
  632. Tue Sep 22 19:17:54 CEST 2015
  633. Do not use shutdown() on listen socket if MHD_USE_PIPE_FOR_SHUTDOWN
  634. is set. -CG
  635. Wed Sep 16 11:06:02 CEST 2015
  636. Releasing libmicrohttpd 0.9.43. -CG
  637. Wed Sep 2 16:50:31 CEST 2015
  638. Call resume_suspended_connections() when the user is running
  639. its own mainloop and calls MHD_run_from_select() to support
  640. resuming connections with external select. -FC
  641. Sun Aug 30 14:53:51 CEST 2015
  642. Correct documentation as to when MHD_USE_EPOLL_LINUX_ONLY
  643. is allowed. -CG
  644. Thu Aug 27 09:38:44 CEST 2015
  645. Reimplement monotonic clock functions for better
  646. support various platforms.
  647. Print more information during configure. -EG
  648. Fri Aug 14 14:13:55 CEST 2015
  649. Export MHD_get_reason_phrase_for() symbol. -CG
  650. Sat Aug 8 12:19:47 CEST 2015
  651. Added checks for overflows and buffer overruns, fixed
  652. possible buffer overrun.
  653. Updated md5 implementation.
  654. Fixed many compiler warning (mostly for VC compiler). -EG
  655. Tue Aug 4 13:50:23 CEST 2015
  656. Fix failure to properly clean up timed out connections
  657. if running in external select mode without listen socket,
  658. which caused busy waiting until new connections arrived.
  659. (Fixes #3924, thanks to slimp for reporting and testcase). -CG
  660. Sun Aug 2 19:08:20 CEST 2015
  661. Ignore close() errors on sockets except for EBADF,
  662. fixes #3926. -CG
  663. Sat Jun 27 22:16:27 CEST 2015
  664. Make sure to decrement connection counter before
  665. calling connection notifier so that
  666. MHD_DAEMON_INFO_CURRENT_CONNECTIONS does not
  667. present stale information (relevant if this is
  668. used for termination detection of a daemon
  669. stopped via MHD_quiesce_daemon()). Thanks to
  670. Markus Doppelbauer for reporting. -CG
  671. Fri Jun 26 23:17:20 CEST 2015
  672. Fix (automatic) handling of HEAD requests with
  673. MHD_create_response_from_callback() and HTTP/1.1
  674. connection keep-alives. Thanks to Cristian Klein
  675. for reporting. -CG
  676. Tue Jun 09 18:30:17 CEST 2015
  677. Add new functions MHD_create_response_from_fd64() and
  678. MHD_create_response_from_fd_at_offset64(). -EG
  679. Thu Jun 4 13:37:05 CEST 2015
  680. Fixing memory leak in digest authentication. -AW
  681. Wed Jun 03 21:23:47 CEST 2015
  682. Add deprecation compiler messages for deprecated functions
  683. and macros. -EG
  684. Fri May 29 12:23:01 CEST 2015
  685. Fixing digest authentication when used in combination
  686. with escaped characters in URLs. -CG/AW
  687. Wed May 13 11:49:09 CEST 2015
  688. Releasing libmicrohttpd 0.9.42. -CG
  689. Wed May 13 11:33:59 CEST 2015
  690. Fix off-by-one in MHD_start_daemon_va() error handling logic
  691. when initialization of threads for thread pool fails for some
  692. reason. -CG/JC
  693. Thu May 7 17:05:46 CEST 2015
  694. Add support for poll() in W32. -EG
  695. Wed May 6 18:07:38 CEST 2015
  696. Fix #3784: actually implement MHD_CONNECTION_INFO_SOCKET_CONTEXT. -asherkin
  697. Thu Apr 30 00:03::49 CEST 2015
  698. Releasing libmicrohttpd 0.9.41. -CG
  699. Thu Apr 30 00:02:33 CEST 2015
  700. Fix issue where resumed connections would not continue
  701. unless other requests are active in certain
  702. event-loop modes. Thanks to Mike Castillo for reporting. -CG
  703. Wed Apr 15 03:16:18 CEST 2015
  704. Fixing issue #3753 (testcase issue). -CG
  705. Wed Apr 15 00:30:34 CEST 2015
  706. Fix looping issue when using MHD_USE_POLL_INTERNALLY
  707. and a client times out. -LB
  708. Sun Apr 12 21:48:50 CEST 2015
  709. Fix looping issue when combining MHD_USE_EPOLL_LINUX_ONLY
  710. with HTTPS and slow clients. -CG
  711. Fri Apr 10 22:02:27 CEST 2015
  712. Fix logic to add "Connection: Close" that was broken in 0.9.38
  713. when adding MHD_RF_HTTP_VERSION_1_0_ONLY. -CG
  714. Fri Apr 10 00:38:40 CEST 2015
  715. Ensure fast termination in MHD_USE_THREAD_PER_CONNECTION
  716. mode on W32 by using signal pipe. -CG
  717. Thu Apr 9 09:01:15 CEST 2015
  718. Fixing issue with undrained signal pipe when using
  719. MHD_USE_SELECT_INTERNALLY and MHD_USE_POLL in combination
  720. with MHD_resume_connection(), causing 100% CPU usage. -DD
  721. Tue Apr 7 00:12:36 CEST 2015
  722. Releasing libmicrohttpd 0.9.40. -CG
  723. Sat Apr 4 18:28:24 CEST 2015
  724. Fix potential deadlock issue in MHD_USE_THREAD_PER_CONNECTION
  725. mode if shutdown is initiated while connections are active. -CG
  726. Sat Apr 4 17:48:13 CEST 2015
  727. Fix issue in thread-pool mode where a MHD_stop_daemon()
  728. might not reach threads that stopped listening because
  729. we hit the maximum number of concurrent connections and
  730. the option MHD_USE_PIPE_FOR_SHUTDOWN was also not used.
  731. Testcase added as well. -CG
  732. Fri Apr 3 12:55:31 CEST 2015
  733. Update HTTPS testcases to avoid SSLv3, as SSLv3 is dead.
  734. Fri Apr 3 12:25:28 CEST 2015
  735. Do not enforce FD_SETSIZE-limit on worker control
  736. pipe when using MHD_USE_EPOLL_LINUX_ONLY (#3751). -MH/CG
  737. Tue Mar 31 10:28:26 CEST 2015
  738. Adding MHD_OPTION_NOTIFY_CONNECTION,
  739. MHD_CONNECTION_NOTIFY_STARTED,
  740. MHD_CONNECTION_NOTIFY_CLOSED and
  741. MHD_CONNECTION_INFO_SOCKET_CONTEXT to allow
  742. applications to trigger operations when TCP
  743. connections start or end, instead of just
  744. exposing HTTP requests starting and ending. -RG/CG
  745. Thu Feb 26 09:55:43 CET 2015
  746. Fixing bug that prevented MHD_OPTION_HTTPS_MEM_DHPARAMS
  747. from working within a MHD_OPTION_ARRAY. -DD
  748. Sun Feb 8 01:24:38 CET 2015
  749. Adding MHD_OPTION_HTTPS_KEY_PASSWORD as proposed by
  750. Andrew Basile. -CG/AB
  751. Wed Feb 4 20:34:22 CET 2015
  752. Fix issue where for HTTP/1.0-clients that set
  753. Connection: Keep-Alive header a response of
  754. indefinite size was generated with chunked encoding. -CG
  755. Sun Jan 18 20:09:06 CET 2015
  756. Fix potential infinite loop on shutdown in multi-threaded mode
  757. under certain conditions. -CG
  758. Mon Dec 22 16:33:18 CET 2014
  759. Releasing 0.9.39. -CG
  760. Mon Dec 22 13:02:36 CET 2014
  761. Fix generated compiler flags for Solaris Studio linker (#3584). -CG
  762. Sat Dec 20 00:35:40 CET 2014
  763. Adding MHD_http_unescape() to public API (#3585). -CG
  764. Updating documentation to document
  765. MHD_is_feature_supported(). -CG
  766. Thu Dec 4 00:43:10 CET 2014
  767. If "Connection: upgrade" is requested, do not add
  768. "Connection: Keep-Alive" in the response. -GJ
  769. Tue Nov 18 13:52:29 CET 2014
  770. Call MHD_cleanup_connections() during MHD_DAEMON_INFO_CURRENT_CONNECTIONS
  771. processing for more accurate results. -MS
  772. Wed Oct 29 20:45:21 CET 2014
  773. Adding MHD_OPTION_LISTENING_ADDRESS_REUSE option allowing clients
  774. to force allowing re-use of the address:port combination
  775. (SO_REUSEPORT). -MS
  776. Wed Oct 29 16:27:05 CET 2014
  777. Adding MHD_DAEMON_INFO_CURRENT_CONNECTIONS to allow clients
  778. to query the number of active connections. -MS
  779. Fri Oct 3 14:28:58 CEST 2014
  780. Releasing 0.9.38. -CG
  781. Mon Sep 29 22:25:34 CEST 2014
  782. Properly decode '+' in URL-encoded POST data. -CG/KM
  783. Fri Sep 12 17:32:09 CEST 2014
  784. Fix --disable-dauth configure option (#3543). -doostee
  785. Thu Jun 26 21:06:04 CEST 2014
  786. Fix failure to terminate 'instantly' in thread-per-connection
  787. mode if there is a client with open connections.
  788. Thanks to Kenneth Mastro for reporting. -CG
  789. Sun Jun 22 12:22:08 CEST 2014
  790. Actually, avoid locking on response as responses must
  791. not be modified in a connection-specific way; instead
  792. modify the connection's data buffer to add missing
  793. responses headers. If we are forced to add
  794. "Connection: close", suppress output of conflicting
  795. application-provided "Connection: Keep-Alive" header. -CG
  796. Sun Jun 22 00:22:08 CEST 2014
  797. Lock on response if adding headers, needed if response
  798. object is shared across threads and connections. -CG
  799. Thu Jun 19 17:32:32 CEST 2014
  800. Ensure that listen FD is bound to epoll FD even before
  801. MHD_run() is called if running with MHD_USE_EPOLL_LINUX_ONLY
  802. in combination with 'external select' mode. Thanks to
  803. Marcos Pindado Sebastian for reporting. -CG
  804. Sun Jun 8 15:10:44 CEST 2014
  805. Add 'MHD_set_response_options' as a way to set per-response
  806. flags. Add flag to force HTTP 1.0-only conservative
  807. behavior, in particular suppressing adding "Connection"
  808. headers. -CG
  809. Mon Jun 2 00:03:28 CEST 2014
  810. Added back unescaping for URI path (#3413) but without
  811. unescaping '+' (#3371) to remain compatible with
  812. MHD 0.9.34 and before. Note that applications providing
  813. a custom MHD_OPTION_UNESCAPE_CALLBACK are no longer expected
  814. to replace '+' with ' ', as that is now done separately for
  815. the locations where this transformation is appropriate.
  816. Releasing 0.9.37. -CG
  817. Wed May 28 15:30:56 CEST 2014
  818. Properly applying patch that was supposed to be
  819. committed on "May 2 20:22:45 CEST 2014" to address
  820. infinite loop (DoS) when HTTP connection is reset (#3392). -GM
  821. Sun May 25 20:18:27 CEST 2014
  822. Fixed W32 build issues. -EG
  823. Releasing 0.9.36. -CG
  824. Sat May 17 06:47:00 CEST 2014
  825. Fix notifying client about completed request twice
  826. under certain circumstances. -CG
  827. Tue May 13 18:24:37 CEST 2014
  828. Fix accidental transmission of footer termination '\r\n'
  829. for responses with zero byte payload and non-chunked
  830. encoding (#3397). Thanks to amatus for reporting. -CG
  831. Sun May 4 11:05:26 CEST 2014
  832. Fix gnutls header check to make it cross-compile aware. -BK
  833. May 2 20:22:45 CEST 2014
  834. Fix infinite loop (DoS) when HTTP connection is reset (#3392). -GM
  835. Fix possible issue from combination of epoll and suspend/resume
  836. logic if edge trigger event is lost; also simplify logic to
  837. maintain simpler invariants on the epoll state. -CG
  838. Use OpenSSL cipher list "HIGH" in libmicrospdy (#3391). -CG
  839. Releasing 0.9.35. -CG
  840. Thu Apr 10 09:39:38 CEST 2014
  841. Removed unescaping for URI path (#3371) as '+' should not
  842. be converted to space in accordance with
  843. http://www.w3.org/TR/html401/appendix/notes.html#ampersands-in-uris
  844. and http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.1
  845. Note that we now also no longer convert '#38;' to '&'; if needed,
  846. the application needs to apply unescaping to the path of the URI
  847. itself (before, MHD unescaped '#38;' but not '&amp;', so this
  848. inconsistency was now resolved by simply not unescaping anything
  849. before the first '&'). -CG
  850. Tue Apr 08 15:35:44 CET 2014
  851. Added support for W32 native threads.
  852. Added --with-threads=LIB configure parameter. -EG
  853. Mon Apr 7 13:25:30 CEST 2014
  854. Add MHD_OPTION_HTTPS_MEM_DHPARAMS to allow applications
  855. to enable PFS. -HB/CG
  856. Tue Apr 01 07:10:23 CET 2014
  857. Added usage of native mutex on W32. -EG
  858. Sat Mar 29 16:12:03 CET 2014
  859. Added MHD_is_feature_supported() function. -EG
  860. Thu Mar 27 14:47:54 CET 2014
  861. Used larger FD_SETSIZE internally on W32.
  862. Extended API to work with non-default FD_SETSIZE. -EG
  863. Tue Mar 25 12:53:55 CET 2014
  864. Fix limiting by IPv6 address. -EG
  865. Tue Mar 25 09:06:13 CET 2014
  866. Added more FD_SETSIZE checks.
  867. Implemented FD_SETSIZE checks for W32. -EG
  868. Wed Mar 05 13:15:05 CET 2014
  869. Cleanup and refactoring of configure.ac.
  870. m4 macros updated.
  871. Custom configure macros replaced with autoconf archive macros.
  872. SPDY disabled by default on W32.
  873. Changed configure flag from '--disable-pipe' to
  874. '--enable-socketpair'.
  875. Added configure flags '--disable-doc' and '--disable-examples'.
  876. Narrowed down extrenal lib specific compiler and linker flags
  877. usage. -EG
  878. Wed Feb 26 17:42:34 CET 2014
  879. Refactoring of configure.ac: custom macros replaced with macros
  880. from Autoconf Archive.
  881. Minor corrections of configure.ac.
  882. Excluded pthread flags from global flags, pthread now used only
  883. where required.
  884. W32: fixed .dll resource compilation with '-isystem' CPPFLAG.
  885. W32: improved header compatibility with MSVC.
  886. W32: now tested on Win64, compiled by MinGW-w64. -EG
  887. Mon Feb 24 23:13:53 CET 2014
  888. Added support for TCP FASTOPEN. -SHT
  889. Releasing 0.9.34. -CG
  890. Thu Feb 20 14:17:05 CET 2014
  891. W32: Added creation of libmicrohttpd.lib, libmicrohttpd.def,
  892. libmicrohttpd.exp and libmicrohttpd-static.lib for easy use
  893. compiled MHD with MSVC.
  894. W32: Use MS lib.exe tool if available for creating MSVC staff.
  895. W32: Added .dll information resource. -EG
  896. Tue Feb 18 19:46:45 CET 2014
  897. Removed dependency on plibc for simpler compilation for W32.
  898. Added configure option "--disable-pipes" to use socketpairs
  899. instead of pipes for signalling to child threads. Pipes are
  900. always disabled on W32.
  901. Some code refactoring. -EG
  902. Sat Feb 8 15:08:35 CET 2014
  903. Corrected some uses of 'int' vs. 'size_t'. -EG/CG
  904. Wed Jan 22 09:44:33 CET 2014
  905. MHD_USE_DUAL_STACK in libmicrohttpd currently just *inhibits
  906. setting* the IPV6_V6ONLY socket option, but per Microsoft's
  907. documentation the default on Windows is that this is enabled, thus
  908. MHD_USE_DUAL_STACK will not work (since it leaves the
  909. default). libmicrohttpd should probably just unconditionally set
  910. IPV6_V6ONLY to the desired value when the option is available. -LJ
  911. Wed Jan 1 21:38:18 CET 2014
  912. Allow Keep-Alive with HTTP 1.0 (if explicitly requested),
  913. and automatically set "Connection: Keep-Alive" in response
  914. in this case as well. -CG
  915. Tue Dec 24 12:27:39 CET 2013
  916. Adding explicit annotations to hide symbols that are not for
  917. export in the C code (gcc 4.0 or higher only). -CG
  918. Sun Dec 22 14:54:30 CET 2013
  919. Adding a few lines to avoid warnings from picky compilers. -CG
  920. Sat Dec 21 17:26:08 CET 2013
  921. Fixed an issue with a missing argument in the postexample.
  922. Fixed issue with bogus offset increment involving sendfile
  923. on GNU/Linux. Adding support for SNI.
  924. Releasing 0.9.33. -CG
  925. Mon Dec 9 21:41:57 CET 2013
  926. Fix for per-worker daemon pipes enabled with
  927. MHD_USE_SUSPEND_RESUME that were not closed in
  928. MHD_stop_daemon. -MH
  929. Sat Dec 7 00:44:49 CET 2013
  930. Fixing warnings and build issue if --disable-https is given
  931. to configure. -CG
  932. Tue Dec 3 21:25:56 CET 2013
  933. Security fix: do not read past 0-terminator when unescaping
  934. strings (thanks to Florian Weimer for reporting).
  935. Releasing 0.9.32. -CG
  936. Tue Dec 3 21:05:38 CET 2013
  937. Signaling n times for shutdown works, but for resume we need to
  938. wake up the correct daemon. Even if we signal n times in that
  939. case also, there's no guarantee that some daemon can't run
  940. through its select loop more than once before the daemon we want
  941. to wake up gets a chance to read. Thus we need a signal pipe
  942. per thread in the thread pool IF MHD_suspend_connection is used.
  943. This introduces a new flag MHD_USE_SUSPEND_RESUME to add those
  944. additional pipes and only allow MHD_suspend_connection to be
  945. used in conjunction with this flag.
  946. Also, as MHD_resume_connection() will be called on a non-daemon
  947. thread, but none of the queue insert/delete calls are thread safe,
  948. we need to be concerned about (a) corrupting the queue, and (b)
  949. having to add mutex protection around every access to the queues,
  950. including loops through timer queues, etc. This wasn't a problem
  951. before adding resume; even suspend should be safe since it happens
  952. in a callback from the daemon.
  953. I think it's easier to (a) have MHD_suspend_connection() move the
  954. connection to a suspended queue, (b) have MHD_resume_connection()
  955. mark the connection as resuming, and then (c) do all the actual
  956. queue manipulations in MHD_select (poll, epoll, etc.) to move the
  957. resumed connections back to their normal queues, in response to
  958. the wake up. The changes are simpler & cleaner. There is a cost to
  959. the basic select loop that is avoided by making suspend/resume a
  960. startup option. The per-worker pipes can then also be enabled only
  961. with that option set. -MH
  962. Fri Nov 29 20:17:03 CET 2013
  963. Eliminating theoretical stack overflow by limiting length
  964. of URIs in authentication headers to 32k (only applicable
  965. if the application explicitly raised the memroy limits,
  966. and only applies to MHD_digest_auth_check). Issue was
  967. reported by Florian Weimer. -CG
  968. Tue Nov 26 01:26:15 CET 2013
  969. Fix race on shutdown signal with thread pool on non-Linux
  970. systems by signalling n times for n threads. -CG
  971. Sun Nov 24 13:41:15 CET 2013
  972. Introduce state to mark connections in suspended state (with
  973. epoll); add missing locking operations in MHD_suspend_connection.
  974. Fix definition of MHD_TLS_CONNECTION_INIT. -MH/JC
  975. Wed Oct 30 09:34:20 CET 2013
  976. Fixing issue in PostProcessor when getting partial boundary
  977. at the beginning, expanding test suite. -CG
  978. Sun Oct 27 15:19:44 CET 2013
  979. Implementing faster processing of upload data in multipart
  980. encoding (thanks to performance analysis by Adam Homolya). -CG
  981. Thu Oct 24 10:40:03 CEST 2013
  982. Adding support for connection flow control via
  983. MHD_suspend_connection and MHD_resume_connection. -CG
  984. Sat Oct 19 16:40:32 CEST 2013
  985. Releasing libmicrohttpd 0.9.31. -CG
  986. Mon Sep 23 20:24:48 CEST 2013
  987. Fixing build issues on OS X with CLOCK_MONOTONIC not being
  988. implemented on OS X. -CG
  989. Mon Sep 23 14:15:00 CEST 2013
  990. Make libmicrohttpd play nicely with upcoming libgcrypt 1.6.0. -CG
  991. Fri Sep 20 17:01:37 CEST 2013
  992. Improved configure checks for cURL. -CG
  993. Wed Sep 18 18:29:24 CEST 2013
  994. Signal connection termination as OK (and not as ERROR) if the
  995. stream was terminated by the callback returning
  996. MHD_CONTENT_READER_END_OF_STREAM. Also, release response
  997. mutex before calling the termination callback, to avoid
  998. possible deadlock if the client destroys the response in
  999. the termination callback (due to non-recursiveness of the
  1000. lock). -CG
  1001. Wed Sep 18 14:31:35 CEST 2013
  1002. Adding #define MHD_HTTP_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN. -CG
  1003. Tue Sep 17 21:32:47 CEST 2013
  1004. Also pass MHD connection handle in URI log callback. -CG
  1005. Fri Sep 6 10:00:44 CEST 2013
  1006. Improved check for proper OpenSSL version for
  1007. libmicrospdy. -CG
  1008. Wed Sep 4 17:23:15 CEST 2013
  1009. Set IPV6_V6ONLY socket option correctly when IPv6 is
  1010. enabled (MHD_USE_IPv6) but not dual stack
  1011. (MHD_USE_DUAL_STACK) -MW
  1012. Mon Sep 2 22:59:45 CEST 2013
  1013. Fix use-after-free in epoll()-mode on read error.
  1014. Releasing libmicrohttpd 0.9.30. -CG
  1015. Sun Sep 1 21:55:53 CEST 2013
  1016. Fixing build issues on FreeBSD. -CG
  1017. Fri Aug 30 13:53:04 CEST 2013
  1018. Started to implement #3008 (RFC 2616, section 8.1.4
  1019. says HTTP server SHOULD terminate connection if the
  1020. client closes it for writing via TCP FIN, so we should
  1021. continue to try to read and react differently
  1022. if recv() returns zero). -CG
  1023. Wed Aug 28 18:40:47 CEST 2013
  1024. Fix #3007 (build issue if messages are disabled). -CG
  1025. Tue Aug 27 18:39:08 CEST 2013
  1026. Fix build issue if SOCK_NONBLOCK/EPOLL_CLOEXEC are not
  1027. defined (as is the case on older glibc versions). -CG
  1028. Fri Aug 23 14:28:02 CEST 2013
  1029. Releasing libmicrohttpd 0.9.29. -CG
  1030. Mon Aug 12 23:51:18 CEST 2013
  1031. Updated manual, documenting W32 select/shutdown issue. -CG
  1032. Sat Aug 10 21:01:18 CEST 2013
  1033. Fixed #2983. -CG
  1034. Sat Aug 10 20:39:27 CEST 2013
  1035. Use 'errno' to indicate why 'MHD_add_connection' failed
  1036. (#2984). -CG
  1037. Sat Aug 10 17:31:31 CEST 2013
  1038. Disable use of 'shutdown' on W32 always as winsock
  1039. doesn't properly behave with half-closed connections
  1040. (see http://www.chilkatsoft.com/p/p_299.asp). -CG/LRN
  1041. Thu Aug 8 07:55:07 CEST 2013
  1042. Fixing issue with pipelining not working as desired. -CG
  1043. Wed Aug 7 08:17:40 CEST 2013
  1044. Removing dependency on liberty (on W32). -MC
  1045. Fri Aug 2 20:55:47 CEST 2013
  1046. Fix HTTP 1.1 compliance with respect to not returning
  1047. content-length headers for successful "CONNECT" requests.
  1048. Note that for unsuccessful "CONNECT" requests with an
  1049. empty response body, users must now explicitly set the
  1050. content-length header. -CG
  1051. Sun Jul 28 16:35:17 CEST 2013
  1052. Fixing build issue (missing #ifdef) in conjunction with
  1053. --disable-messages. -blueness
  1054. Sat Jul 20 12:35:40 CEST 2013
  1055. Fixing combination of MHD_USE_SSL and MHD_USE_EPOLL_LINUX_ONLY. -CG
  1056. Fri Jul 19 09:57:27 CEST 2013
  1057. Fix issue where connections were not cleaned up when
  1058. 'MHD_run_from_select' was used. Adding experimental
  1059. TURBO mode.
  1060. Releasing libmicrohttpd 0.9.28. -CG
  1061. Sun Jul 14 19:57:56 CEST 2013
  1062. Removing 'shutdown' calls that happen just before close or
  1063. that are for read-only and for a client that has already
  1064. stopped sending anyway (thus reducing number of system calls
  1065. slightly). -CG
  1066. Sun Jul 14 19:37:37 CEST 2013
  1067. Name MHD worker threads on glibc >= 2.12. -,L4X[o](B
  1068. Fri Jul 5 12:05:01 CEST 2013
  1069. Added MHD_OPTION_CONNECTION_MEMORY_INCREMENT to allow users
  1070. to specify a custom value for incrementing read buffer
  1071. sizes (#2899). -MH
  1072. Fri Jun 28 14:05:15 CEST 2013
  1073. If we shutdown connection for reading on POST due to error,
  1074. really do not process further requests even if we already
  1075. read the next request from the connection. Furthermore, do
  1076. not shutdown connections for reading on GET/HEAD/etc. just
  1077. because the application queued a response immediately ---
  1078. reserve that behavior for PUT/POST. -CG
  1079. Tue Jun 25 15:08:30 CEST 2013
  1080. Added option 'MHD_USE_DUAL_STACK' to support a single
  1081. daemon for IPv4 and IPv6 without the application having
  1082. to do the binding. -CG
  1083. Mon Jun 24 22:33:34 CEST 2013
  1084. Finished integration with epoll, including benchmarking and
  1085. documentation. -CG
  1086. Sun Jun 23 15:28:13 CEST 2013
  1087. Added option 'MHD_USE_PIPE_FOR_SHUTDOWN' to cleanly support
  1088. 'MHD_quiesce_daemon' with thread pools and per-connection
  1089. threads (we then need a pipe for shutdown, but if
  1090. 'MHD_quiesce_daemon' is not used, we do not want to
  1091. require the use of a pipe; introducing the pipe after
  1092. the threads have been started can also fail, so the
  1093. application needs to tell us early on). -CG
  1094. Sat Jun 22 20:24:17 CEST 2013
  1095. Removed locking calls for thread modes that do not need them.
  1096. Reorganized way to obtain connection's event loop state.
  1097. Added sorted XDLL for connections with default timeout to
  1098. avoid having to loop over all connections to determine current
  1099. timeout (custom per-connection timeouts are in another list
  1100. which is iterated each time). -CG
  1101. Fri Jun 21 20:55:48 CEST 2013
  1102. Preparing build system and tests for epoll support. -CG
  1103. Tue May 21 14:34:36 CEST 2013
  1104. Improving configure tests for OpenSSL and spdylay to
  1105. avoid build errors in libmicrospdy code if those libraries
  1106. are not present. -CG
  1107. Mon May 20 12:29:35 CEST 2013
  1108. Added MHD_CONNECTION_INFO_CONNECTION_FD to allow clients
  1109. direct access to connection socket; useful for COMET
  1110. applications that need to disable NAGLE (#2886). -CG
  1111. Mon May 15 12:49:01 CEST 2013
  1112. Fixing #2859. -CG
  1113. Sun May 5 21:44:08 CEST 2013
  1114. Merged libmicrospdy code with libmicrohttpd build system
  1115. (no major changes to libmicrospdy itself yet). -CG
  1116. Sun May 5 20:13:59 CEST 2013
  1117. Improved documentation and code style a bit.
  1118. Releasing libmicrohttpd 0.9.27. -CG
  1119. Thu Apr 25 13:08:10 CEST 2013
  1120. Added 'MHD_quiesce_daemon' to allow application to stop
  1121. processing new incoming connections while finishing
  1122. ongoing requests. -CG
  1123. Sun Mar 31 23:17:13 CEST 2013
  1124. Added MHD demonstration code 'src/examples/demo.c'. -CG
  1125. Sun Mar 31 20:27:48 CEST 2013
  1126. Adding new API call 'MHD_run_from_select' to allow programs
  1127. running in 'external select mode' to reduce the number of
  1128. 'select' calls by a factor of two. -CG
  1129. Sun Mar 31 20:03:48 CEST 2013
  1130. Performance improvements, updated documentation.
  1131. Make better use of available memory pool memory for
  1132. reading (especially important for large POST uploads);
  1133. improve post processor speed by internally adjusting the
  1134. buffer size by 4 bytes to ensure "round" IO sizes given
  1135. a "round" post processor buffer size argument. Note
  1136. that applications that previously added 4 bytes to the
  1137. post processor buffer size might now perform worse.
  1138. Using the new 'demo' example, POST upload speed
  1139. increased from ~90 MB/s to ~120 MB/s for a large file
  1140. (note that the improvement comes from better aligned
  1141. disk IO; without disk IO, the speed was (and remains)
  1142. at ~1500 MB/s on this system). -CG
  1143. Fri Mar 29 16:44:29 CET 2013
  1144. Renaming testcases to consistenly begin with test_;
  1145. Changing build system to build examples in doc/.
  1146. Releasing libmicrohttpd 0.9.26. -CG
  1147. Thu Mar 7 10:13:08 CET 2013
  1148. Fix bug in postprocessor URL parser (#2818). -jgresula
  1149. Mon Mar 4 13:45:35 CET 2013
  1150. Fix dropping of SSL connections if uptime is less than
  1151. MHD_OPTION_CONNECTION_TIMEOUT due to integer underflow (#2802). -greed
  1152. Fri Mar 1 01:11:57 CET 2013
  1153. Fully initialize cleanup mutex struct for each thread (#2803). -Ulion
  1154. Wed Feb 6 01:51:52 CET 2013
  1155. Releasing libmicrohttpd 0.9.25. -CG
  1156. Fri Feb 1 10:19:44 CET 2013
  1157. Handle case where POST data contains "key=" without value
  1158. at the end and is not new-line terminated by invoking the
  1159. callback with the "key" during MHD_destroy_post_processor (#2733). -CG
  1160. Wed Jan 30 13:09:30 CET 2013
  1161. Adding more 'const' to allow keeping of reason phrases in ROM.
  1162. (see mailinglist). -CG/MV
  1163. Tue Jan 29 21:27:56 CET 2013
  1164. Make code work with PlibC 0.1.7 (which removed plibc_init_utf8).
  1165. Only relevant for W32. Fixes #2734. -CG
  1166. Sat Jan 26 21:26:48 CET 2013
  1167. Fixing regression introduced Jan 6 (test on data_size instead
  1168. of total_size. -CG
  1169. Fri Jan 11 23:21:55 CET 2013
  1170. Also return MHD_YES from MHD_destroy_post_processor if
  1171. we did not get '\r\n' in the upload. -CG
  1172. Sun Jan 6 21:10:13 CET 2013
  1173. Enable use of "MHD_create_response_from_callback" with
  1174. body size of zero. -CG
  1175. Tue Dec 25 16:16:30 CET 2012
  1176. Releasing libmicrohttpd 0.9.24. -CG
  1177. Tue Dec 18 21:18:11 CET 2012
  1178. Given both 'chunked' encoding and 'content-length',
  1179. ignore the 'content-length' header as per RFC. -ES
  1180. Thu Dec 6 10:14:44 CET 2012
  1181. Force adding "Connection: close" header to response if
  1182. client asked for connection to be closed (so far, we
  1183. did close the connection, but did not send the
  1184. "Connection: close" header explicitly, which some clients
  1185. seem to dislike. (See discussion on mailinglist).
  1186. Also, if there is already a transfer-encoding other
  1187. than 'chunked' set by the application, we also now close
  1188. the connection if the response is of unknown size. -CG
  1189. Wed Dec 5 19:22:26 CET 2012
  1190. Fixing parameter loss of POST parameters with IE8 and Chrome
  1191. in the PostProcessor as the code failed to properly handle
  1192. partial data. -MM
  1193. Fri Nov 9 21:36:46 CET 2012
  1194. Releasing libmicrohttpd 0.9.23. -CG
  1195. Thu Nov 8 22:32:59 CET 2012
  1196. Ship our own version of tsearch and friends if not provided by platform,
  1197. so that MHD works nicely on Android. -JJ
  1198. Mon Oct 22 13:05:01 CEST 2012
  1199. Immediately do a second read if we get a full buffer from
  1200. TLS as there might be more data in the TLS buffers even if
  1201. there is no activity on the socket. -CG
  1202. Tue Oct 16 01:33:55 CEST 2012
  1203. Consistently use "#ifdef" and "#ifndef" WINDOWS, and not
  1204. sometimes "#if". -CG
  1205. Sat Sep 1 20:51:21 CEST 2012
  1206. Releasing libmicrohttpd 0.9.22. -CG
  1207. Sat Sep 1 20:38:35 CEST 2012
  1208. Adding configure option to allow selecting support for basic
  1209. and digest authentication separately (#2525). -CG
  1210. Thu Aug 30 21:12:56 CEST 2012
  1211. Fixing URI argument parsing when string contained keys without
  1212. equals sign (i.e. '&bar&') in the middle of the argument (#2531).
  1213. Also replacing 'strstr' with more efficient 'strchr' when
  1214. possible. -CG
  1215. Tue Aug 21 14:36:17 CEST 2012
  1216. Use "int" instead of "enum X" in 'va_arg' calls to be nice to
  1217. compilers that use 'short' (i.e. 8 or 16 bit) enums but pass
  1218. enums still as "int" in varargs. (See discussion on mailinglist). -CG/MV
  1219. Tue Aug 21 14:31:54 CEST 2012
  1220. Reduce default size in post processor buffer (for small systems;
  1221. performance impact on large systems should be minimal). -CG/MV
  1222. Thu Jul 19 21:48:42 CEST 2012
  1223. Releasing libmicrohttpd 0.9.21. -CG
  1224. Thu Jul 19 11:34:50 CEST 2012
  1225. Consistently use 'panic' function instead of ever directly
  1226. calling 'abort ()'. Eliminating unused mutex in SSL mode.
  1227. Removing check in testcases that fails depending on which
  1228. version of gnuTLS is involved. -CG
  1229. Tue Jul 17 23:50:43 CEST 2012
  1230. Stylistic code clean up. Allowing lookup up of trailing values
  1231. without keys using "MHD_lookup_connection_value" with a key of NULL
  1232. (thus achieving consistency with the existing iterator API). -CG
  1233. Tue Jul 17 22:37:05 CEST 2012
  1234. Adding experimental (!) code for MHD operation without listen socket. -CG
  1235. Tue Jul 17 22:15:57 CEST 2012
  1236. Making sendfile test pass again on non-W32 systems. -CG
  1237. Mon Jul 9 13:43:35 CEST 2012
  1238. Misc changes to allow testcases to pass on W32. -LRN
  1239. Sun Jul 8 15:05:31 CEST 2012
  1240. Misc changes to fix build on W32. -LRN
  1241. Fri Jun 22 11:31:25 CEST 2012
  1242. Make sure sockets opened by MHD are non-inheritable by default (#2414). -CG
  1243. Tue Jun 19 19:44:53 CEST 2012
  1244. Change various uses of time(NULL) to new MHD_monotonic_time() function to
  1245. make timeouts immune to the system real time clock changing. -MC
  1246. Tue Jun 12 21:35:00 CEST 2012
  1247. Adding 451 status code. -CG
  1248. Thu May 31 13:33:45 CEST 2012
  1249. Releasing 0.9.20. -CG
  1250. Tue May 29 13:55:03 CEST 2012
  1251. Fixed some testcase build issues with disabled post processor. -CG
  1252. Tue May 29 13:45:15 CEST 2012
  1253. Fixing bug where MHD failed to call connection termination callback
  1254. if a connection either was closed due to read errors or if MHD
  1255. was terminated with certain threading models. Added new
  1256. termination code MHD_REQUEST_TERMINATED_READ_ERROR for the
  1257. read-termination cause. -CG
  1258. Thu Mar 15 23:47:53 CET 2012
  1259. Eliminating code clone in tls connection read/write handlers. -CG
  1260. Fri Mar 2 23:44:56 CET 2012
  1261. Making sure that MHD_get_connection_values iterates over the
  1262. headers in the order in which they were received. -CG
  1263. Wed Feb 1 09:39:12 CET 2012
  1264. Fixed compilation problem on MinGW. -BS
  1265. Tue Jan 31 17:50:24 CET 2012
  1266. Releasing 0.9.19. -CG
  1267. Mon Jan 30 20:02:34 CET 2012
  1268. Fixed handling of garbage prior to first multipart boundary
  1269. (#2126). -woof
  1270. Fri Jan 27 11:00:43 CET 2012
  1271. Fixed postprocessor failure for applications that enclosed boundary
  1272. in quotes (#2120). -woof
  1273. Tue Jan 24 16:07:53 CET 2012
  1274. Added configure check for sin_len in 'struct sockaddr' and adding
  1275. code to initialize this field if it exists now. -CG
  1276. Mon Jan 23 14:02:26 CET 2012
  1277. Fixed double-free if specified cipher was not valid (during
  1278. MHD_daemon_start). Releasing 0.9.18. -CG
  1279. Thu Jan 19 22:11:12 CET 2012
  1280. Switch to non-blocking sockets for all systems but Cygwin
  1281. (we already used non-blocking sockets for GNU/Linux); also
  1282. use non-blocking sockets on Cygwin for HTTPS as this is
  1283. required to avoid DoS-by-partial-record via gnutls. On
  1284. Cygwin, #1824 implies that we need to use blocking sockets
  1285. for HTTP on Cygwin for now. -CG
  1286. Thu Jan 19 17:46:05 CET 2012
  1287. Fixing use of uninitialized 'earliest_deadline' variable in
  1288. MHD_get_timeout which can lead to returning an incorrect
  1289. (too early) timeout (#2085). -tclaveirole
  1290. Thu Jan 19 13:31:27 CET 2012
  1291. Fixing digest authentication for GET requests with URI arguments
  1292. (#2059). -CG
  1293. Sat Jan 7 17:30:48 CET 2012
  1294. Digest authentication expects nonce count in base 16, not base 10
  1295. (#2061). -tclaveirole
  1296. Thu Jan 5 22:01:37 CET 2012
  1297. Partial fix for #2059, digest authentication with GET arguments. -CG
  1298. Thu Dec 1 15:22:57 CET 2011
  1299. Updated authorization_example.c to actually demonstrate the current
  1300. MHD API. -SG
  1301. Mon Nov 21 18:51:30 CET 2011
  1302. Added option to suppress generation of the 'Date:' header to be
  1303. used on embedded systems without RTC. Documented the new option
  1304. and the configure options. -CG
  1305. Sat Nov 19 20:08:40 CET 2011
  1306. Releasing 0.9.17. -CG
  1307. Fri Nov 18 20:17:22 CET 2011
  1308. Fixing return value of MHD_get_timeout if timeouts are not in use.
  1309. (#1914). -rboulton
  1310. Sun Nov 13 13:34:29 CET 2011
  1311. Trying to fix accidental addition of a "Connection: close" footer
  1312. under certain (rare) circumstances. -CG
  1313. Fri Nov 4 10:03:00 CET 2011
  1314. Small updates to the tutorial.
  1315. Releasing 0.9.16. -CG
  1316. Thu Nov 3 10:14:59 CET 2011
  1317. shutdown(RDWR) fails on OS X after shutdown(RD), so only use
  1318. shutdown(WR) if we already closed the socket for reading (otherwise
  1319. OS X might not do shutdown (WR) at all). -CG
  1320. Tue Nov 1 18:51:50 CET 2011
  1321. Force adding of 'Connection: close' to the header if we (for whatever
  1322. reason) are shutting down the socket for reading (see also
  1323. #1760). -CG
  1324. Thu Oct 27 14:16:34 CEST 2011
  1325. Treat EAGAIN the same way as EINTR (helps on W32). -LRN
  1326. Wed Oct 12 10:40:12 CEST 2011
  1327. Made sockets blocking again for non-Linux platforms as non-blocking
  1328. sockets cause problems (#1824) on Cygwin but offer better performance
  1329. on Linux (see change on August 11 2011). -CG/pross
  1330. Fri Oct 7 19:50:07 CEST 2011
  1331. Fixed problems with testcases on W32. -LRN
  1332. Fri Sep 30 17:56:36 CEST 2011
  1333. Fixed MHD_CONNECTION_OPTION_TIMEOUT for HTTPS (#1811). -CG
  1334. Wed Sep 28 08:37:55 CEST 2011
  1335. Releasing libmicrohttpd 0.9.15. -CG
  1336. Tue Sep 27 13:07:36 CEST 2011
  1337. Added ability to access URL arguments of the form 'url?foo' (without
  1338. '='). Added testcase and updated documentation accordingly. -CG
  1339. Mon Sep 26 21:24:00 CEST 2011
  1340. Only run response cleanup testcase if curl binary was found by
  1341. configure. -CG
  1342. Wed Sep 21 09:53:18 CEST 2011
  1343. Reverting to using pipes for signalling select on non-Linux
  1344. platforms where shutdown-on-listen-sockets does not work. -WB/CG
  1345. Mon Sep 19 14:06:30 CEST 2011
  1346. Fixing problem introduced with prompt response cleanup code. -CG
  1347. Wed Sep 14 13:43:26 CEST 2011
  1348. Fixing minor memory leak if daemon with HTTPS support failed to
  1349. initialize (#1766). -CG
  1350. Tue Sep 13 09:47:58 CEST 2011
  1351. Try to release responses more promptly upon connection termination. -CG
  1352. Mon Sep 12 10:20:28 CEST 2011
  1353. Releasing libmicrohttpd 0.9.14. -CG
  1354. Mon Sep 12 10:05:36 CEST 2011
  1355. Added new function to allow setting of a custom timeout value
  1356. for an individual connection (the MHD_set_connection_option is
  1357. more generic, but this is currently the only use). -CG
  1358. Sat Sep 10 07:30:12 CEST 2011
  1359. Documenting that MHD_CONNECTION_INFO_GNUTLS_CLIENT_CERT is not
  1360. implemented and will not be implemented, and what to use instead. -CG
  1361. Fri Sep 9 13:42:20 CEST 2011
  1362. Added testcase to demonstrate that response cleanup calling is
  1363. working. No bug was found. -CG
  1364. Thu Aug 18 11:05:16 CEST 2011
  1365. Fixed bug with wrong state transition if callback returned
  1366. MHD_CONTENT_READER_END_OF_STREAM causing spurious extra callbacks
  1367. to the handler (thanks to Jan Seeger for pointing it out). -CG/JS
  1368. Thu Aug 11 11:40:03 CEST 2011
  1369. Changing sockets to be non-blocking as suggested by Eivind Sarto
  1370. on the mailinglist. -CG
  1371. Mon Jul 25 16:13:15 CEST 2011
  1372. Added a logo. -CG
  1373. Sat Jul 16 22:42:10 CEST 2011
  1374. Change type of nonce to 'unsigned long int' to match return type
  1375. from 'strtoul'. Fixes ERANGE check which would have previously
  1376. failed. -CG
  1377. Wed Jul 13 09:26:17 CEST 2011
  1378. Fixing HTTP error status strings for certain high-numbered status codes.
  1379. Added support for some more (non-standard) status codes.
  1380. Releasing libmicrohttpd 0.9.13. -CG
  1381. Thu Jul 7 10:24:20 CEST 2011
  1382. Adding performance measurements. -CG
  1383. Thu Jun 23 14:21:13 CEST 2011
  1384. Releasing libmicrohttpd 0.9.12. -CG
  1385. Wed Jun 22 14:32:23 CEST 2011
  1386. Force closing connection if either the client asked it or
  1387. if the response contains 'Connection: close' (so far,
  1388. only the client's request was considered). -CG/RV
  1389. Wed Jun 22 10:37:35 CEST 2011
  1390. Removing listen socket from poll/select sets in
  1391. MHD_USE_THREAD_PER_CONNECTION mode; using 'shutdown'
  1392. on connection sockets to signal termination instead. -CG
  1393. Wed Jun 22 10:25:13 CEST 2011
  1394. Eliminate unnecessary (and badly synchronized) calls to
  1395. MHD_get_timeout in MHD_USE_THREAD_PER_CONNECTION mode.
  1396. Document that this is not acceptable. -CG
  1397. Tue Jun 21 13:54:59 CEST 2011
  1398. Fixing tiny memory leak in SSL code from 'gnutls_priority_init'.
  1399. Fixing data race between code doing connection shutdown and
  1400. connection cleanup.
  1401. Changing code to reduce connection cleanup cost from O(n) to O(1).
  1402. Cleaning up logging code around 'connection_close_error'. -CG
  1403. Sat Jun 11 13:05:12 CEST 2011
  1404. Replacing use of sscanf by strtoul (#1688). -CG/bplant
  1405. Fri Jun 3 15:26:42 CEST 2011
  1406. Adding MHD_CONNECTION_INFO_DAEMON to obtain MHD_Daemon
  1407. responsible for a given connection. -CG
  1408. Wed May 25 14:23:20 CEST 2011
  1409. Trying to fix stutter problem on timeout described by
  1410. David Myers on the mailinglist (5/10/2011). -CG
  1411. Fri May 20 22:11:55 CEST 2011
  1412. Fixed bug in testcase setup code causing crashes in
  1413. tls_session_timeout_test on some systems.
  1414. Releasing libmicrohttpd 0.9.11. -CG
  1415. Fri May 20 19:34:59 CEST 2011
  1416. Fixed bug in parsing multipart/form-data with post processor where
  1417. the code failed to add a 0-terminator in the correct position. -PP
  1418. Thu May 12 14:40:46 CEST 2011
  1419. Fixed bug where if multiple HTTP request messages are piped in at once,
  1420. microhttpd would call the handler with the wrong upload_data_size. -HZM
  1421. Thu May 12 14:40:08 CEST 2011
  1422. Documented possible issue with off_t being sometimes
  1423. 32-bit and sometimes 64-bit depending on #includes. -CG
  1424. Sun May 8 21:52:47 CEST 2011
  1425. Allow MHD_SIZE_UNKNOWN to be used in conjunction with
  1426. MHD_create_response_from_fd (fixing #1679). -TG
  1427. Wed Apr 27 16:11:18 CEST 2011
  1428. Releasing libmicrohttpd 0.9.10. -CG
  1429. Fri Apr 8 11:40:35 CEST 2011
  1430. Workaround for cygwin poll brokenness. -TS
  1431. Sun Apr 3 13:56:52 CEST 2011
  1432. Fixing compile error on OS X. -CG
  1433. Wed Mar 30 12:56:09 CEST 2011
  1434. Initialize tv_usec in MHD_USE_THREAD_PER_CONNECTION with select
  1435. and per-connection timeout. -CG
  1436. Tue Mar 29 14:15:13 CEST 2011
  1437. Releasing libmicrohttpd 0.9.9. -CG
  1438. Tue Mar 29 14:11:19 CEST 2011
  1439. Fixed call to mmap for memory pool, extended testcase to cover
  1440. POLL. -CG
  1441. Wed Mar 23 23:24:25 CET 2011
  1442. Do not use POLLIN when we only care about POLLHUP (significantly
  1443. improves performance when using MHD_USE_THREAD_PER_CONNECTION
  1444. in combination with MHD_USE_POLL). -ES
  1445. Sun Mar 20 09:16:53 CET 2011
  1446. Fixing race when using MHD_USE_THREAD_PER_CONNECTION in combination
  1447. with MHD_USE_POLL. -CG
  1448. Fri Mar 18 13:23:47 CET 2011
  1449. Removing MSG_DONTWAIT which should not be needed and was presumably
  1450. causing problems with EAGAIN under certain circumstances. -ES
  1451. Fri Mar 11 22:25:29 CET 2011
  1452. Fixing bug in MHD_create_response_from_fd_at_offset with non-zero offsets. -ES
  1453. Sat Mar 5 22:00:36 CET 2011
  1454. Do not use POLLRDHUP, which causes build errors on OS X / OpenSolaris
  1455. (#1667). -CG
  1456. Fri Mar 4 10:24:04 CET 2011
  1457. Added new API to allow MHD server to initiate connection to
  1458. client (special use-case for servers behind NAT), thereby
  1459. addressing #1661 (externally created connections).
  1460. Releasing libmicrohttpd 0.9.8. -CG
  1461. Fri Mar 4 10:07:18 CET 2011
  1462. Avoid using a pipe for signalling as well, just use server
  1463. socket shutdown (also for thread-per-connection). -CG
  1464. Thu Mar 3 21:42:47 CET 2011
  1465. Fixing issue where Base64 decode fails when char is defined
  1466. as unsigned char (Mantis 1666). -CG/tmayer
  1467. Tue Mar 1 13:58:04 CET 2011
  1468. Allow use of 'poll' in combination with the external select mode.
  1469. Avoid using pthread signals (SIGALRM), use pipe instead.
  1470. Corrected timeout calculation (s vs. ms). -CG
  1471. Wed Feb 23 14:21:44 CET 2011
  1472. Removing useless code pointed out by Eivind Sarto. -CG
  1473. Fri Feb 18 11:03:59 CET 2011
  1474. Handle large (>2 GB) file transfers with sendfile on 32-bit
  1475. systems better; handle odd sendfile failures by libc/kernel
  1476. by falling back to standard 'SEND'. -CG
  1477. Sun Feb 13 10:52:29 CET 2011
  1478. Handle gnutls receive error(s) for interrupted SSL
  1479. connections better. -MS
  1480. Releasing libmicrohttpd 0.9.7. -CG
  1481. Fri Feb 11 10:15:38 CET 2011
  1482. Fixing parameter ordering in documentation (#1659). -wellska
  1483. Thu Jan 27 10:51:39 CET 2011
  1484. Disable 'EXTRA_CHECKS's by default as suggested in #1652
  1485. (I guess it is time). -CG/timn
  1486. Thu Jan 27 10:48:55 CET 2011
  1487. Removing bogus assertion in basic authentication code (#1651). -CG/timn
  1488. Tue Jan 25 14:10:45 CET 2011
  1489. Releasing libmicrohttpd 0.9.6. -CG
  1490. Mon Jan 24 16:36:35 CET 2011
  1491. Fixing compilation error if DAUTH_SUPPORT was 0 (#1646). -CG/bplant
  1492. Tue Jan 18 23:58:09 CET 2011
  1493. Fixing hash calculation in digest auth; old function had
  1494. collisions causing the browser to challenge users for
  1495. authentication too often. -CG/AW
  1496. Fri Jan 14 19:19:45 CET 2011
  1497. Removing dead code, adding missing new symbols to export list.
  1498. Fixed two missing NULL checks after malloc operations. -CG
  1499. Mon Jan 10 14:07:33 CET 2011
  1500. Releasing libmicrohttpd 0.9.5. -CG
  1501. Wed Jan 5 15:20:11 CET 2011
  1502. Fixing double-locking on non-Linux platforms when using
  1503. MHD_create_response_from_fd (#1639). -CG
  1504. Avoid use of strndup for better portability (#1636). -CG
  1505. Tue Jan 4 13:07:21 CET 2011
  1506. Added MHD_create_response_from_buffer, deprecating
  1507. MHD_create_response_from_data. Deprecating
  1508. MHD_create_response_from_fd as well. -CG
  1509. Sun Dec 26 00:02:15 CET 2010
  1510. Releasing libmicrohttpd 0.9.4. -CG
  1511. Sat Dec 25 21:57:14 CET 2010
  1512. Adding support for basic authentication.
  1513. Documented how to obtain client SSL certificates in tutorial. -MS
  1514. Thu Dec 23 15:40:36 CET 2010
  1515. Increasing nonce length to 128 to support digest authentication
  1516. with Opera (see #1633).
  1517. Mon Dec 20 21:22:57 CET 2010
  1518. Added macro MHD_LONG_LONG to allow change of MHD's "long long" use
  1519. to some other type on platforms that do not support "long long"
  1520. (Mantis #1631). -CG/bplant
  1521. Sun Dec 19 19:54:15 CET 2010
  1522. Added 'MHD_create_response_from_fd_at_offset'. -CG
  1523. Sun Dec 19 15:16:16 CET 2010
  1524. Fixing --enable and --disable configure options to behave properly. -CG
  1525. Sun Dec 19 13:46:52 CET 2010
  1526. Added option to specify size of stacks for threads created by MHD. -CG
  1527. Tue Nov 23 09:41:00 CET 2010
  1528. Releasing libmicrohttpd 0.9.3. -CG
  1529. Thu Nov 18 23:10:36 CET 2010
  1530. Fixing #1619 (testcases not working with NSS on Fedora). -CG/timn
  1531. Thu Nov 18 22:55:58 CET 2010
  1532. Fixing #1621 (socket not closed under certain circumstances). -CG/jaredc
  1533. Wed Nov 17 12:16:53 CET 2010
  1534. Allowing signalling of errors in generating chunked responses to
  1535. clients (by closing connectins) using the new
  1536. MHD_CONTENT_READER_END_WITH_ERROR ((size_t)-2) return value. Also
  1537. introducing MHD_CONTENT_READER_END_OF_STREAM constant instead
  1538. of (size_t) -1 / SIZE_MAX.
  1539. Sun Nov 14 20:45:45 CET 2010
  1540. Adding API call to generate HTTP footers in response. -CG
  1541. Sat Oct 16 12:38:43 CEST 2010
  1542. Releasing libmicrohttpd 0.9.2. -CG
  1543. Tue Oct 12 15:41:51 CEST 2010
  1544. Fixed issue with data received via SSL being delayed in the
  1545. GNUtls buffer if sender stopped transmitting (but did not close
  1546. the connection) and MHD buffer size was smaller than last fragment,
  1547. resulting in possibly significantly delayed processing of
  1548. incoming data. -CG
  1549. Wed Sep 22 09:48:59 CEST 2010
  1550. Changed port argument from 'unsigned short' to 'uint16_t'.
  1551. Removed dead code when compiling with messages enabled.
  1552. Minimal unrelated code cleanup. -CG
  1553. Tue Sep 21 15:12:41 CEST 2010
  1554. Use "size_t" for buffer size instead of "int". -CG
  1555. Sat Sep 18 07:16:30 CEST 2010
  1556. Adding support for SHOUTcast. -CG
  1557. Wed Sep 15 09:33:46 CEST 2010
  1558. Fixed double-free. -CG/ES
  1559. Fri Sep 10 14:47:11 CEST 2010
  1560. Releasing libmicrohttpd 0.9.1. -CG
  1561. Fri Sep 10 14:29:37 CEST 2010
  1562. Adding proper nonce counter checking for digest authentication. -CG/AA
  1563. Sat Sep 4 21:55:52 CEST 2010
  1564. Digest authentication now seems to be working. -CG/AA
  1565. Wed Sep 1 13:59:16 CEST 2010
  1566. Added ability to specify external unescape function.
  1567. "microhttpd.h" now includes the right headers for GNU/Linux
  1568. systems unless MHD_PLATFORM_H is defined (in which case it
  1569. is assumed that the right headers were already determined by
  1570. some configure-like process). -CG
  1571. Tue Aug 31 15:39:25 CEST 2010
  1572. Fixed bug with missing call to response cleanup in case of
  1573. connection handling error (for example, after getting a SIGPIPE). -CG
  1574. Tue Aug 24 11:39:25 CEST 2010
  1575. Fixed bug in handling EAGAIN from GnuTLS (caused
  1576. needlessly dropped SSL connections). -CG
  1577. Sun Aug 22 16:49:13 CEST 2010
  1578. Initial draft for digest authentication. -AA
  1579. Thu Aug 19 14:15:01 CEST 2010
  1580. Changed code to enable error messages and HTTPS by default;
  1581. added option to disable post processor API (use
  1582. breaks binary compatibility, should only be done
  1583. for embedded systems that require minimal footprint). -CG
  1584. Thu Aug 19 13:26:00 CEST 2010
  1585. Patches for Windows to ease compilation trouble. -GT/CG
  1586. Sat Aug 14 15:43:30 CEST 2010
  1587. Fixed small, largely hypothetical leaks.
  1588. Reduced calls to strlen for header processing. -CG
  1589. Fri Aug 6 12:51:59 CEST 2010
  1590. Fixing (small) memory leak on daemon-shutdown with
  1591. SSL enabled. -CG/PG
  1592. Thu Aug 5 22:24:37 CEST 2010
  1593. Fixing timeout bug on systems that think it's still
  1594. 1970 (can happen if system time not initialized). -CG
  1595. Mon Jul 26 10:46:57 CEST 2010
  1596. Releasing libmicrohttpd 0.9.0. -CG
  1597. Sun Jul 25 14:57:47 CEST 2010
  1598. Adding support for sendfile on Linux. Adding support
  1599. for systemd-style passing of an existing listen socket
  1600. as an option. IPv6 sockets now only bind to IPv6
  1601. (if platform supports this). -CG
  1602. Sun Jul 25 11:10:45 CEST 2010
  1603. Changed code to use external libgnutls code instead of
  1604. the "fork". Minor API changes for setting TLS options. -CG
  1605. Sun Jun 13 10:52:34 CEST 2010
  1606. Cleaned up example code. -CG
  1607. Fri Apr 23 09:56:37 CEST 2010
  1608. Do not return HTTP headers for requests without version
  1609. numbers. Do return HTTP version 1.0 if client requested
  1610. HTTP version 1.1 (previously, we returned HTTP/1.1 even
  1611. if the client specified HTTP/1.0). -GM/CG
  1612. Sat Mar 13 09:41:01 CET 2010
  1613. Releasing libmicrohttpd 0.4.6. -CG
  1614. Wed Mar 10 13:18:26 CET 2010
  1615. Fixing bug in 100 CONTINUE replacement when handling POSTs
  1616. (see report on mailinglist), with testcase. -CG/MC
  1617. Tue Feb 23 09:16:15 CET 2010
  1618. Added configure check for endianness to define WORDS_BIGENDIAN
  1619. which fixes SSL support on big endian architectures. -JA/CG
  1620. Sat Feb 20 10:01:09 CET 2010
  1621. Added check for inconsistent options (MHD_OPTION_PROTOCOL_VERSION
  1622. without MHD_USE_SSL) causing instant segfault. -JA/CG
  1623. Tue Feb 9 20:31:51 CET 2010
  1624. Fixed issue with poll doing busy waiting. -BK/CG
  1625. Thu Jan 28 21:28:56 CET 2010
  1626. Releasing libmicrohttpd 0.4.5. -CG
  1627. Thu Jan 28 20:35:48 CET 2010
  1628. Make sure addresses returned by memory pool are
  1629. aligned (fixes bus errors on Sparc). -CG
  1630. Thu Dec 17 20:26:52 CET 2009
  1631. poll.h is not stricly required anymore. -ND
  1632. Fri Dec 4 13:17:50 CET 2009
  1633. Adding MHD_OPTION_ARRAY. -CG
  1634. Mon Nov 16 14:41:26 CET 2009
  1635. Fixed busy-loop in internal select mode for inactive
  1636. clients with infinite connection timeout. -CG
  1637. Thu Nov 12 16:19:14 CET 2009
  1638. Adding support for setting a custom error handler for
  1639. fatal errors (previously, the implementation always
  1640. called 'abort' in these cases). -CG/ND
  1641. Wed Nov 11 12:54:16 CET 2009
  1642. Adding support for poll (alternative to select allowing
  1643. for more than FD_SETSIZE parallel connections). -JM
  1644. Wed Oct 28 20:26:00 CET 2009
  1645. Releasing libmicrohttpd 0.4.4. -CG
  1646. Wed Oct 14 14:37:37 CEST 2009
  1647. Fixing (rare) deadlock due to SELECT missing SIGALRM by
  1648. making all SELECT calls block for at most 1s. While this
  1649. can in (rare) situations delay the shutdown by 1s, I think
  1650. this is preferable (both performance and possibly portability-wise)
  1651. over using a pipe for the signal. -CG
  1652. Sun Oct 11 14:57:29 CEST 2009
  1653. Adding eCos license as an additional license for the
  1654. non-HTTPS code of MHD. -CG
  1655. Sun Oct 11 11:24:27 CEST 2009
  1656. Adding support for Symbian. -MR
  1657. Fri Oct 9 15:21:29 CEST 2009
  1658. Check for error codes from pthread operations (to help with
  1659. error diagnostics) and abort if something went wrong. -CG
  1660. Thu Oct 8 10:43:02 CEST 2009
  1661. Added check for sockets being '< FD_SETSIZE' (just to be safe). -CG
  1662. Mon Oct 5 21:17:26 CEST 2009
  1663. Adding "COOKIE" header string #defines. -CG
  1664. Mon Oct 5 08:29:06 CEST 2009
  1665. Documenting default values. -CG
  1666. Fri Aug 28 22:56:47 CEST 2009
  1667. Releasing libmicrohttpd 0.4.3. -CG
  1668. Sun Aug 23 16:21:35 UTC 2009
  1669. Allow MHD_get_daemon_info to return the daemon's listen socket.
  1670. Includes a test case that uses this functionality to bind a server to
  1671. an OS-assigned port, look the port up with getsockname, and curl it. -DR
  1672. Tue Aug 4 00:14:04 CEST 2009
  1673. Fixing double-call to read from content-reader callback for first
  1674. data segment (as reported by Alex on the mailinglist). -CG
  1675. Thu Jul 29 21:41:52 CEST 2009
  1676. Fixed issue with the code not using the "block_size" argument
  1677. given to MHD_create_response_from_callback causing inefficiencies
  1678. for values < 2048 and segmentation faults for values > 2048
  1679. (as reported by Andre Colomb on the mailinglist). -CG
  1680. Sun May 17 03:29:46 MDT 2009
  1681. Releasing libmicrohttpd 0.4.2. -CG
  1682. Fri May 15 11:00:20 MDT 2009
  1683. Grow reserved read buffer more aggressively so that we are not
  1684. needlessly stuck reading only a handfull of bytes in each iteration. -CG
  1685. Thu May 14 21:20:30 MDT 2009
  1686. Fixed issue where the "NOTIFY_COMPLETED" handler could be called
  1687. twice (if a socket error or timeout occured for a pipelined
  1688. connection after successfully completing a request and before
  1689. the next request was successfully transmitted). This could
  1690. confuse applications not expecting to see a connection "complete"
  1691. that they were never aware of in the first place. -CG
  1692. Mon May 11 13:01:16 MDT 2009
  1693. Fixed issue where error code on timeout was "TERMINATED_WITH_ERROR"
  1694. instead of "TERMINATED_TIMEOUT_REACHED". -CG
  1695. Wed Apr 1 21:33:05 CEST 2009
  1696. Added MHD_get_version(). -ND
  1697. Wed Mar 18 22:59:07 MDT 2009
  1698. Releasing libmicrohttpd 0.4.1. -CG
  1699. Wed Mar 18 17:46:58 MDT 2009
  1700. Always RECV/SEND with MSG_DONTWAIT to (possibly) address
  1701. strange deadlock reported by Erik on the mailinglist ---
  1702. and/or issues with blocking read after select on GNU/Linux
  1703. (see select man page under bugs). -CG
  1704. Tue Mar 17 01:19:50 MDT 2009
  1705. Added support for thread-pools. -CG/RA
  1706. Mon Mar 2 23:44:08 MST 2009
  1707. Fixed problem with 64-bit upload and download sizes and
  1708. "-1" being used to indicate "unknown" by introducing
  1709. new 64-bit constant "MHD_SIZE_UNKNOWN". -CG/DC
  1710. Wed Feb 18 08:13:56 MST 2009
  1711. Added missing #include for build on arm-linux-uclibc. -CG/CC
  1712. Mon Feb 16 21:12:21 MST 2009
  1713. Moved MHD_get_connection_info so that it is always defined,
  1714. even if HTTPS support is not enabled. -CG
  1715. Sun Feb 8 21:15:30 MST 2009
  1716. Releasing libmicrohttpd 0.4.0. -CG
  1717. Thu Feb 5 22:43:45 MST 2009
  1718. Incompatible API change to allow 64-bit uploads and downloads.
  1719. Clients must use "uint64_t" for the "pos"
  1720. argument (MHD_ContentReaderCallback) and the "off"
  1721. argument (MHD_PostDataIterator) and the "size"
  1722. argument (MHD_create_response_from_callback) now.
  1723. Also, "unsigned int" was changed to "size_t" for
  1724. the "upload_data_size" argument (MHD_AccessHandlerCallback),
  1725. the argument to MHD_OPTION_CONNECTION_MEMORY_LIMIT,
  1726. the "block_size" argument (MHD_create_response_from_callback),
  1727. the "buffer_size" argument (MHD_create_post_processor) and
  1728. the "post_data_len" argument (MHD_post_process). You may
  1729. need to #include <stdint.h> before <microhttpd.h> from now on. -CG
  1730. Thu Feb 5 20:21:08 MST 2009
  1731. Allow getting address information about the connecting
  1732. client after the accept call. -CG
  1733. Mon Feb 2 22:21:48 MST 2009
  1734. Fixed missing size adjustment for offsets for %-encoded
  1735. arguments processed by the post processor (Mantis #1447). -CG/SN
  1736. Fri Jan 23 16:57:21 MST 2009
  1737. Support charset specification (ignore) after content-type
  1738. when post-processing HTTP POST requests (Mantis #1443). -CG/SN
  1739. Fri Dec 26 23:08:04 MST 2008
  1740. Fixed broken check for identical connection address. -CG
  1741. Making cookie parser more RFC2109 compliant (handle
  1742. spaces around key, allow value to be optional). -CG
  1743. Sat Dec 6 18:36:17 MST 2008
  1744. Added configure option to disable checking for CURL support.
  1745. Added MHD_OPTION to allow specification of custom logger. -CG
  1746. Tue Nov 18 01:19:53 MST 2008
  1747. Removed support for untested and/or broken SSL features
  1748. and (largely useless) options. -CG
  1749. Sun Nov 16 16:54:54 MST 2008
  1750. Added option to get unparsed URI via callback.
  1751. Releasing GNU libmicrohttpd 0.4.0pre1. -CG
  1752. Sun Nov 16 02:48:14 MST 2008
  1753. Removed tons of dead code. -CG
  1754. Sat Nov 15 17:34:24 MST 2008
  1755. Added build support for code coverage analysis. -CG
  1756. Sat Nov 15 00:31:33 MST 2008
  1757. Removing (broken) support for HTTPS servers with
  1758. anonymous (aka "no") certificates as well as
  1759. various useless dead code. -CG
  1760. Sat Nov 8 02:18:42 MST 2008
  1761. Unset TCP_CORK at the end of transmitting a response
  1762. to improve performance (on systems where this is
  1763. supported). -MM
  1764. Tue Sep 30 16:48:08 MDT 2008
  1765. Make MHD useful to Cygwin users; detect IPv6 headers
  1766. in configure.
  1767. Sun Sep 28 14:57:46 MDT 2008
  1768. Unescape URIs (convert "%ef%e4%45" to "$BCf9q(B"). -CG
  1769. Wed Sep 10 22:43:59 MDT 2008
  1770. Releasing GNU libmicrohttpd 0.4.0pre0. -CG
  1771. Wed Sep 10 21:36:06 MDT 2008
  1772. Fixed data race on closing sockets during
  1773. shutdown (in one-thread-per-connection mode). -CG
  1774. Thu Sep 4 23:37:18 MDT 2008
  1775. Fixed some boundary issues with processing
  1776. chunked requests; removed memmove from a
  1777. number of spots, in favor of using an index into
  1778. the current buffer instead. -GS
  1779. Sun Aug 24 13:05:41 MDT 2008
  1780. Now handling clients returning 0 from response callback
  1781. as specified in the documentation (abort if internal
  1782. select is used, retry immediately if a thread per
  1783. connection is used). -CG
  1784. Sun Aug 24 12:44:43 MDT 2008
  1785. Added missing reason phrase. -SG
  1786. Sun Aug 24 10:33:22 MDT 2008
  1787. Fixed bug where MHD failed to transmit the response when
  1788. the client decided not to send "100 CONTINUE" during
  1789. a PUT/POST request. -CG
  1790. Wed Jul 16 18:54:03 MDT 2008
  1791. Fixed bug generating chunked responses with chunk sizes
  1792. greater than 0xFFFFFF (would cause protocol violations). -CG
  1793. Mon May 26 13:28:57 MDT 2008
  1794. Updated and improved documentation.
  1795. Releasing GNU libmicrohttpd 0.3.1. -CG
  1796. Fri May 23 16:54:41 MDT 2008
  1797. Fixed issue with postprocessor not handling URI-encoded
  1798. values of more than 1024 bytes correctly. -CG
  1799. Mon May 5 09:18:29 MDT 2008
  1800. Fixed date header (was off by 1900 years). -JP
  1801. Sun Apr 13 01:06:20 MDT 2008
  1802. Releasing GNU libmicrohttpd 0.3.0. -CG
  1803. Sat Apr 12 21:34:26 MDT 2008
  1804. Generate an internal server error if the programmer fails
  1805. to handle upload data correctly. Tweaked testcases to
  1806. avoid running into the problem in the testcases.
  1807. Completed zzuf-based fuzzing testcases. -CG
  1808. Sat Apr 12 15:14:05 MDT 2008
  1809. Restructured the code (curl-testcases and zzuf testcases
  1810. are now in different directories; code examples are in
  1811. src/examples/).
  1812. Fixed a problem (introduced in 0.2.3) with handling very
  1813. large requests (the code did not return proper error code).
  1814. If "--enable-messages" is specified, the code now includes
  1815. reasonable default HTML webpages for various build-in
  1816. errors (such as request too large and malformed requests).
  1817. Without that flag, the webpages returned will still be
  1818. empty.
  1819. Started to add zzuf-based fuzzing-testcases (these require
  1820. the zzuf and socat binaries to be installed). -CG
  1821. Fri Apr 11 20:20:34 MDT 2008
  1822. I hereby dub libmicrohttpd a GNU package. -Richard Stallman
  1823. Sat Mar 29 22:36:09 MDT 2008
  1824. Fixed bugs in handling of malformed HTTP requests
  1825. (causing either NULL dereferences or connections to
  1826. persist until time-out, if any). -CG
  1827. Updated and integrated TexInfo documentation. -CG
  1828. Tue Mar 25 13:40:53 MDT 2008
  1829. Prevent multi-part post-processor from going to error
  1830. state when the input buffer is full and current token
  1831. just changes processor state without consuming any data.
  1832. Also, the original implementation would not consume any
  1833. input in process_value_to_boundary if there is no new
  1834. line character in sight. -AS
  1835. Remove checks for request method after it finished writing
  1836. response footers as it's only _pipelined_ requests that
  1837. should not be allowed after POST or PUT requests. Reusing
  1838. the existing connection is perfectly ok though. And there
  1839. is no reliable way to detect pipelining on server side
  1840. anyway so it is the client's responsibility to not send new
  1841. data before it gets a response after a POST operation. -AS
  1842. Clarified license in man page. Releasing
  1843. libmicrohttpd 0.2.3 -CG
  1844. Sat Mar 22 01:12:38 MDT 2008
  1845. Releasing libmicrohttpd 0.2.2. -CG
  1846. Mon Feb 25 19:13:53 MST 2008
  1847. Fixed a problem with sockets closed for reading ending up
  1848. in the read set under certain circumstances. -CG
  1849. Wed Jan 30 23:15:44 MST 2008
  1850. Added support for nested multiparts to post processor.
  1851. Made sure that MHD does not allow pipelining for methods
  1852. other than HEAD and GET (and of course still also only
  1853. allows it for http 1.1). Releasing libmicrohttpd 0.2.1. -CG
  1854. Mon Jan 21 11:59:46 MST 2008
  1855. Added option to limit number of concurrent connections
  1856. accepted from the same IP address. -CG
  1857. Fri Jan 4 16:02:08 MST 2008
  1858. Fix to properly close connection if application signals
  1859. problem handling the request. - AS
  1860. Wed Jan 2 16:41:05 MST 2008
  1861. Improvements and bugfixes to post processor implementation. - AS
  1862. Wed Dec 19 21:12:04 MST 2007
  1863. Implemented chunked (HTTP 1.1) downloads (including
  1864. sending of HTTP footers). Also allowed queuing of
  1865. a response early to suppress the otherwise automatic
  1866. "100 CONTINUE" response. Removed the mostly useless
  1867. "(un)register handler" methods from the API. Changed
  1868. the internal implementation to use a finite state
  1869. machine (cleaner code, slightly less memory consumption).
  1870. Releasing libmicrohttpd 0.2.0. - CG
  1871. Sun Dec 16 03:24:13 MST 2007
  1872. Implemented handling of chunked (HTTP 1.1) uploads.
  1873. Note that the upload callback must be able to
  1874. process chunks in the size uploaded by the client,
  1875. MHD will not "join" small chunks into a big
  1876. contiguous block of memory (even if buffer space
  1877. would be available). - CG
  1878. Wed Dec 5 21:39:35 MST 2007
  1879. Fixed race in multi-threaded server mode.
  1880. Fixed handling of POST data when receiving a
  1881. "Connection: close" header (#1296).
  1882. Releasing libmicrohttpd 0.1.2. - CG
  1883. Sat Nov 17 00:55:24 MST 2007
  1884. Fixed off-by-one in error message string matching.
  1885. Added code to avoid generating SIGPIPE on platforms
  1886. where this is possible (everywhere else, the main
  1887. application should install a handler for SIGPIPE).
  1888. Thu Oct 11 11:02:06 MDT 2007
  1889. Releasing libmicrohttpd 0.1.1. - CG
  1890. Thu Oct 11 10:09:12 MDT 2007
  1891. Fixing response to include HTTP status message. - EG
  1892. Thu Sep 27 10:19:46 MDT 2007
  1893. Fixing parsing of "%xx" in URLs with GET arguments. - eglaysher
  1894. Sun Sep 9 14:32:23 MDT 2007
  1895. Added option to compile debug/warning messages;
  1896. error messages are now disabled by default.
  1897. Modified linker option for GNU LD to not export
  1898. non-public symbols (further reduces binary size).
  1899. Releasing libmicrohttpd 0.1.0. - CG
  1900. Sat Sep 8 21:54:04 MDT 2007
  1901. Extended API to allow for incremental POST
  1902. processing. The new API is binary-compatible
  1903. as long as the app does not handle POSTs, but
  1904. since that maybe the case, we're strictly speaking
  1905. breaking backwards compatibility (since url-encoded
  1906. POST data is no longer obtained the same way). - CG
  1907. Thu Aug 30 00:59:24 MDT 2007
  1908. Improving API to allow clients to associate state
  1909. with a connection and to be notified about request
  1910. termination (this is a binary-compatible change). - CG
  1911. Fixed compile errors under OS X. - HL
  1912. Sun Aug 26 03:11:46 MDT 2007
  1913. Added MHD_USE_PEDANTIC_CHECKS option which enforces
  1914. receiving a "Host:" header in HTTP 1.1 (and sends a
  1915. HTTP 400 status back if this is violated). - CG
  1916. Tue Aug 21 01:01:46 MDT 2007
  1917. Fixing assertion failure that occured when a client
  1918. closed the connection after sending some data but
  1919. not the full headers. - CG
  1920. Sat Aug 18 03:06:09 MDT 2007
  1921. Check for out of memory when adding headers to
  1922. responses. Check for NULL key when looking
  1923. for headers. If a content reader callback
  1924. for a response returns zero (has no data yet),
  1925. do not possibly fall into busy waiting when
  1926. using external select (with internal selects
  1927. we have no choice). - CG
  1928. Wed Aug 15 01:46:44 MDT 2007
  1929. Extending API to allow timeout of connections.
  1930. Changed API (MHD_create_response_from_callback) to
  1931. allow user to specify IO buffer size.
  1932. Improved error handling.
  1933. Released libmicrohttpd 0.0.3. - CG
  1934. Tue Aug 14 19:45:49 MDT 2007
  1935. Changed license to LGPL (with consent from all contributors).
  1936. Released libmicrohttpd 0.0.2. - CG
  1937. Sun Aug 12 00:09:26 MDT 2007
  1938. Released libmicrohttpd 0.0.1. - CG
  1939. Fri Aug 10 17:31:23 MDT 2007
  1940. Fixed problems with handling of responses created from
  1941. callbacks. Allowing accept policy callback to be NULL
  1942. (to accept from all). Added minimal fileserver example.
  1943. Only send 100 continue header when specifically requested. - CG
  1944. Wed Aug 8 01:46:06 MDT 2007
  1945. Added pool allocation and connection limitations (total
  1946. number and memory size). Released libmicrohttpd 0.0.0. - CG
  1947. Tue Jan 9 20:52:48 MST 2007
  1948. Created project build files and updated API. - CG