ChangeLog 101 KB

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