ChangeLog 152 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978
  1. Thu 01 Feb 2024 15:00:00 CET
  2. Releasing GNU libmicrohttpd 1.0.0 -EG
  3. January 2024
  4. add missing lock, do not call 'close(-1)' on very rare error path.
  5. use correct HTTP header (content type, not content encoding) for mime type
  6. in examples.
  7. fix memory leak on error path. -CG
  8. MHD_OPTION_CONNECTION_MEMORY_{LIMIT,INCREMENT}: added ignore of zero value.
  9. test_upgrade{,_large}{,_tls}: unified code, removed workarounds, added new
  10. test.
  11. digest_auth_example_adv: added new advanced example for the new Digest
  12. Auth API use.
  13. Fixed compiler warnings in configure, lib, examples, tests.
  14. test_digestauth2: supported old libcurl versions.
  15. Fixed tests with GnuTLS in non-default path.
  16. configure: sorted messages in final config summary.
  17. Fixed non-debug build without HTTPS.
  18. configure: removed old workaround for Solaris.
  19. test_upgrade: adapted for macOS. -EG
  20. December 2023
  21. "Upgraded" TLS connections: fixed data pumping in various edge conditions.
  22. 'bootstrap': fixes and simplifications.
  23. Digest Auth: added default timeout and max nc values, added daemon options
  24. for default nonce timeout and max nc values, added testing, implemented
  25. setting DAuth defaults by configure parameters. -EG
  26. November 2023
  27. Updated HTTP methods, headers and reason phrases.
  28. Renamed one new basic auth function, improved doxy.
  29. digest auth: updated header, slightly modified multi-value processing. -EG
  30. websocket_threaded_example: fix websocket url string. -Evgeniy Gavrilenko
  31. configure: warn if building without threads. -EG
  32. configure: added detection of FD_SETSIZE value and ability to override it.
  33. internal.h: added macros for polling mode detection.
  34. Added use of configure-detected system default FD_SETSIZE value.
  35. internal.h: added macros for internal threads modes detection.
  36. Added MHD_OPTION_APP_FD_SETSIZE and MHD_FEATURE_FLEXIBLE_FD_SETSIZE.
  37. daemon.c: moved processing and checking of app-provided listen socket.
  38. MHD_start_daemon(): mark listen as UNIX based on available information.
  39. MHD_start_daemon(): added stricter checks for bind() and listen() return
  40. values.
  41. MHD_start_daemon(): added check for epoll FD to fit fd_set for external
  42. polling mode.
  43. Implemented and documented MHD_OPTION_LISTEN_SOCKET followed by
  44. MHD_INVALID_SOCKET.
  45. Fixed ignored daemon port when MHD_OPTION_LISTEN_SOCKET or
  46. MHD_OPTION_SOCK_ADDR are used as documented.
  47. MHD_start_daemon(): further improved UNIX / IP socket detection.
  48. Implemented new option MHD_OPTION_SOCK_ADDR_LEN.
  49. MHD_start_daemon(): added check for app-provided socket to fit fd_set.
  50. MHD_start_daemon(): fixed leaked listen socket when daemon start failed.
  51. MHD_add_connection(): added more checks for correct members of sockaddr.
  52. Timeout handling added detection of more conditions to process the data
  53. without waiting.
  54. MHD_quiesce_daemon(): fixed return value if already quiesced.
  55. MHD_start_daemon(): reject INTERNAL_POLLING_THREAD if threads are disabled.
  56. test_daemon: fixed to not skip the test if failed.
  57. test_digestauth2: fixed order of the initial checks.
  58. Improved daemon shutdown handling in external polling mode.
  59. Unified and simplified fd_set filling.
  60. Added new daemon flag MHD_USE_NO_THREAD_SAFETY and testing.
  61. Officially support zero for MHD_OPTION_THREAD_POOL_SIZE.
  62. test_upgrade: used sized send and receive, removed VLA, other improvements.
  63. test_upgrade: implemented proper timeout detection and handling. -EG
  64. September 2023
  65. fix #7928: correct tutorial direntry.
  66. proper fix for #7757. -CG
  67. W32 VS projects: added perf_replies.
  68. W32 VS projects: added .editorconfig.
  69. perf_replies improvements for W32.
  70. mhd_threads: muted compiler warning on W32.
  71. mhd_threads: fixed check for error when starting a new thread on W32.
  72. Renamed 'pid' -> 'tid' when used for threads.
  73. mhd_str: fixed possible compiler and run-time sanitizers warnings.
  74. Muted and fixed some compiler warnings.
  75. W32 VS project: corrected compiler settings.
  76. W32 VS: really muted run-time false warnings about data truncation.
  77. examples/sessions.c: fixes.
  78. Fixed missing <errno.h> includes.
  79. Refactored threads support to handle platforms without "invalid" ID value.
  80. Fixed MHD_CONNECTION_INFO_DAEMON: return master daemon. -EG
  81. check rvalues from pthread_mutex_, MHD_add_response_header,
  82. MHD_post_process in examples.
  83. Theoretical use-after-free in test on error path. -CG
  84. Do no use internal magic number if it is used by the remote client.
  85. Refactoring: store "request target" original length.
  86. Detect error earlier if request HTTP version is bad.
  87. Added calculation of request headers total size.
  88. Rewritten handling of exhaustion of memory pool when receiving.
  89. tests: fixed compiler warnings, copy-paste error, added error reporting.
  90. test_long_header: re-use the same port for all checks.
  91. Control acceptance of LF as CRLF in chunked encoding in the same way as
  92. in headers parsing.
  93. Improved compatibility with old compilers.
  94. Fixed more compiler warnings. -EG
  95. Sun Sep 3 12:23:18 AM CEST 2023
  96. Prevent queueing of responses if connection is not currently in the
  97. access handler callback (which was always not allowed per API spec,
  98. but is now met with an appropriate error response). Fixes #7757. -CG
  99. August 2023
  100. Improved CPU cores detection in perf_replies. -EG
  101. July 2023
  102. Added new tool perf_replies with automatic detection of number of available
  103. CPU on system and for the program. -EG
  104. June 2023
  105. Bump version numbers as v0.9.77 was released on parallel branch.
  106. Added test for MHD_get_version{,_bin} function and related macros.
  107. base64 decoding: added more compact code version.
  108. Refactoring: check whether memory pool block is resizeable.
  109. Re-implemented parsing of the request line from scratch with strict
  110. conformance with RFC 9110 and 9112 requirements.
  111. Re-implemented parsing of the request headers and footers from scratch with
  112. strict conformance with RFC 9110 and 9112 requirements.
  113. Fuzzing tests: almost completely re-implemented. The new version is unified
  114. and much easier to maintain.
  115. Added new tests for folded headers.
  116. Corrected HTTP error responses for clients.
  117. connection: fixed pipelined requests processing.
  118. Added checks for correct values specified for connection memory limits.
  119. process new connection: fixed missing mutex unlock in error handling path.
  120. W32 VS Projects: fixed code parsing by GUI.
  121. Focused all read-buffer grows in a single point, related improvements. -EG
  122. May 2023
  123. Improved portability of boostrap (and autogen.sh)
  124. Muted more compiler warnings in configure.
  125. Tests: updated to support new libcurl APIs and fixed deprecation
  126. warnings with new versions (the old versions are supported still).
  127. Tests: minor and cosmetic fixes and improvements.
  128. Tests: compiler warnings fixes.
  129. configure: bump gettext version.
  130. Tests: fixed build with C89 compilers.
  131. Tests: fixed tests on Darwin 22.x (Ventura).
  132. Tests: redesigned one tests group to avoid stress-testing of the OS.
  133. configure: improved portability for exotic platforms.
  134. examples: removed non-portable functions, added some checking,
  135. fixed compiler warnings, fixed erroneously commented out code.
  136. configure: fixed detection of __FUNCTION__ magic macro.
  137. Unified function name magic macros usage in code.
  138. W32 VS projects: supported ARM and ARM64.
  139. Fixed compiler warning on x32.
  140. Some minor fixes for W32 VS compilation. -EG
  141. April 2023
  142. Implemented and used new function MHD_pool_deallocate().
  143. Updated libtool fixes.
  144. Removed some autotools files from git.
  145. Added autoconf patches and fixes.
  146. {md5,sha256}_ext.c: fixed processing of initialisation error with NULL
  147. handler. -EG
  148. March 2023
  149. Upgraded TLS: fixed inefficient communication.
  150. Upgraded TLS: use more available memory for pumping the data. -EG
  151. Web 29 Mar 2023 20:56:00 CEST
  152. Bumped version as the hotfix was released based on the separate branch. -EG
  153. March 2023
  154. configure: reordered checks for compiler flags.
  155. configure: fixed checks for tsearch() and related changes.
  156. Makefile: fixed build with 'make' without nested vars support.
  157. configure: fixed compiler warnings.
  158. libcurl.m4: patched to fix compiler warning.
  159. configure: internal fixes, compiler warning fixes, cosmetics, better
  160. POSIX compatibility, fixed compatibility with old autoconf.
  161. Upgraded TLS: warn if emergency buffer is used. -EG
  162. Sun Feb 26 05:49:30 PM CET 2023
  163. Fix potential DoS vector in MHD_PostProcessor discovered
  164. by Gynvael Coldwind and Dejan Alvadzijevic (CVE-2023-27371). -CG
  165. February 2023
  166. epoll: immediately notice when other side closes the socket, instead of
  167. waiting for timeout. -CG
  168. December 2022
  169. Refactored cookies parsing.
  170. Always close connection after reply if both Content-Length and chucked are
  171. used. This is specified by RFC.
  172. Added new daemon option MHD_OPTION_CLIENT_DISCIPLINE_LV with more detailed
  173. control of accepted/rejected non-standard requests.
  174. Added new M4 helper macro.
  175. configure: used better detection of some functions when cross-compiling.
  176. configure: try to detect whether eventfd is enabled.
  177. Compiler warning fixes.
  178. Improved reported strings in tests. -EG
  179. November 2022
  180. connection: refuse requests with unsupported Transfer-Encoding.
  181. connection: reject or log requests with both chunked encoding and
  182. Content-Length.
  183. tests: fixed checking response headers as null-terminated string.
  184. Some tests fixes.
  185. configure: check fixes.
  186. Refactored user-poison: minimized scope of non-sanitized code.
  187. digestauth: avoided malloc() repeating by using the new function.
  188. MHD_get_version_bin(): added new function.
  189. test_parse_cookies: rewritten. -EG
  190. October 2022
  191. Reworked HTTPS tests. Removed hardcoded TLS version and ciphers, updated
  192. self-signed certificate.
  193. Fixed delayed call of connection notification callback in
  194. thread-per-connection mode.
  195. Fixed delayed new connection notification in thread-per-connection mode.
  196. Minor internal code improvements.
  197. Added handling of "DEBUG" preprocessor macro as an alias of "_DEBUG".
  198. TLS initialisation: re-implemented. New implementation trying to use
  199. "libmicrohttpd" system-wide GnuTLS configuration by default with fallbacks
  200. to generic system-wide GnuTLS configuration and default GnuTLS
  201. configuration.
  202. New daemon option to use addition to default configuration instead of
  203. specifying full configuration string.
  204. Added relevant tests for GnuTLS initialization.
  205. Added reporting of failed part of GnuTLS configuration string.
  206. Added MHD_FEATURE_DEBUG_BUILD value.
  207. Implemented internal protection from some wild data hypothetically reported
  208. by accept4().
  209. Internal refactoring.
  210. Prevented sending "100 continue" if request has no body or if any part of
  211. request data has been received.
  212. Reworked handling of situation when app just partially processed the data:
  213. if any data was processed then zero timeout if used for polling sockets,
  214. if no data was processed then callback in not called until the new data
  215. arrived.
  216. Fixed handling of various errors conditions detected in requests.
  217. Added test with Content-Length broken value in request.
  218. test_head: added check for excess data in reply
  219. Improved epoll connection handling.
  220. Fuzzing tests: fixed CPPFLAGS.
  221. configure: do not pass AM_TESTS_ENVIRONMENT directly.
  222. configure: added summary message about heavy and fuzzing tests
  223. test-suite: marked some tests as "very heavy" tests
  224. configure: improved check for asserts. -EG
  225. September 2022
  226. Added testing of userdigest and userhash calculations.
  227. Implemented SHA-512/256 from scratch.
  228. Digest Auth: implemented SHA-512/256 support, added
  229. MHD_FEATURE_DIGEST_AUTH_SHA512_256 and relevant tests.
  230. Made all algorithms (MD5, SHA-256, SHA-512/256) optional with ability
  231. to remove by configure parameter.
  232. Digest Auth: internal refactoring and improvements.
  233. configure: minor improvements.
  234. Fixed initialisation of very old GnuTLS versions.
  235. Replace public domain MD5 implementation with the new implementation
  236. written from scratch.
  237. MD5, SHA-256, SHA-512/256: various code improvements, special versions for
  238. compact code.
  239. Digest Auth: changed internal algorithm for re-use of nonce-nc slot.
  240. Digest Auth: used weak pseudo-random generators to avoid slot clashes.
  241. Implemented optional ability to use GnuTLS functions for MD5 and SHA-256
  242. calculations.
  243. Fixed harmless unwanted extra data processing resulting in triggering of
  244. the assert.
  245. Added testing of HEAD requests.
  246. Minor internal changes.
  247. Fixed compiler warnings for compact code version.
  248. Muted compiler warnings with clang.
  249. Configure: more workarounds for clang on W32 with incorrect headers.
  250. Removed long-unused "gauger" from tests.
  251. Fixed compiler warnings in test.
  252. test_add_conn: added reasonable limits. -EG
  253. August 2022
  254. Added testing of userhash parameter parsing.
  255. Added testing of the auth type headers in one request.
  256. Warn in log if random data has not been initialised.
  257. Digest Auth: improved response header in RFC2069 mode.
  258. Added more string processing internal functions.
  259. Digest Auth: added new option MHD_OPTION_DIGEST_AUTH_NONCE_BIND_TYPE to
  260. control nonces generation.
  261. Increased testing for Digest Auth.
  262. Digest Auth: do not use reproducible nonces generation by default.
  263. Minor correction for auth headers processing.
  264. Digest Auth: internal refactoring.
  265. Digest Auth: added algorithm value to username info (required for userhash
  266. values).
  267. Digest Auth: added new public functions for userhash and userdigest
  268. calculations. -EG
  269. July 2022
  270. Digest Auth: internal optimisations and refactoring, digest_auth_check
  271. almost completely rewritten.
  272. Digest Auth: removed use of VLA.
  273. Digest Auth: added support for username in extended notation and test
  274. for extended notation.
  275. Digest Auth: implemented userhash support and tests for extended notation.
  276. MHD_add_response_entry(): refactoring
  277. Digest Auth: implemented DAuth response function
  278. MHD_queue_auth_required_response3() from scratch. Removed old
  279. implementations, old functions converted to wrappers for the new function.
  280. Digest Auth: added new group of tests.
  281. Digest Auth: added related MHD_FEATURES_* values.
  282. Digest Auth: added detection of the algorithm used by the client and
  283. use specified algorithm if allowed by application.
  284. Configure: cosmetics and reports improvements, control static and shared
  285. enablement by --enable-build-type=.
  286. Added new daemon option MHD_OPTION_DIGEST_AUTH_RANDOM_COPY and tests.
  287. Digest Auth: implemented support for old RFC 2069 (if allowed by app) and
  288. tests for RFC 2069.
  289. Internal refactoring: moved all request-related connection struct members
  290. to dedicated struct. The same for reply-related struct members.
  291. Implemented support for both Basic and Digest headers in the same
  292. request. -EG
  293. June 2022
  294. Fixed compiler warnings in main code and examples.
  295. Added error checking in examples.
  296. Added test for parsing auth headers.
  297. Improved parsing of auth headers.
  298. Added more internal functions for quoted string processing.
  299. Added test for quoting string processing.
  300. Digest Auth: internal optimisations.
  301. Basic Auth: fixed handling of realms with slashes and/or double quotes.
  302. Digest Auth: fixed use of possible maximum client nonce length as maximum
  303. server nonce length. Reduced size of internal arrays.
  304. Basic Auth: new function MHD_queue_basic_auth_fail_response3() with support
  305. for RFC 7617.
  306. Basic Auth: added new function MHD_basic_auth_get_username_password3() with
  307. more details about username and password. Technically allow binary zero in
  308. username and in password.
  309. Fixed data races when closing upgraded connection.
  310. Replaced public domain Base64 decoder with the new implementation written
  311. from scratch. The new implementation has very precise checks for the input
  312. data.
  313. Added new test for Base64 decoding.
  314. Updated examples to use new Basic Auth functions.
  315. Fixed and improved postprocessor tests.
  316. Ported test to non-VLA compilers.
  317. Added configure parameter --enable-compact-code.
  318. Removed duplication of "Connection: upgrade" header. Patch by Alexander
  319. Irion.
  320. Configure: removed some unneeded compiler flags.
  321. Digest Auth: improved RFC match (qop value caseless match), check
  322. parameters length validity before checking the values validity, correctly
  323. compare URLs with binary zeros, check URL arguments only in the same order
  324. as specified in DAuth header.
  325. Added internal functions for percent-decoding and tests for
  326. percent-decoding.
  327. Added internal function for hex to bin decoding, tests for hex<->bin
  328. decoding.
  329. Digest Auth: added new function MHD_digest_auth_get_request_info3() and
  330. MHD_digest_auth_get_username3() with detailed information about DAuth
  331. request. -EG
  332. Fixed memory leaks in tests.
  333. Fixed wrong array size for Digest Auth. -CG
  334. May 2022
  335. Improved public doxy.
  336. Digest Auth: fixed missing mark on 'nc' value as 'used'.
  337. Digest Auth: added internal checks for unrealistically high values.
  338. Digest Auth: added check for correct values from application.
  339. Digest Auth: nonce timestamps changed to milliseconds to lower conflict
  340. probability.
  341. Digest Auth: implemented management nonce-nc map array slots so old
  342. entries are removed safely while trying to avoid to remove the new entries.
  343. configure: added 'debugger' build type.
  344. Added more tests for cookies parsing.
  345. Digest Auth: use nonce-nc map arrays with locks in master daemon only
  346. so works can re-use the nonces and nc information.
  347. MHD_set_connection_option(): reduced scope for the lock.
  348. Fixed leak of mutexes when daemon creation failed and when closing daemon
  349. with thread pool.
  350. Digest Auth: fixed stale nonce result value ambiguity.
  351. Digest Auth: added special check for fabricated nonces.
  352. Added new functions MHD_digest_auth_check3() and
  353. MHD_digest_auth_check_digest3() with detailed result of the checks.
  354. Added return NULL MHD_CONNECTION_INFO_CLIENT_ADDRESS when information is
  355. not available.
  356. Improved internal handling of non-IP connections (UNIX sockets or pipes)
  357. when processing the client address.
  358. Fixed compiler warnings.
  359. Increased testing of cookies parsing.
  360. Completely re-written cookies parsing. The new code follow RFC 6265.
  361. Made cookies parsing functionality optional, can be disabled by configure.
  362. Configure: added more warning flags.
  363. Configure: internal improvements.
  364. Globally changed '#if HAVE_SOMETHING' to '#ifdef HAVE_SOMETHING'.
  365. Enabled more compiler warnings in W32 projects.
  366. Fixed MHD functionality with blocking sockets. Patch by Kolja Nowak.
  367. Moved some macros and declaration to new specialised headers: basicauth.h
  368. and digestauth.h.
  369. Added new function to process quoted strings.
  370. Digest Auth: reworking support for multiple digest algorithms.
  371. Response processing: better handle unrealistic but broken situation.
  372. Basic and Digest Auth: completely reworked headers parsing, unified code.
  373. Added new autoconf macros.
  374. Configure: added more workarounds for clang.
  375. Fixed possible use of uninitialised variable.
  376. Added new test for Basic Auth.
  377. Some code readability improvements. -EG
  378. April 2022
  379. Added autoconf macro for checking compiler parameter/flag.
  380. Improved -fvisibility compiler flag support detection in configure.
  381. Fixed compiler warnings.
  382. Moved fixed libtool-specific flags to Makefile from configure.
  383. Configure: added reporting of final compiler/linker flags.
  384. Fixed ignored user linker flags when building library binary.
  385. Improved makefiles dependency specification.
  386. Implemented --enable-build-type=TYPE configure parameters for ready-to-use
  387. configuration sets (defaults).
  388. Separated internal types for request headers and response headers.
  389. Fixed many unneeded drops of 'const' qualifier, converted some pointers
  390. to 'const'.
  391. Added use of _MHD_EXTERN with all external function definitions.
  392. Refactored response creation functions.
  393. Added new function MHD_create_response_from_buffer_static() to avoid
  394. unwanted dropping of 'const' when application is using static strings.
  395. Added new API function MHD_create_response_from_buffer_copy().
  396. Public doxy improvements.
  397. Improved handling of TLS backends for libcurl when testing HTTPS.
  398. Updated TLS certificates for tests and examples. New certificates
  399. were generated with SAN fields to match actual requirements.
  400. Fixed old style function definitions in examples.
  401. Tuned compiler warning flags.
  402. Fixed many preprocessor macros (removed space before bracket).
  403. Fixed printf() format specifications in examples.
  404. Removed non-literal strings for printf in examples.
  405. Improved portability of examples.
  406. Fixed unaligned access via sockaddr_in pointers.
  407. Fixed unaligned access in MHD_get_connection_info() and
  408. MHD_get_daemon_info().
  409. Compiler warning fixes.
  410. Changed: any negative number returned by response data generation
  411. callback function is treated as an error.
  412. Fixed setting custom connection timeout value for thread-per-connection
  413. mode.
  414. Fixed short (lees then one second) busy-waiting when connection is about
  415. to expire by switching to milliseconds accuracy instead of seconds.
  416. Added new functions MHD_get_timeout64(), MHD_get_timeout64s(),
  417. MHD_get_timeout_i().
  418. Added some checks for possible value trim due to width conversion.
  419. Digest Auth: continuation of refactoring, optimisations.
  420. Digest Auth: do not use nonces provided by the client if they were not
  421. generated previously by MHD. -EG
  422. March 2022
  423. Added internal check for suitability of used response.
  424. Improved doxy.
  425. Improved handling of application-provide "Content-Length" header.
  426. Internally separated "Icy" flag from the response code.
  427. Fixed Address Sanitizer unpoison of memory when memory pool is destroyed.
  428. Improved log messages.
  429. Added more checks for "Upgrade" handling.
  430. Better internally separated response type handling:
  431. headers only without
  432. body-specific headers, body-specific headers without body
  433. (Content-Length/Transfer-Encoding),
  434. all headers with body.
  435. Blocked MHD_SIZE_UNKNOWN value for buffer-based responses.
  436. Significantly improved doxy for MHD_queue_response().
  437. Added new function MHD_create_response_empty()
  438. Fixed compiler flags for UBsan in configure.
  439. Added new option for "--enable-sanitizers=" parameter.
  440. Improved autoconf macros. -EG
  441. January 2022
  442. Tuned automake options.
  443. Fixed compiler warning in examples.
  444. Fixed use of initialised variable in tests.
  445. Removed unused autotools files.
  446. .gitignore: cleanup and update.
  447. Autotools: always let user override build flags.
  448. Moved 'po' files to separate directory.
  449. Fixed missing include file in docs.
  450. Fixed 'make distcheck'.
  451. Fixed use on GNU/kFreeBSD.
  452. Fixed HTTP/1.1 or 1.0 selection in tests.
  453. Other tests improvements and fixes.
  454. Digest Auth: changed "md5" / "sha-256" to "MD5" / "SHA-256" to better
  455. match RFC (while clients should use caseless matching).
  456. Initial digest auth refactoring, reject invalid input.
  457. Global rename of callback parameter 'con_cls' -> 'req_cls'.
  458. Digest auth tests improvements and fixes.
  459. Added test for parallel digest auth requests.
  460. Minor autoconf macros fixes. -EG
  461. December 2021
  462. configure: fixed unwanted output on Fedora.
  463. configure: clarified licence message.
  464. Doxy corrections and improvments. -EG
  465. Sun 26 Dec 2021 20:30:00 MSK
  466. Releasing GNU libmicrohttpd 0.9.75 -EG
  467. December 2021
  468. Fixed Makefile warning on MinGW.
  469. Fixed compiler warning on MinGW.
  470. Fixed "configure" portability (for NetBSD).
  471. MSVC project cosmetics.
  472. MSVC fixed project to fix linker warning.
  473. Fixed compiler warning on some platforms.
  474. Further improved test_client_put_stop to get stable results on all
  475. platforms.
  476. Added workaround for platforms (like OpenBSD) where system monotonic clocks
  477. may jump forward and back.
  478. Added more checks in test_large_put, increased timeout (was too small for
  479. this test). -EG
  480. Sun 19 Dec 2021 18:30:00 MSK
  481. Releasing GNU libmicrohttpd 0.9.74 -EG
  482. December 2021
  483. Fixed doxy for MHD_suspend_connection().
  484. Some code improvements for new test test_client_put_stop.
  485. Added special log message if thread creation failed due to system limits.
  486. Fully restructured new_connection_process_() to correctly handle errors,
  487. fixed missing decrement of number of daemon connections if any error
  488. encountered, fixed app notification of connection termination when app has
  489. not been notified about connection start, fixed (highly unlikely) reset of
  490. the list of connections if reached daemon's connections limit.
  491. configure: fixed some compiler warnings reported in config.log.
  492. Fixed tests on FreeBSD to support system-limited rate of RST packets and
  493. 'blackhole' system setting. -EG
  494. Fixed tests for libmagic to really use libmagic in examples. -CG
  495. Used tricks in code formatting to workaround uncrustify bugs.
  496. configure: improved compatibility with various shells.
  497. configure: added selective enable of sanitizers.
  498. Fixed compatibility with old GnuTLS versions.
  499. Fixed tests compatibility with old libcurl versions.
  500. Fixed busy-waiting in test_timeout (fixed CPU load spikes in the test).
  501. test_https_time_out: check rewritten, previously it is was no-op.
  502. test_upgrade{,_large}: fixed passing of socket value to GnuTLS on W32.
  503. Simplified Makefile for HTTPS tests.
  504. Added detection of old broken GnuTLS builds (on RHEL6 and clones) and
  505. disabled some tests broken with these builds.
  506. Muted compiler warnings with old libcurl versions.
  507. Reworked dlltool support: added support for weakened oversimplified
  508. half-broken llvm-dlltool
  509. Silenced MS lib tool warning and MS lib tool invocation.
  510. Added Makefiles rules for automatic regeneration of all required files if
  511. anything is missing.
  512. Added Makefile silent rules support for W32 RC and W32 static libs.
  513. Added local patches for autotools (mainly for libtool) to build MHD
  514. correctly on modern MinGW64/Clang.
  515. Updated HTTP headers macros from registry. -EG
  516. November 2021
  517. Clarified comments and doxy for MHD_str* and related tests.
  518. MHD_uint32_to_strx(): rewritten for readability and minor optimization,
  519. used indexes instead of pointers.
  520. Documented in doxy how to use MHD_AccessHandlerCallback.
  521. mhd_sockets: added more network error codes.
  522. W32 socket pair: set TCP_NODELAY to avoid unwanted buffering and delays.
  523. Additional doxy fixes in microhttpd.h.
  524. Fixed blocking sockets setting in tests and examples for W32.
  525. Added checks for fcntl() results in tests and examples.
  526. Added series of tests based on simple HTTP client implementation developed
  527. for testing of MHD.
  528. Renamed 'early_response' connection flag to 'discard_request' and reworked
  529. handling of connection's flags.
  530. Clarified request termination reasons doxy, fixed reporting of
  531. MHD_REQUEST_TERMINATED_READ_ERROR (previously this code was not really used
  532. in reporting).
  533. Enforce all libcurl tests exit code to be zero or one.
  534. Rewritten client upload processing: removed redundant checks, fixed
  535. skipping of chunk closure when not data is not received yet, fixed skipping
  536. of the last LF in termination chunk, handle correctly chunk sizes with more
  537. than 16 digits (leading zeros are valid according to HTTP RFC), fixed
  538. handling of CRCR, LFCR, LFLF, and bare CR as single line delimiters, report
  539. error when invalid chunk format is received without waiting to receive
  540. (possibly missing) end of the line, reply to the client with special error
  541. if chunk size is too large to be handled by MHD (>16 EiB).
  542. Added error reply if client used too large request payload (>16 EiB).
  543. Fixed return value for MHD_FEATURE_AUTOSUPPRESS_SIGPIPE on W32, now it
  544. returns MHD_YES as W32 does not need sigpipe suppression.
  545. configure: reordered and improved headers detection. Some headers require
  546. other headers to be included before, now configure supports it.
  547. Added missing ifdef guard for <stdbool.h>.
  548. mhd_sockets: reordered includes for better compatibility.
  549. Some code readability and formatting improvements. -EG
  550. October 2021
  551. Added test family test_toolarge to check correct handling of the buffers
  552. when the size of data is larger than free space.
  553. Fixed missing updated of read and write buffers sizes.
  554. Added detection and use of supported "noreturn" keyword for function
  555. declaration. It should help compiler and static analyser.
  556. Added support for leak sanitizer.
  557. Fixed analyser errors on W32.
  558. Partially reworked memory allocation from the pool, more robust
  559. implementation, always track read and write buffers.
  560. Added custom memory poisoning in memory pool with address sanitizer.
  561. Added missing update of the read buffer size.
  562. Addition for doxy for new behaviour of MHD_del_response_header().
  563. Added two tests with non-standard symbols in requests.
  564. Removed double close of connection with error in headers processing.
  565. Respond to the client with error if chunked request has broken chunked
  566. encoding as required by HTTP RFC instead of just closing the connection.
  567. Fixed request headers processing. Do not recognize bare CR as end of line.
  568. Fixed processing of CRCR, bare CR, LFCR, and LFLF as end of the line for
  569. request chunked encoding. Now only CRLF or bare LF are recognized as end
  570. of line.
  571. Added Lawrence Sebald to the AUTHORS file (iovec-based responses).
  572. Check for PAGESIZE and PAGE_SIZE macros and check whether they can be used
  573. for static variable initialization.
  574. Include "MHD_config.h" before all other includes to set macros required to
  575. be set before standard includes.
  576. Chunked response: abort with error if application returns more data than
  577. requested.
  578. Monotonic clock: use only native clock on W32 as all other clocks are just
  579. wrappers.
  580. W32: fixed builds with MSVC, added projects for VS2022, added MSVC
  581. universal project that use latest available toolset, use C17 if supported.
  582. Chunked response: fixed calculation of number of bytes left to send.
  583. microhttpd.h: doxy clarifications for sockets polling.
  584. Updated HTTP statuses, methods, and headers names from the registries.
  585. Further improved doxy for MHD_add_response_header().
  586. A few comments improvements and clarifications.
  587. Added internal connection's flag indicating discard of the request. -EG
  588. Websockets update by David Gausmann. -DG
  589. Fixed reported value for MHD_CONNECTION_INFO_CONNECTION_TIMEOUT.
  590. Minor code readability improvements in MHD_set_connection_option().
  591. Improved doxy for MHD_get_timeout().
  592. Memorypool: minor code improvements. -EG
  593. September 2021
  594. Improved system includes headers detection and usage. Removed unused
  595. headers detection.
  596. Added indirect calculation of maximum values at compile time by
  597. using types size detection. These values are used only to mute
  598. compiler warnings.
  599. Fixed pre-compiler errors if various *_MAX macros defined with
  600. non-digits symbols not readable for pre-compiler.
  601. Limit number of used CPU cores in tests to 6, unless heavy tests are
  602. enabled.
  603. Disabled parallel tests with libcurl if heavy tests are enabled.
  604. configure: removed '--enable-sanitizer' and added '--enable-sanitizers'
  605. parameters. Added testing for supported sanitizers and enabling only
  606. supported sanitizers.
  607. Added support for run-time sanitizers settings for tests when
  608. sanitizers are enabled.
  609. Added support for undefined behavior sanitizer without run-time library.
  610. Fixed various undefined behavior sanitizer detected errors, improved
  611. portability.
  612. Fixed how bitwise NOT is used with enum, fixed portability.
  613. microhttpd.h: changed macros MHD_CONTENT_READER_* to use ssize_t.
  614. test_postprocessor: added more check, improved error reporting, added
  615. new test data.
  616. postprocessor: fixed undefined behavior (memcpy(), memmove() with zero
  617. size and NULL pointer).
  618. Updated copyright year in W32 DLLs.
  619. postprocessor: fixed empty key processing.
  620. test_postprocessor: added tests with hex-encoded values.
  621. postprocessor: fixed incomplete processing of the last part of hex-encoded
  622. value if data was broken into certain sized pieces.
  623. Used type specifiers for printf() from inttypes.h to improved compatibility
  624. with various run-time libs. Fallback to standard values if type specifiers
  625. are not defined.
  626. Added detection of used run-time library (MSVCRT/UCRT) on W32.
  627. testcurl: fixed incorrect case-insensitive match for method name. Method
  628. name must be checked by using case-sensitive match.
  629. microhttpd.h: clarified some doxy descriptions.
  630. Prevented potential double sending of error responses.
  631. Fixed application notification with MHD_REQUEST_TERMINATED_COMPLETED_OK
  632. when error response has been sent (MHD_REQUEST_TERMINATED_WITH_ERROR is
  633. used).
  634. Avoid trying to send error response if response is already being sent.
  635. Improved log error message when error response is processing. -EG
  636. August 2021
  637. Silently drop "keep-alive" token from response "connection" header,
  638. "keep-alive" cannot be enforced and always enabled if possible.
  639. Further improved doxy for MHD_add_response_header().
  640. Added detection of the "Date:" header in the response headers set by
  641. app at response forming time.
  642. Disallow space in response header name, allow tab in response header
  643. value.
  644. Added internal MHD_uint8_to_str_pad() function.
  645. Used internal MHD_uint8_to_str_pad() in datestamp generation function.
  646. Added detection and reporting of incorrect "Upgrade" responses. -EG
  647. Fixed short busy waiting (up to one second) when connection is going
  648. to be closed. -AI
  649. Minor improvement for test_callback, test_get_chunked
  650. Fixed chunked responses with known size.
  651. Added two more tests for chunked response.
  652. Fixed chunked responses with predefined data (without data callback).
  653. Fixed calculation of the buffer size for the next response chunk.
  654. Completely rewritten reply header build function. The old version
  655. had several levels of hacks, was unmaintainable, did not follow
  656. HTTP specification in details; fixed used caseless header matching
  657. where case-sensitive matching must be used; removed two passes of
  658. header building. New version use clear logic and can be extended
  659. when needed.
  660. Changed behaviour: "Connection: keep-alive" is not being sent
  661. for HTTP/1.1 connection (as per HTTP RFC).
  662. test_get_chunked: fixed error reporting.
  663. HTTPS tests: fixed memory leaks if function failed.
  664. libcurl tests: improved handling of curl multi_*.
  665. Added two tests for correct choice of "Keep-Alive" or "Close".
  666. Simplified Makefile for testcurl.
  667. Fixed select() error handling in tests.
  668. microhttpd.h: minor macro formatting
  669. Changed behaviour: if response size is unknown and chunked encoding is
  670. allowed, chunked encoding is used even for non-keep-alive connection as
  671. required by HTTP RFC.
  672. Added two more tests for chunked replies.
  673. Simplified keepalive_possible(); added new value for MHD_ConnKeepAlive,
  674. added third state "Upgrade".
  675. Changed behaviour: used HTTP/1.1 replies for HTTP/1.0 requests as
  676. required by HTTP RFC. HTTP/1.0 reply still can be enforced by response
  677. flag.
  678. Added more doxy for MHD_ResponseFlags, added new names with the same
  679. values as old names: MHD_RF_HTTP_1_0_COMPATIBLE_STRICT and
  680. MHD_RF_HTTP_1_0_SERVER.
  681. Added new value MHD_RF_SEND_KEEP_ALIVE_HEADER to enforce sending of
  682. "Connection: keep-alive" even for HTTP/1.1 clients when keep-alive is
  683. used.
  684. test_get_close_keep_alive: added more combinations of parameters to
  685. check.
  686. Added separate flag for chunked response in connection instead of
  687. reusing the same flag as for chunked request.
  688. Added new connection's flag "stop_with_error".
  689. Fixed empty first line processing: the request could be not processed
  690. unless something else kicks next processing the same connection again.
  691. Added new connection states: MHD_CONNECTION_REQ_LINE_RECEIVING,
  692. MHD_CONNECTION_FULL_REQ_RECEIVED, MHD_CONNECTION_START_REPLY to
  693. simplify states logic.
  694. Changed write buffer allocation logic: as connection buffer size is
  695. known and fixed, use initially use full buffer for writing and reduce
  696. size of part used for writing if another allocation from the same
  697. buffer needs to be done. Implemented helper function to automatically
  698. reduce the size of read or write part to allocate buffer for other
  699. needs.
  700. Added define of NDEBUG if neither _DEBUG nor NDEBUG are defined.
  701. As accepted sockets inherit non-blocking flag from listening socket
  702. on all platform except Linux, track this state to use less number
  703. of syscalls.
  704. Fixed compiler and static analyser warnings.
  705. Moved HTTPS tests helper file to the HTTPS tests directory.
  706. Minor Makefiles cleanup.
  707. Added support for new monotonic clock ids.
  708. Added new internal monotonic clock function with milliseconds accuracy.
  709. Fixed support of custom connection timeout in thread-per-connection mode.
  710. Added more error checking to test_timeout.
  711. microhttpd.h: removed duplicated macro.
  712. Refined timeouts handling. Switched from seconds resolution to milliseconds
  713. resolution, added automatic detection and support of low-resolution system
  714. clock to avoid busy-waiting at connection expiration. Added log message
  715. for too large timeout period (> 146 million years) with trim to supported
  716. values. -EG
  717. Wed 04 Aug 2021 06:56:52 PM CEST
  718. Introduce new MHD_CONNECTION_INFO_HTTP_STATUS. -CG
  719. July 2021
  720. Added automatic response flags with detection when response
  721. is being formed.
  722. Added special processing for response "Connection" headers, combined
  723. multiple "Connection" headers into single header.
  724. Restructured MSVC project files.
  725. Changed MSVC project defaults to Vista+ (WinXP is still supported).
  726. Fixed copy-paste error in mhd_aligh.h, added support for MSVC.
  727. Added internal function for printing hex and decimals numbers.
  728. Reply chunked body handling fixes, used new internal functions
  729. instead of snprintf().
  730. Added automatic response flag when app sets chunked encoding header.
  731. New internal function for chunked reply footer forming. Unification with
  732. reply header forming function just over-complicated things and made
  733. function hardly maintainable.
  734. Added new function MHD_get_reason_phrase_len_for(), related tests and
  735. updated scripts for response phrases.
  736. Added more tests for chunked replies.
  737. Added function to reset connection state after finishing processing of
  738. request-reply to prepare for the next request.
  739. Added even more tests for chunked replies.
  740. Added internal function for printing uint64_t decimal numbers. -EG
  741. June 2021
  742. Tests: implemented checking of response footer.
  743. Fixed loss of incoming data if more than half of buffer is
  744. used for the next request data.
  745. Fixed completely broken calculation of request header size.
  746. Chunked response: do not ask app callback for more data then
  747. it is possible to process (more than 16 MBytes).
  748. Check and report if app used wrong response code (>999 or <100)
  749. Refuse to add second "Transfer-Encoding" header.
  750. HTTPS tests: check whether all libcurl function succeeded.
  751. HTTPS tests: implemented new detection of TLS backend.
  752. HTTPS tests: fixed tests with new TLS defaults (SSL forbidden).
  753. Implemented detection of basic HTTP methods, fixed wrong
  754. caseless matching for HTTP method names.
  755. MHD_create_response_*() functions: improved doxy.
  756. MHD_add_response_header: added detailed comment about automatic
  757. headers.
  758. Do not allow responses with 1xx codes for HTTP/1.0 requests.
  759. Fixed used order of headers: now user response headers are used in
  760. the same order as was added by application.
  761. Added new internal function MHD_get_response_element_n_().
  762. Added detection of more compiler built-ins for bits rotations.
  763. Minor optimisation of caseless strings matching.
  764. Added MHD_str_remove_token_caseless_() function and tests.
  765. Added MHD_str_remove_tokens_caseless_() function and tests. -EG
  766. May 2021
  767. Doxy description clarifications for MHD_get_timeout() and related
  768. functions.
  769. Added MHD_create_response_from_buffer_with_free_callback_cls().
  770. Added SHA-1 calculation (required for WebSockets).
  771. Added new internal header mhd_aligh.h for checking alignment of
  772. variables.
  773. Fixed SHA-256 and MD5 calculation with unaligned data.
  774. Added tests for hashes with unaligned data.
  775. Used compiler built-ins for bits rotations.
  776. Added detection of HTTP version at early stage.
  777. Added early response of unsupported HTTP version.
  778. Fixed wrong caseless matches for HTTP version strings.
  779. Added calculation of error responses at compile time (avoided
  780. repeated strlen() for known data). -EG
  781. April 2021
  782. New test for reply chunked encoding. -EG
  783. Mon 26 Apr 2021 02:09:46 PM CEST
  784. Importing experimental Websocket support by David Gausmann. -CG
  785. Sun 25 Apr 2021 14:00:00 MSK
  786. Releasing GNU libmicrohttpd 0.9.73. -EG
  787. Sat 24 Apr 2021 23:00:00 MSK
  788. Fixed build with Clang and Visual Studio.
  789. MSVS project files updated.
  790. Enabled bind port autodetection with MSVS builds. -EG
  791. Fri 23 Apr 2021 14:27:00 MSK
  792. Fixed build without TLS lib.
  793. Fixed build without system poll() function.
  794. Fixed compiler warnings on 32-bit platforms.
  795. Fixed various compiler warnings. -EG
  796. Thu 22 Apr 2021 12:32:00 MSK
  797. Fixed some typos.
  798. Force disable TCP_CORK, TCP_NOPUSH, and TCP_NODELAY before switching
  799. connection to "upgraded" mode.
  800. Improved portability of the test-suite for upgraded connections. -EG
  801. Tue 20 Apr 2021 17:11:00 MSK
  802. Disabled NLS by default in configure. -EG
  803. Mon 19 Apr 2021 18:58:00 MSK
  804. Fixed testzzuf/test_put_chanked to correctly use MHD.
  805. Added internal error code for TLS errors.
  806. Added all missing messages to the .pot file.
  807. Detect more types of errors for receiving data and report
  808. error description in the MHD log.
  809. Added support for ALPN on TLS connections if supported by
  810. used TLS library. -EG
  811. Sun 18 Apr 2021 20:47:00 MSK
  812. Removed dead code.
  813. Limited iov-backed responses size to SSIZE_MAX as limited by
  814. system calls.
  815. Report error message in MHD log for send errors. -EG
  816. Sat 17 Apr 2021 18:50:00 MSK
  817. Unified upgrade test behavior for all platforms.
  818. Some code simplification and unification.
  819. Compiler warning (false positive) fixed. -EG
  820. Fri 16 Apr 2021 17:58:00 MSK
  821. Used run-time value if IOV_MAX if available.
  822. Fixed portability of error handling for sending functions.
  823. Detect pipes/unix sockets on fly and do not use TCP/IP specific
  824. functions with them.
  825. Fixed support of UNIX sockets on non-Linux kernels. -EG
  826. Fri 16 Apr 2021 10:23:39 AM CEST
  827. Detect if a socket is a UNIX domain socket and do not try to play
  828. with TCP corking options in this case (avoids useless failed
  829. syscalls). -CG
  830. Thu 15 Apr 2021 18:56:00 MSK
  831. Fixed configure '--enable-sanitizer' parameter.
  832. Stopped pushing of partial responses when limited by system maximum size
  833. for sendmsg(). -EG
  834. Web 14 Apr 2021 22:20:00 MSK
  835. Fixed: use sendmsg() in POSIX-compatible way, do not try to send more
  836. than IOV_MAX elements per single call. -EG
  837. Sun 11 Apr 2021 15:44:00 MSK
  838. Updated test TLS certificates to not expired modern versions, restored
  839. HTTPS examples compatibility with modern browsers.
  840. TCP_NODELAY is not pre-enabled for HTTPS connection as it actually
  841. does not speed-up TLS handshakes on moders OSes. -EG
  842. Thu 01 Apr 2021 21:29:46 MSK
  843. Fixed MD5 digest authorization broken when compiled without variable
  844. length arrays support (notably with MSVC).
  845. Fixed and muted compiler warning.
  846. Deeper test with zzuf if configured with --enable-heavy-tests.
  847. Removed run-check of assert() in configure to avoid core dumps. -EG
  848. Thu 01 Apr 2021 17:46:00 MSK
  849. Added new function MHD_run_wait() useful for single-threaded applications
  850. without other network activity.
  851. Added tests for the new function. -EG
  852. Wed 17 Mar 2021 20:53:33 MSK
  853. Re-factored startup log parameters processing. Warn user if wrong logger
  854. could be used potentially.
  855. Added headers doxy with information about minimal MHD version when
  856. particular symbols were introduced.
  857. Added new daemon option to indicate SIGPIPE handling by application for
  858. daemons being run in application thread. -EG
  859. Wed 24 Feb 2021 19:23:00 MSK
  860. SIGPIPE-related macro minor refactoring for readability.
  861. Added new response iov function (and related framework), based on the patch
  862. provided by Lawrence Sebald and Damon N. Earp from NASA. -EG
  863. Thu 04 Feb 2021 06:41:34 PM CET
  864. Fix PostProcessor to always properly stop iteration when application callback
  865. tells it to do so. -CG
  866. Sun 24 Jan 2021 21:30:00 MSK
  867. Added '--enable-heavy-tests' configure parameter.
  868. Minor configure.ac and Makefiles fixes. -EG
  869. Tue 19 Jan 2021 17:59:00 MSK
  870. Fixed compatibility with autoconf. 2.70
  871. Updated M4 macros. -EG
  872. Wed 06 Jan 2021 08:39:58 PM CET
  873. Return timeout of zero also for connections awaiting cleanup. -CG
  874. Tue 29 Dec 2020 15:39:00 MSK
  875. Improved speed of TLS handshake by pre-enabling TCP_NODELAY. -EG
  876. Mon 28 Dec 2020 21:36:00 MSK
  877. Releasing libmicrohttpd 0.9.72. -EG
  878. Mon 28 Dec 2020 09:37:00 MSK
  879. Completely reworked and rewritten TCP_CORK, TCP_NOPUSH, TCP_NODELAY and
  880. MSG_MORE handling. Reduced number of sys-calls, fixed portability for
  881. FreeBSD, OpenBSD, NetBSD, Darwin, W32, Solaris.
  882. Removed usage of gnutls_record_cork() as it fully blocks stream until
  883. final block is ready.
  884. Fixed compatibility with C90 compilers.
  885. Really started using sendmsg() for header + body combined single-call
  886. response sending.
  887. Fixed sending of response body by sendmsg() when it shouldn't be sent,
  888. like responses for HEAD requests.
  889. Improved error handling for gnutls_record_send().
  890. Updated W32 resources for .DLLs.
  891. Fixed building with various disabled features (like messages, HTTPS,
  892. http-upgrade, authorization etc.)
  893. Fixed possible SIGPIPE generation when sendfile() is used (it was always
  894. possible on Linux that sendfile() produce SIGPIPE, now it's fixed).
  895. Several compiler warnings muted and/or fixed in the lib code and in
  896. the examples. -EG
  897. Sun 01 Nov 2020 17:17:00 MSK
  898. Fixed conflict with system CPU_COUNT macro.
  899. Minor improvements of error reporting in MHD daemon.
  900. Fixed FTBFS with GnuTLS versions before 3.1.9
  901. Fixed test_add_conn for multi-CPU machines.
  902. Fixed analyzer warnings.
  903. Fixed use-after-free and resources leaks for upgraded connections
  904. in TLS mode with thread-per-connection. -EG
  905. Sun 25 Oct 2020 19:31:00 MSK
  906. Fixed epoll mode without listening socket.
  907. Minor improvements of thread sync.
  908. Fixed broken sendfile on FreeBSD.
  909. Fixed broken MHD with thread-pool and without listening socket.
  910. Added four tests for MHD_add_connection().
  911. Fixed several resources leaks in error handlers.
  912. Re-implemented scheme of handling of externally added connections,
  913. fixed thread-safety. -EG
  914. Wed 21 Oct 2020 10:00:58 AM CEST
  915. Corking should be OFF when sending the footer (#6610). -AP/CG
  916. Wed 07 Oct 2020 11:07:00 MSK
  917. W32 default target version changed to Vista, XP is still supported.
  918. Minor fixes and additional asserts for memorypool.
  919. IPv6 tests are not used if IPv6 is disabled at run-time. -EG
  920. Sun 27 Sep 2020 10:08:03 PM CEST
  921. Fixed incorrect triggering of epoll edge polling for
  922. "upgraded" TLS connections. Fixed a few cases where
  923. gnutls_record_uncork() return value was still ignored,
  924. possibly causing buffer to not be flushed correctly. -CG
  925. Sat 26 Sep 2020 08:18:02 PM CEST
  926. Make MHD_USE_NO_LISTEN_SOCKET work in conjunction with
  927. MHD internal threads. -CG/DE
  928. Thu 24 Sep 2020 16:55:00 MSK
  929. Fixed compiler warnings on W32.
  930. Minor optimisation of MHD_YES/MHD_NO internal usage.
  931. Refactor and cleanup of internal debugging macros.
  932. Updated HTTP status codes, header names and methods from
  933. the registries.
  934. Fixed portability of test_upgrade_large.
  935. Minor testsuite fixes.
  936. Restored parallel build of libmicrohttpd (except tests). -EG
  937. Fri 11 Sep 2020 10:08:22 PM CEST
  938. Fix crash problem in PostProcessor reported by MD. -CG
  939. Fix GnuTLS configure test to check for gnutls_record_uncork. -CG
  940. Wed 19 Aug 2020 09:40:39 AM CEST
  941. Add logic to check on MHD_pool_reallocate() failure reported on the
  942. mailinglist (will NOT yet fix the issue). -CG
  943. Sun 26 Jul 2020 01:56:54 PM CEST
  944. Add MHD_create_response_from_pipe() to allow creating a response based
  945. on data read from a pipe. -CG
  946. Fri Jul 10 15:04:51 CEST 2020
  947. Fixed Postprocessor URL-encoded parsing if '%' fell on boundary. -CG/MD
  948. Thu 02 Jul 2020 09:56:23 PM CEST
  949. Fixed return type of MHD_queue_basic_auth_fail_response. -CA/CG
  950. Sun 28 Jun 2020 09:36:01 PM CEST
  951. Fix buffer overflow issue in URL parser.
  952. Releasing libmicrohttpd 0.9.71. -CG
  953. Tue 16 Jun 2020 08:44:22 PM CEST
  954. Add logic to try again if GNUtls uncork() fails. -CG
  955. Wed 10 Jun 2020 09:44:29 PM CEST
  956. Fixed PostProcessor bug discovered by MD, which given certain parser
  957. boundaries caused the returned values to be wrong. -CG/MD
  958. Wed 08 Apr 2020 10:53:01 PM CEST
  959. Introduce `enum MHD_Result` for #MHD_YES/#MHD_NO to avoid using 'int' so much.
  960. Note that this change WILL cause compiler warnings until (most) MHD callbacks
  961. in application code change their return type from 'int' to 'enum MHD_Result'.
  962. That said, avoiding possible confusions of different enums is going to make
  963. the code more robust in the future. For conditional compilation, test
  964. for "MHD_VERSION >= 0x00097002". -CG
  965. Tue 07 Apr 2020 02:58:39 PM BRT
  966. Fixed #5501 (Added example for how to provide a tiny threaded websocket server). -SC
  967. Tue 31 Mar 2020 02:36:40 PM BRT
  968. Fixed #6142 (applied several spelling fixes). -DKG/-SC
  969. Sat 07 Mar 2020 05:20:33 PM CET
  970. Fixed #6090 (misc. severe socket handling bugs on OS X). -CG
  971. Sat 08 Feb 2020 09:12:54 PM CET
  972. Fixed 100-continue handling for PATCH method (#6068).
  973. Fixed FTBFS from wrong #endif position for certain builds (#6025).
  974. Fixed connection overflow issue when combining MHD_USE_NO_LISTEN_SOCKET
  975. with MHD_USE_THREAD_PER_CONNECTION (#6036).
  976. Updated m4 script to fix FTBFS when using -Werror=unused-but-set-parameter (#6078).
  977. Releasing libmicrohttpd 0.9.70. -CG
  978. Thu Dec 26 14:43:27 CET 2019
  979. Adding fix for urlencoding of keys without values in
  980. post-processor logic. -CG
  981. Tue 24 Dec 2019 03:32:18 PM CET
  982. Adding patch from Ethan Tuttle with test case for urlencoding
  983. in post-processor for keys without values. -CG/ET
  984. Sun 15 Dec 2019 02:12:02 PM CET
  985. Fix send() call (affects Mac OS X). #5977 -CG/fbrault
  986. Releasing libmicrohttpd 0.9.69. -CG
  987. Fri 29 Nov 2019 11:22:25 PM CET
  988. If application suspends a connection before we could send 100 CONTINUE,
  989. give application another shot at queuing a reply before the upload begins. -CG
  990. Sat 26 Oct 2019 06:53:05 PM CEST
  991. Fix regression where MHD would fail to return an empty response
  992. when used with HTTPS.
  993. Releasing libmicrohttpd 0.9.68. -CG/TR
  994. Fri 25 Oct 2019 02:31:59 PM CEST
  995. Introduce MHD_RF_INSANITY_HEADER_CONTENT_LENGTH. -CG
  996. Thu 17 Oct 2019 04:50:52 PM CEST
  997. Integrate 0-byte send() method for uncorking for old FreeBSD/OS X
  998. systems into new mhd_send.c logic for uncorking.
  999. Releasing libmicrohttpd 0.9.67. -CG
  1000. Fri 18 Aug 2019 00:00:00 PM UTC
  1001. Fixes and optimizations for the setsockopt handling:
  1002. * Added: MHD_UPGRADE_ACTION_CORK_ON and MHD_UPGRADE_ACTION_CORK_OFF
  1003. to enum MHD_UpgradeAction (turn corking on/off on the underlying
  1004. socket).
  1005. * Use calls and flags native to the system for corking and
  1006. other operations, tested with performance improvements on
  1007. FreeBSD, Debian Linux, NetBSD, and cygwin. In particular,
  1008. this adds selective usage of MSG_MORE, NODELAY, TCP_NOPUSH,
  1009. TCP_CORK. -ng0
  1010. Fri 09 Aug 2019 10:07:27 AM CEST
  1011. Copy compiler and linker hardening flags from GNUnet (updating
  1012. configure.ac). -CG
  1013. Thu 01 Aug 2019 01:23:36 PM CEST
  1014. Releasing libmicrohttpd 0.9.66. -CG
  1015. Thu 01 Aug 2019 12:53:49 AM CEST
  1016. Fix issue with discarding unhandled upload data discovered
  1017. by Florian Dold. -CG
  1018. Mon 29 Jul 2019 08:01:50 PM CEST
  1019. Fix hanging situation with large transmission over upgraded
  1020. (i.e. Web socket) connection with epoll() and HTTPS enabled
  1021. (as reported by Viet on the mailinglist). -CG
  1022. Thu 25 Jul 2019 02:40:12 PM CEST
  1023. Fixing regression introduced in cc5032b85 (bit mask matching
  1024. of the header kinds in MHD_lookup_connection_value()), as
  1025. reported by Jose Bollo on the mailinglist. -CG/JB
  1026. Tue Jul 16 19:56:14 CEST 2019
  1027. Add MHD_OPTION_HTTPS_CERT_CALLBACK2 to allow OCSP stapling
  1028. and MHD_FEATURE_HTTPS_CERT_CALLBACK2 to check for. -TR
  1029. Fri Jul 05 2019 22:30:40 MSK
  1030. Releasing libmicrohttpd 0.9.65. -EG
  1031. Sun Jun 23 2019 21:27:43 MSK
  1032. Many fixes and improvements for connection-specific memory pool:
  1033. * Added asserts;
  1034. * Added testing of reallocation;
  1035. * Reallocation code rewritten to avoid extra allocation, when
  1036. possible to reuse already allocated memory;
  1037. * Large memory pools aligned to system page size;
  1038. * Large memory pools on W32 are cleared more securely after use,
  1039. optimised usage of system memory.
  1040. Better handled connection's memory shortage situations:
  1041. * error response could be sent to client even if all buffer space
  1042. was used;
  1043. * if buffer space become low when receiving, do not allocate last
  1044. buffer space and use small receive blocks instead.
  1045. Improved sending speed by using all available buffer space for
  1046. sending. -EG
  1047. Sun Jun 09 2019 20:27:04 MSK
  1048. Releasing libmicrohttpd 0.9.64. -EG
  1049. Sun Jun 09 2019 20:03:16 MSK
  1050. Updated HTTP headers, methods and status codes from registries,
  1051. Added scripts to import new headers, methods and status codes from
  1052. registries,
  1053. Minor doxyget comment fix,
  1054. Added missing MSVS project files to tarball.
  1055. Reodered includes in microhttpd.h -EG
  1056. Mon 03 Jun 2019 11:45:52 PM CEST
  1057. Apply MHD_-prefix to hash functions, even if they are not in the
  1058. officially exported API. -CG/DB
  1059. Sun Jun 02 01:52:11 MSK 2019
  1060. Support usage of SOCK_NOSIGPIPE on Solaris 11.4 and NetBSD 7+,
  1061. finally avoid SIGPIPE on Solaris. -EG
  1062. Sat Jun 01 22:51:50 MSK 2019
  1063. Do not report errors if AF_UNIX socket is used on *BSD. -EG
  1064. Thu May 30 23:32:09 MSK 2019
  1065. Improved detection of 'getsockname()' in configure.
  1066. Avoided using 'getsockname()' in code if not detected. -EG
  1067. Sun May 26 23:32:49 MSK 2019
  1068. Fixed some tests on W32. -EG
  1069. Sun May 26 23:05:42 MSK 2019
  1070. Better detection of sockaddr member in configure, fixed build on *BSD,
  1071. Fixed compiler warnings,
  1072. Updated and fixed libcurl tests. -EG
  1073. Tue May 21 22:12:43 MSK 2019
  1074. Fixed doxygen comments,
  1075. Avoid dropping 'const' qualifier in macros,
  1076. Fixed some compiler warnings,
  1077. Properly support automatic port detections on some platforms,
  1078. Added checks for too long TLS parameters strings. -EG
  1079. Tue May 21 17:52:48 MSK 2019
  1080. Spelling fixes. -EG
  1081. Mon May 20 15:39:35 MSK 2019
  1082. Compiler warning fixes. -EG/CG
  1083. Fixed example for non-64bits platforms. -EG
  1084. Wed May 15 23:51:49 MSK 2019
  1085. Optimized and improved processing speed by using precalculated and
  1086. already calculated lengths of strings. -EG
  1087. Wed May 15 14:54:00 MSK 2019
  1088. Fixed build from source on GNU Hurd. -EG
  1089. Mon May 6 11:58:00 MSK 2019
  1090. Updated README and COPYING files. MHD remains LGPLv2.1-licensed. -EG
  1091. Fri May 3 20:08:00 MSK 2019
  1092. Store connection's keys and values with sizes;
  1093. Speedup keys search be comparing key length first;
  1094. Added functions for working with keys and values with binary zeros;
  1095. Fixed test_postprocessor_amp to fail on problems. -EG
  1096. Wed May 1 16:40:00 MSK 2019
  1097. Reverted change of MHD_KeyValueIterator, implemented MHD_KeyValueIteratorN
  1098. with sizes for connection's key and value to get keys and values
  1099. with binary zeros. -EG
  1100. Mon 29 Apr 2019 01:26:39 AM BRT
  1101. Fixed signed/unsigned comparison in example http_chunked_compression.c. -SC/TR
  1102. Sun Apr 21 16:40:00 MSK 2019
  1103. Improved compatibility with MSVC compilers;
  1104. Fixed MHD compilation by Clang/LLVM in VS;
  1105. Used MSVC intrinsics for bit rotations and bytes swap;
  1106. Added project files for VS2019. -EG
  1107. Fri Apr 19 23:00:00 MSK 2019
  1108. Rewritten SHA-256 calculations from scratch to avoid changing LGPL version;
  1109. Added usage of GCC/Clang built-ins for bytes swap to significantly improve
  1110. speed of MD5 and SHA-256 calculation on platforms with known endianness.
  1111. Added test for SHA-256 calculations. -EG
  1112. Wed Apr 17 20:52:00 MSK 2019
  1113. Refactoring of mhd5.c: optimized, dead code removed;
  1114. Faster MD5 calculation on little endian platforms;
  1115. Bit manipulations moved to separate header file.
  1116. Added tests for MD5 calculations. -EG
  1117. Mon 15 Apr 2019 05:33:52 PM CEST
  1118. Add MHD_USE_POST_HANDSHAKE_AUTH_SUPPORT and
  1119. MHD_USE_INSECURE_TLS_EARLY_DATA flags. -CG
  1120. Thu Apr 11 11:37:00 MSK 2019
  1121. Fixed MSVC 'Release' builds;
  1122. Fixed usage of MSVC's assert. -EG
  1123. Wed Apr 10 14:31:00 MSK 2019
  1124. Improved shell compatibility for 'bootstrap', removed bash-ism.
  1125. Added wrapper script 'autogen.sh'. -EG
  1126. Mon 08 Apr 2019 03:06:05 PM CEST
  1127. Fix close() checks as suggested by MK on the mailinglist
  1128. (#3926). -MK/CG
  1129. Wed 20 Mar 2019 10:20:24 AM CET
  1130. Adding additional "value_length" argument to MHD_KeyValueIterator
  1131. callback to support binary zeros in values. This is done in a
  1132. backwards-compatible way, but may require adding a cast to existing
  1133. code to avoid a compiler warning. -CG
  1134. Sun Feb 10 21:00:37 BRT 2019
  1135. Added example for how to compress a chunked HTTP response. -SC
  1136. Sun 10 Feb 2019 05:03:44 PM CET
  1137. Releasing libmicrohttpd 0.9.63. -CG
  1138. Sat 09 Feb 2019 01:51:02 PM CET
  1139. Extended test_get to test URI logging and query string parsing
  1140. to avoid regression fixed in previous patch in the future. -CG
  1141. Thu Feb 7 16:16:12 CET 2019
  1142. Preliminary patch for the raw query string issue, to be tested. -CG
  1143. Tue Jan 8 02:57:21 BRT 2019
  1144. Added minimal example for how to compress HTTP response. -SC
  1145. Wed Dec 19 00:06:03 CET 2018
  1146. Check for GNUTLS_E_AGAIN instead of GNUTLS_E_INTERRUPTED when
  1147. giving up on a TLS connection. -LM/CG
  1148. Thu Dec 13 22:48:14 CET 2018
  1149. Fix connection timeout logic if in thread-per-connection mode the
  1150. working thread takes longer than the timeout to queue the response. -CG
  1151. Tue Dec 11 09:58:32 CET 2018
  1152. Add logic to avoid VLA arrays with compilers that do not support them. -CG
  1153. Sat Dec 8 23:15:53 CET 2018
  1154. Fixed missing WSA_FLAG_OVERLAPPED which can cause W32 to block on
  1155. socket races when using threadpool. (See very detailed description
  1156. of the issue in the libmicrohttpd mailinglist post of today.) -JM
  1157. Sat Dec 8 22:53:56 CET 2018
  1158. Added test for RFC 7616 and documented new API.
  1159. Releasing libmicrohttpd 0.9.62. -CG
  1160. Sat Dec 8 17:34:58 CET 2018
  1161. Adding support for RFC 7616, experimental, needs
  1162. testing and documentation still! -CG
  1163. Fri Dec 7 12:37:17 CET 2018
  1164. Add option to build MHD without any threads
  1165. and MHD_FEATURE_THREADS to test for it. -CG
  1166. Thu Dec 6 13:25:08 BRT 2018
  1167. Renamed all occurrences from _model(s)_ to _mode(s)_. -SC
  1168. Thu Dec 6 12:50:11 BRT 2018
  1169. Optimized the function MHD_create_response_from_callback() for
  1170. Windows by increasing its internal buffer size and allowed to customize
  1171. it via macro MHD_FD_BLOCK_SIZE. -SC
  1172. Thu Dec 6 02:11:15 BRT 2018
  1173. Referenced the gnutls_load_file() function in the HTTPs examples. -SC
  1174. Wed Dec 5 18:08:59 CET 2018
  1175. Fix regression causing URLs to be unescaped twice. -CG
  1176. Sun Nov 18 13:08:11 CET 2018
  1177. Parse arguments with (properly) escaped URLs correctly.
  1178. (making things work with recent cURL changes, #5473).
  1179. Replace sprintf with snprintf in testcases.
  1180. Releasing libmicrohttpd 0.9.61. -CG
  1181. Wed Nov 14 14:01:21 CET 2018
  1182. Fix build issue with GnuTLS < 3.0. -CG
  1183. Mon Nov 12 19:50:43 CET 2018
  1184. Fix #5473 (test case failure due to change in libcurl). -eworm
  1185. Thu Nov 8 14:53:27 CET 2018
  1186. Add MHD_create_response_from_buffer_with_free_callback. -CG
  1187. Tue Nov 6 19:43:47 CET 2018
  1188. Upgrading to gettext 0.19.8.
  1189. Releasing libmicrohttpd 0.9.60. -CG
  1190. Thu Nov 1 16:29:59 CET 2018
  1191. Enable using epoll() without listen socket. -JB
  1192. Sat Oct 20 12:44:16 CEST 2018
  1193. In thread-per-connection mode, signal main thread for
  1194. thread termination for instant clean-up and application
  1195. notification about closed connections. -CG
  1196. Tue Oct 16 20:43:41 CEST 2018
  1197. Add MHD_RF_HTTP_VERSION_1_0_RESPONSE option to make MHD
  1198. act more like an HTTP/1.0 server. -GH
  1199. Fri Oct 5 18:44:45 CEST 2018
  1200. MHD_add_response_header() now prevents applications from
  1201. setting a "Transfer-Encoding" header to values other than
  1202. "identity" or "chunked" as other transfer encodings are
  1203. not supported by MHD. (Note that usually MHD will pick the
  1204. transfer encoding correctly automatically, but applications
  1205. can use the header to force a particular behavior.)
  1206. Fixing #5411 (never set Content-length if Transfer-Encoding
  1207. is given). -CG
  1208. Sat Jul 14 11:42:15 CEST 2018
  1209. Add MHD_OPTION_GNUTLS_PSK_CRED_HANDLER to allow use of PSK with
  1210. TLS connections. -CG/TM
  1211. Sat Jul 14 11:03:37 CEST 2018
  1212. Integrate patch for checking digest authentication based on
  1213. a digest, allowing servers to store passwords only hashed.
  1214. Adding new function MHD_digest_auth_check_digest(). -CG/DB
  1215. Sat Mar 10 12:15:35 CET 2018
  1216. Upgrade to gettext-0.19.8.1. Switching to more canonical
  1217. gettext integration. -CG
  1218. Fri Mar 2 21:44:24 CET 2018
  1219. Ensure MHD_RequestCompletedCallback is always called from
  1220. the correct thread (even on shutdown and for upgraded connections). -CG
  1221. Tue Feb 27 23:27:02 CET 2018
  1222. Ensure MHD_RequestCompletedCallback is also called for
  1223. upgraded connections. -CG
  1224. Fri Feb 16 03:09:33 CET 2018
  1225. Fixing #5278 as suggested by reporter. -CG/texec
  1226. Thu Feb 1 10:12:22 CET 2018
  1227. Releasing GNU libicrohttpd 0.9.59. -CG
  1228. Thu Feb 1 08:39:50 CET 2018
  1229. Fix masking operation. -CG/silvioprog
  1230. Mon Jan 29 17:33:54 CET 2018
  1231. Fix deadlock when failing to prepare chunked response
  1232. (#5260). -CG/ghaderer
  1233. Thu Jan 4 12:24:33 CET 2018
  1234. Fix __clang_major__ related warnings for non-clang
  1235. compilers reported by Tim on the mailinglist. -CG
  1236. Mon Dec 11 17:11:00 MSK 2017
  1237. Fixed tests on platforms with huge number of CPUs.
  1238. Doxygen configuration was updated.
  1239. Various doxygen fixes. -EG
  1240. Mon Dec 07 21:08:00 MSK 2017
  1241. Releasing GNU libmicrohttpd 0.9.58. -EG
  1242. Mon Dec 07 16:01:00 MSK 2017
  1243. Fixed HTTPS tests on modern platforms. -EG
  1244. Mon Dec 04 15:43:00 MSK 2017
  1245. Minor documentation installation fixes. -EG
  1246. Mon Nov 27 22:58:38 CET 2017
  1247. Tolerate AF_UNIX when trying to determine our binding port
  1248. from socket. Use `sockaddr_storage` instead of trying to
  1249. guess the sockaddr type before calling getsockname(). -CG
  1250. Mon Nov 27 22:24:00 MSK 2017
  1251. Releasing GNU libmicrohttpd 0.9.57. -EG
  1252. Mon Nov 27 21:36:00 MSK 2017
  1253. Updated README. -EG
  1254. Mon Nov 27 18:37:00 MSK 2017
  1255. Corrected names in W32 DLL resources.
  1256. Reordered and clarified configure summary message.
  1257. Additional compiler warning mutes for builds with various configure
  1258. parameters.
  1259. Fixed tests on Cygwin.
  1260. Used larger SETSIZE for Cygwin (same value as for native W32).
  1261. Minor fixes for Cygwin.
  1262. Added configure parameter to force disable usage of sendfile().
  1263. Minor testsuite fixes.
  1264. Really fixed builds with optimisation for size. -EG
  1265. Sat Nov 25 18:37:00 MSK 2017
  1266. Fixed build with optimisation for size. -EG
  1267. Fri Nov 24 20:14:02 CET 2017
  1268. Releasing GNU libmicrohttpd 0.9.56. -CG
  1269. Thu Nov 23 17:40:00 MSK 2017
  1270. Added MHD_FEATURE_SENDFILE enum value and report. -EG
  1271. Thu Nov 23 08:56:00 MSK 2017
  1272. Fixed receiving large requests in TLS mode with epoll.
  1273. Improved GnuTLS and libgcrypt detection in configure, do not ignore
  1274. flags in GNUTLS_{CFLAGS,LIBS} variables.
  1275. Added special trick for Solaris/Openindiana to find GnuTLS-3 with
  1276. right bitness.
  1277. Added support for Solaris sendfile(3) function.
  1278. Fixed dataraces with thread ID on W32 and pthread. Now check for
  1279. correct thread in MHD_queue_response() works correctly.
  1280. Fixed and silenced compiler warnings in tests and examples.
  1281. Removed usage of TLS flags in examples where TLS is not required.
  1282. Added support for MultiSSL in https tests with libcurl >= 7.56.0.
  1283. Improved detection of OFF_T_MAX, SIZE_MAX. Added macros for
  1284. SSIZE_MAX in mhd_limits.h. There are some platforms that really
  1285. require those macros.
  1286. Added support for Darwin's sendfile() function.
  1287. Updated .gitignore files.
  1288. Reworked mhd_sys_extentions.m4 with better support of modern
  1289. platforms, more reliable detection of required macros, and
  1290. detection of disabling of system-specific features by
  1291. _XOPEN_SOURCE macro. -EG
  1292. Wed Nov 1 20:43:00 MSK 2017
  1293. Mixed and muted many compiler warnings. Now GCC's flags
  1294. -Wall -Wextra could be used for building.
  1295. Fixed compilation of examples without libmagic.
  1296. Better detection of libgnutls in configure.
  1297. Reworked launch of nested configure in "po" directory to
  1298. prevent useless reconfiguration.
  1299. Fixed some wrong asserts.
  1300. Enabled "test_options" test.
  1301. Use "test_start_stop" without libcurl.
  1302. Use chunks with sendfile() to prevent locking thread for
  1303. single connection with large file.
  1304. Added support for FreeBSD's sendfile with additional
  1305. optimisations for FreeBSD 11.
  1306. Refactoring and improvements for MHD_start_daemon_va() and
  1307. MHD_stop_daemon().
  1308. Fixed testing with GnuTLS >= 3.6.0. -EG
  1309. Mon Oct 9 22:38:07 CEST 2017
  1310. Add MHD_free() to allow proper free()-ing of username/password
  1311. data returned via MHD_digest_auth_get_username() or
  1312. MHD_basic_auth_get_username_password() on Windows. -CG
  1313. Tue Sep 26 14:00:58 CEST 2017
  1314. Fixing race involving setting "at_limit" flag. -CG
  1315. Tue Sep 08 21:39:00 MSK 2017
  1316. Fixed build of examples when MHD build with non-pthread lib.
  1317. MHD_queue_response(): added check for using in correct thread.
  1318. Fixed sending responses larger 16 KiB in TLS mode with epoll.
  1319. Improved doxy for MHD_get_timeout() and related functions.
  1320. Minor internal refactoring. -EG
  1321. Tue Jul 23 11:32:00 MSK 2017
  1322. Updated chunked_example.c to provide real illustration of usage of
  1323. chunked encoding. -EG
  1324. Thu Jul 13 21:41:00 MSK 2017
  1325. Restored SIGPIPE suppression in TLS mode.
  1326. Added new value MHD_FEATURE_AUTOSUPPRESS_SIGPIPE so application could
  1327. check whether SIGPIPE handling is required.
  1328. Used GNUTLS_NONBLOCK for TLS sessions. -EG
  1329. Tue Jun 20 23:52:00 MSK 2017
  1330. Libgcrypt is now optional and required only for old GnuTLS versions. -EG
  1331. Wed Jun 14 21:42:00 MSK 2017
  1332. Added support for debug assert() and new configure parameter
  1333. --enable-asserts for debug builds.
  1334. Removed non-functional Symbian support. -EG
  1335. Mon Jun 05 23:34:00 MSK 2017
  1336. More internal refactoring:
  1337. merged MHD_tls_connection_handle_read/write() with non-TLS version,
  1338. reduced and unified number of layers for network processing (before
  1339. refactoring MHD_tls_connection_handle_read->MHD_connection_handle_read->
  1340. do_read->recv_tls_adapter->GnuTLS->recv_param_adapter - 5 MHD layers;
  1341. after refactoring MHD_connection_handle_read->recv_tls_adapter->GnuTLS -
  1342. 2 MHD layers),
  1343. simplified and removed dead code from
  1344. MHD_connection_handle_read/write() without functional change. -EG
  1345. Mon Jun 05 22:20:00 MSK 2017
  1346. Internal refactoring:
  1347. used TCP sockets directly with GnuTLS (performance improvement),
  1348. moved some connection-related code from daemon.c to
  1349. connection.c/connection_https.c,
  1350. removed hacks around sendfile() and implemented correct support of
  1351. sendfile(),
  1352. removed do_read() and do_write() to reduce number of layer around send()
  1353. and recv() and to improve readability and maintainability of code,
  1354. implemented separate tracking of TLS layer state, independent of HTTP
  1355. connection stage. -EG
  1356. Sun Jun 04 15:02:00 MSK 2017
  1357. Improved thread-safety of MHD_add_connection() and
  1358. internal_add_connection(), minor optimisations. -EG
  1359. Sun May 28 23:26:00 MSK 2017
  1360. Releasing GNU libmicrohttpd 0.9.55. -EG
  1361. Sun May 21 18:48:00 MSK 2017
  1362. Fixed build with disabled "UPGRADE".
  1363. Fixed possible null-dereference in HTTPS test.
  1364. Fixed compiler warning in process_request_body(), minor optimizations.
  1365. Do not allow suspend of "upgraded" connections.
  1366. Fixed returned value for MHD_CONNECTION_INFO_CONNECTION_SUSPENDED.
  1367. Fixed removal from timeout lists of non-existing connections in
  1368. cleanup_connection().
  1369. Fixed double locking of mutex. -EG
  1370. Sun May 14 15:05:00 MSK 2017
  1371. Fixed resuming connections and closing upgraded connections in select()
  1372. mode with thread-per-connection. -EG
  1373. Sun May 14 14:49:00 MSK 2017
  1374. Removed extra call to resume connections in MHD_run().
  1375. Handle resumed connection without delay in epoll mode.
  1376. Update states of resumed connection after resume in thread-per-connection
  1377. mode.
  1378. Fixed resuming connections and closing upgraded connections in poll()
  1379. mode with thread-per-connection. -EG
  1380. Thu May 11 22:37:00 MSK 2017
  1381. Faster start really processing data in resumed connections. -EG
  1382. Thu May 11 14:24:00 MSK 2017
  1383. Do not add any "Connection" headers for "upgrade" connections. -EG
  1384. Wed May 10 23:09:00 MSK 2017
  1385. Resume resuming connection before other processing in external polling
  1386. mode. -EG
  1387. Tue May 9 23:16:00 MSK 2017
  1388. Fixed: Do not add "Connection: Keep-Alive" header for "upgrade"
  1389. connections. -EG
  1390. Tue May 9 21:01:00 MSK 2017
  1391. Fixed: check all "Connection" headers of request for "Close" and "Upgrade"
  1392. tokens instead of using only first "Connection" header with full string
  1393. match. -EG
  1394. Tue May 9 12:28:00 MSK 2017
  1395. Revert: continue match footers in MHD_get_response_header() for backward
  1396. compatibility. -EG
  1397. Mon May 8 19:30:00 MSK 2017
  1398. Fixed: use case-insensitive matching for header name in
  1399. MHD_get_response_header(), match only headers (not footers). -EG
  1400. Fri May 5 20:57:00 MSK 2017
  1401. Fixed null dereference when connection has "Upgrade" request and
  1402. connection is not upgraded. -JB/EG
  1403. Better handle Keep-Alive/Close. -EG
  1404. Tue May 2 18:37:53 CEST 2017
  1405. Update manual. -CG
  1406. Add MHD_CONNECTION_INFO_REQUEST_HEADER_SIZE.
  1407. Releasing GNU libmicrohttpd 0.9.54. -CG
  1408. Thu Apr 27 22:31:00 CEST 2017
  1409. Replaced flags MHD_USE_PEDANTIC_CHECKS and MHD_USE_PERMISSIVE_CHECKS by
  1410. single option MHD_OPTION_STRICT_FOR_CLIENT. Flag MHD_USE_PEDANTIC_CHECKS
  1411. is still supported. -EG
  1412. Tue Apr 26 15:11:00 CEST 2017
  1413. Fixed shift in HTTP reasons strings.
  1414. Added test for HTTP reasons strings. -EG
  1415. Tue Apr 25 19:11:00 CEST 2017
  1416. Allow flag MHD_USE_POLL with MHD_USE_THREAD_PER_CONNECTION and without
  1417. flag MHD_USE_INTERNAL_POLLING_THREAD for backward compatibility. -EG
  1418. Mon Apr 24 17:29:45 CEST 2017
  1419. Enforce RFC 7230's rule on no whitespace by default,
  1420. introduce new MHD_USE_PERMISSIVE_CHECKS to disable. -CG
  1421. Sun Apr 23 20:05:44 CEST 2017
  1422. Enforce RFC 7230's rule on no whitespace in HTTP header
  1423. field names if MHD_USE_PEDANTIC_CHECKS is set. -CG
  1424. Sun Apr 23 19:20:33 CEST 2017
  1425. Replace remaining occurrences of sprintf() with
  1426. MHD_snprintf_(). Thanks to Ram for pointing this out. -CG
  1427. Sat Apr 22 20:39:00 MSK 2017
  1428. Fixed builds in Linux without epoll.
  1429. Check for invalid --with-thread= configure parameters.
  1430. Fixed support for old libgcrypt on W32 with W32 threads. -EG
  1431. Tue Apr 11 22:17:00 MSK 2017
  1432. Releasing GNU libmicrohttpd 0.9.53. -EG
  1433. Mon Apr 10 19:50:20 MSK 2017
  1434. HTTPS tests: skip tests instead of failing if HTTPS is not supported by
  1435. libcurl.
  1436. HTTPS tests: fixed return values so testsuite is able to correctly
  1437. interpret it.
  1438. Fixed ignored result of epoll test in test_https_get_select. -EG
  1439. Thu Apr 06 23:02:07 MSK 2017
  1440. Make zzuf tests compatible with *BSD platforms. -EG
  1441. Thu Apr 06 22:14:22 MSK 2017
  1442. Added warning for hypothetical extra large timeout.
  1443. Fixed incorrect timeout calculation under extra rare conditions.
  1444. Fixed accidental usage of IPv6 in testsuite in specific conditions. -EG
  1445. Wed Apr 05 14:14:22 MSK 2017
  1446. Updated autoinit_funcs.h to latest upstream version with proper support of
  1447. Oracle/Sun compiler. -EG
  1448. Wed Apr 05 12:53:26 MSK 2017
  1449. Fixed some compiler warnings.
  1450. Fixed error snprintf() errors detection in digestauth.c.
  1451. Converted many run-time 'strlen()' to compile-time calculations. -EG
  1452. Sun Mar 26 13:49:01 MSK 2017
  1453. Internal refactoring for simplification and unification.
  1454. Minor optimizations and minor fixes.
  1455. MHD_USE_ITC used again in thread pool mode. -EG
  1456. Sat Mar 25 20:58:24 CET 2017
  1457. Remove dead MHD_strx_to_sizet-functions and associated
  1458. test cases from code. -CG
  1459. Sat Mar 25 20:40:10 CET 2017
  1460. Allow chunk size > 16 MB (up to 2^64-1). Ignore
  1461. chunk extensions instead of triggering an error.
  1462. (fixes #4967). -CG
  1463. Tue Mar 25 20:59:18 MSK 2017
  1464. Check for invalid combinations of flags and options in
  1465. MHD_start_daemon(). -EG
  1466. Tue Mar 21 13:51:04 CET 2017
  1467. Use "-lrt" to link libmicrohttpd if we are using
  1468. clock_gettime() as needed by glibc < 2.17. -CG
  1469. Tue Mar 21 13:42:07 CET 2017
  1470. Allow chaining of suspend-resume calls withuot
  1471. the application processing data from the network. -CG
  1472. Mon Mar 20 0:51:24 MSK 2017
  1473. Added autoconf module for detection whatever shutdown of listening socket
  1474. trigger select. This is only reliable method to use such feature as some
  1475. platforms change behaviour from version to version. -EG
  1476. Sun Mar 19 13:57:30 MSK 2017
  1477. Rewritten logic of handling "upgraded" TLS connections in epoll mode:
  1478. used edge trigger instead of level trigger,
  1479. upgraded "ready" connection are stored in DL-list,
  1480. fixed handling of more than 128 ready connections,
  1481. fixed busy-waiting for idle "upgraded" TLS connections. -EG
  1482. Fri Mar 17 10:45:31 MSK 2017
  1483. If read buffer is full, MHD need to receive remote data and application
  1484. suspended connection, do not fail while connection is suspended and give
  1485. application one more chance to read data from buffer once connection is
  1486. resumed. -EG
  1487. Thu Mar 16 23:45:29 MSK 2017
  1488. Allow again to run MHD in external epoll mode by
  1489. MHD_run_from_select() - this allow unification of user code
  1490. and produce no harm for performance. Especially useful with
  1491. MHD_USE_AUTO flag. -EG
  1492. Thu Mar 16 23:12:07 MSK 2017
  1493. Idle connection should be disconnected *after* "timeout" number of
  1494. second, not *before* this number. -EG/VT
  1495. Thu Mar 16 22:31:54 MSK 2017
  1496. Unified update of last activity on connections.
  1497. Update last activity only if something is really transmitted.
  1498. Update last activity each time when something is transmitted.
  1499. Removed early duplicated check for timeout on HTTPS connections.
  1500. Removed update of last active time for connections without timeout.
  1501. Fixed reset of timeout timer on resumed connections.
  1502. Fixed never-expired timeouts on HTTPS connections.
  1503. Fixed thread-safety of MHD_set_connection_option(). -EG
  1504. Thu Mar 16 21:05:08 MSK 2017
  1505. Fixed minor bug resulted in slight slowdown of HTTPS connection
  1506. handshake. -EG
  1507. Thu Mar 16 20:35:59 MSK 2017
  1508. Improved thread-safety for DL-lists. -EG
  1509. Thu Mar 16 17:55:01 MSK 2017
  1510. Fixed thread-safety of MHD_get_daemon_info() for
  1511. MHD_DAEMON_INFO_CURRENT_CONNECTIONS. -EG
  1512. Thu Mar 16 16:49:07 MSK 2017
  1513. Added ability to get actual daemon flags via MHD_get_daemon_info().
  1514. Fixed test_upgrade to work in request mode.
  1515. Fixed compiler warnings in test_upgrade. -EG
  1516. Wed Mar 15 23:29:59 MSK 2017
  1517. Prevented socket read/write if connection is suspended.
  1518. Added missing resets of 'connection->in_idle'.
  1519. Reworked handling of suspended connection: ensure that
  1520. connection is not disconnected by timeout, always
  1521. updated read/write states right after suspending. -EG
  1522. Wed Mar 15 21:02:26 MSK 2017
  1523. Added new enum value MHD_CONNECTION_INFO_CONNECTION_TIMEOUT
  1524. to get connection timeout by MHD_get_connection_info(). -EG
  1525. Sat Mar 11 12:03:45 CET 2017
  1526. Fix largepost example from tutorial to properly generate
  1527. error pages. -CG
  1528. Fix largepost example, must only queue replies either before upload
  1529. happens or after upload is done, not while upload is ongoing
  1530. Fri Mar 10 16:37:12 CET 2017
  1531. Fix hypothetical integer overflow for very, very large
  1532. timeout values. -CG
  1533. Fri Mar 10 16:22:54 CET 2017
  1534. Handle case that we do not listen at all more gracefully
  1535. in MHD_start_daemon() and not pass '-1' to helper functions
  1536. that expect a valid socket. -CG
  1537. Tue Mar 7 12:11:44 BRT 2017
  1538. Updates file `.gitignore`.
  1539. Tue Mar 7 10:37:45 BRT 2017
  1540. Updated the MHD_OPTION_URI_LOG_CALLBACK's documentation.
  1541. Mon Mar 6 21:46:59 BRT 2017
  1542. Added the i18n example fixing #4924. -SC
  1543. Wed Mar 1 23:47:05 CET 2017
  1544. Minor internal optimisations.
  1545. Changed closure connection monitoring logic: now all connections are
  1546. monitored for OOB data (which treated as error), connections are not
  1547. monitored any more for incoming data if incoming data is not required for
  1548. processing. except_fd_set is not optional now for MHD_get_fdset(),
  1549. MHD_get_fdset2() and MHD_run_from_select().
  1550. Improved connection processing in epoll mode: now connection can process
  1551. both read and write each turn.
  1552. Updated HTTP response codes; updated and added all missing standard HTTP
  1553. headers names (and headers categories); updated and added all missing
  1554. standard and additional HTTP methods. Now MHD return status
  1555. MHD_HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE (431) instead of old
  1556. MHD_HTTP_REQUEST_ENTITY_TOO_LARGE (413) for very long header.
  1557. Reworked handling of data pending in TLS buffers, resolved busy-waiting
  1558. if incoming data is pending in TLS buffers and connection is in
  1559. LOOP_INFO_WRITE mode.
  1560. Do not clear 'ready' flag in epoll mode if send()/recv() result is
  1561. EINTERRUPTED.
  1562. Better detection of unready connection state: used less number of calls of
  1563. recv()/send() in epoll mode.
  1564. Configure: do not run gcrypt and GnuTLS tests if HTTPS is disabled by
  1565. configure parameter.
  1566. Fixed wrong value returned by MHD_get_timeout().
  1567. All double-linked lists now walked from tail to head. As new items are
  1568. added to head, this result in more uniform processing time.
  1569. Improved sockets errors handling in epoll mode.
  1570. OOB data on 'upgraded' sockets is treated as error. -EG
  1571. Thu Feb 16 11:20:05 CET 2017
  1572. Replace tsearch configure check with code from gnulib. -CG
  1573. Wed Feb 15 13:35:36 CET 2017
  1574. Fixing a few very rare race conditions for thread-pool or
  1575. thread-per-connection operations during shutdown.
  1576. Various minor cosmetic improvements.
  1577. Fixed #4884 and #4888 (solaris portability issues). -CG
  1578. Wed Feb 08 22:33:10 MSK 2016
  1579. Ported test_quiesce_stream to W32.
  1580. Improved precompiler flags selection of OpenBSD.
  1581. Fixed sending responses backed by files not supported by sendfile().
  1582. Fixed thread safety for responses backed by file FD.
  1583. Updated fileserver_example.
  1584. Improved handling of 'upgraded' TLS forwarding in select() and poll()
  1585. modes.
  1586. Fixed processing of incoming TLS data in epoll mode if more than 128
  1587. connections are active.
  1588. Fixed accepting more than 128 incoming connection in epoll mode.
  1589. Improved test_large_put, added poll() and epoll testing.
  1590. Added test_large_put_inc for testing of incremental buffer processing.
  1591. Rewritten epoll connection processing logic: handle all connection one
  1592. time per turn instead of trying to handle all active connection until all
  1593. pending data is dried. Result is more uniform connection processing
  1594. period. -EG
  1595. Wed Nov 23 15:24:10 MSK 2016
  1596. Used SO_REUSEADDR (on non-W32) alongside with SO_REUSEPORT if option
  1597. MHD_OPTION_LISTENING_ADDRESS_REUSE was set. -EG
  1598. Wed Nov 23 12:48:23 MSK 2016
  1599. Move all gettext-related staff to 'po' subdirectory.
  1600. Excluded gettext files generation from normal build.
  1601. Removed generated files from GIT. -EG
  1602. Tue Nov 15 19:08:43 MSK 2016
  1603. Fixed forwarding "upgraded" TLS connections for
  1604. chunks sizes larger than buffer size. -EG
  1605. Mon Nov 14 22:18:30 MSK 2016
  1606. Fixed unintentional usage of SO_REUSEADDR on W32.
  1607. Added support for SO_EXCLBIND on Solaris.
  1608. Fixed using MHD with MHD_OPTION_LISTENING_ADDRESS_REUSE
  1609. on Linux kernels before 3.9 (longterm 3.2 and 3.4
  1610. are still supported). -EG
  1611. Sun Nov 13 19:16:38 CET 2016
  1612. Fixed a few race issues on suspend-resume in cases where the
  1613. application uses threads even though MHD did not (or at least
  1614. had no internal need for locking). Also fixed DLL handling of
  1615. the timeout list, avoiding manipulating it for suspended
  1616. connections. Finally, eliminated calling application logic
  1617. on suspended connections (which before could happen under
  1618. certain circumstances). -CG
  1619. Thu Nov 11 20:49:23 MSK 2016
  1620. Added support for various forms of
  1621. pthread_attr_setname_np() so thread names will be set
  1622. more efficiently on certain platforms (Solaris, NetBSD etc.) -EG
  1623. Thu Nov 10 21:50:35 MSK 2016
  1624. Added rejection in MHD_start_daemon() of invalid combinations
  1625. of daemon flags.
  1626. Added MHD_USE_AUTO and MHD_USE_AUTO_INTERNAL_THREAD for
  1627. automatic selection of polling function depending on
  1628. platform capabilities and requested mode. -EG
  1629. Thu Nov 10 17:49:56 MSK 2016
  1630. Ported "upgrade" tests to W32 and other platforms, used
  1631. "gnutls-cli" instead of "openssl" in tests, minor bugs
  1632. fixed, added verbose reporting if requested.
  1633. "Upgrade" processing - changed internal handling logic, improved
  1634. and refactored, bugs fixed, fixed sigpipe on Darwin, added
  1635. printing error to log, fixed compilation without HTTPS.
  1636. Added 'configure' parameter "--disable-httpupgrade" for building
  1637. minimal-sized MHD versions.
  1638. Added feature check "MHD_FEATURE_UPGRADE".
  1639. Responses destroyed (freed) earlier if possible.
  1640. Added many remarks in code comments about thread safety.
  1641. Some data races and other multithread-related issues are fixed,
  1642. including usage of closed sockets (may resulted in accidental closing
  1643. of wrong socket).
  1644. SO_NOSIGPIPE is used on all platform which support it, not only
  1645. on Darwin.
  1646. Added support for suspending connections in thread-per-connection
  1647. mode (itself almost useless, mostly to unify modes support).
  1648. Fixed Inter-Thread Communication channel usage in epoll modes.
  1649. Reworked daemon cleanups and handling MHD_stop_daemon(): resources
  1650. are freed only by specific threads, data races and other fixes.
  1651. Started usage of C99 standard 'bool' where supported with
  1652. fallback to 'int'.
  1653. Renamed many MHD flags. Now they are self-explainable and more
  1654. obvious, like MHD_USE_INTERNAL_POLLING_THREAD instead of
  1655. MHD_USE_SELECT_INTERNALLY. Old flag names are supported for
  1656. backward compatibility.
  1657. Improved processing of "fast" connections: now full sequence
  1658. "read request - send reply headers - send reply body" is processed
  1659. after single select()/poll(). If connection is slow, request is huge
  1660. or response in not immediately ready - connection will be processed
  1661. in "traditional" way.
  1662. Added usage of "calloc()" where supported.
  1663. Minor documentation fixes.
  1664. Minor improvements and fixes. -EG
  1665. "Upgrade" test fixes.
  1666. Documentation updated.
  1667. Added HTTP "Upgrade" example. -CG
  1668. Mon Oct 17 19:08:18 CEST 2016
  1669. Fixed misc. issues relating to upgrade.
  1670. Releasing experimental 0.9.52. -CG
  1671. Wed Oct 12 14:26:20 CEST 2016
  1672. Migrated repository from Subversion to Git. -CG
  1673. Tue Oct 11 18:09:56 CEST 2016
  1674. Deprecated MHD_USE_SSL, use MHD_USE_TLS instead. -CG
  1675. Tue Oct 11 18:14:40 MSK 2016
  1676. Code internal refactoring: 'pipes' renamed to 'inter-thread
  1677. communication (channels)/ITCs', as code can use different types
  1678. of communications.
  1679. Optimizations: ITCs now always created in non-blocking mode.
  1680. Added configure parameter to choose ITC type.
  1681. Updated documentation and comments.
  1682. Minor errors fixed (related to heavy load). -EG
  1683. Thu Sep 22 17:51:04 CEST 2016
  1684. Implementing support for eventfd() instead of pipe() for
  1685. signaling (on platforms that support it); fixing #3557. -CG
  1686. Thu Sep 22 11:03:43 CEST 2016
  1687. Simplify internal error handling logic by folding it into the
  1688. MHD_socket_close_, MHD_mutex_lock_, MHD_mutex_unlock_ and
  1689. MHD_mutex_destroy_ functions. -CG
  1690. Tue Sep 13 22:20:26 MSK 2016
  1691. Added autoconf macro to enable maximum platform
  1692. features. Fixed compiling on Solaris. -EG
  1693. Wed Sep 7 12:57:57 CEST 2016
  1694. Fixing #4641. -Hawk
  1695. Wed Sep 7 00:28:59 CEST 2016
  1696. Adding remaining "_"-markups for i18n (#4614). -CG
  1697. Tue Sep 6 23:39:56 CEST 2016
  1698. Allow out-of-order nonces for digest authentication (#4636). -CG
  1699. Tue Sep 6 21:29:09 CEST 2016
  1700. Martin was right, "socket_context" should be "void *"
  1701. in `union MHD_ConnectionInfo`. -MS
  1702. Sun Sep 4 18:16:32 CEST 2016
  1703. Fixing potential memory leak (#4634). -CG
  1704. Sun Sep 4 17:25:45 CEST 2016
  1705. Tests for "Upgrade" logic are now in place and passing.
  1706. However, still need to make sure code is portable. -CG
  1707. Sat Sep 3 11:56:20 CEST 2016
  1708. Adding logic for handling HTTP "Upgrade" in thread-per-connection
  1709. mode. Also still untested. -CG
  1710. Sat Aug 27 21:01:43 CEST 2016
  1711. Adding a few extra safety checks around HTTP "Upgrade"
  1712. (against wrong uses of API), and a testcase. -CG
  1713. Sat Aug 27 20:07:53 CEST 2016
  1714. Adding completely *untested* logic for HTTP "Upgrade"
  1715. handling. -CG
  1716. Sat Aug 27 18:20:38 CEST 2016
  1717. Releasing libmicrohttpd 0.9.51. -CG
  1718. Tue Aug 23 22:54:07 MSK 2016
  1719. Internal refactoring: W32 compatibility layer was finally
  1720. replaced with several specialized abstraction layers for
  1721. sockets, control pipes (inter-thread communication) and
  1722. generic functions. Now all major platform functions
  1723. (including threads and mutex) are implemented in thin
  1724. abstraction layers.
  1725. Improved performance on W32 due to eliminating
  1726. translation of error to POSIX codes and using W32 codes
  1727. directly (through macros).
  1728. Improved error reporting on all platforms.
  1729. Improved error handling and reporting on Darwin.
  1730. Minor fixes. -EG
  1731. Tue Aug 16 15:14:30 MSK 2016
  1732. Minor improvement for monotonic clock.
  1733. Minor configure fix for non-bash shells. -EG
  1734. Mon Aug 15 13:06:52 CEST 2016
  1735. Fixed possible crash due to write to read-only region of
  1736. memory given ill-formed HTTP request (write was otherwise
  1737. harmless, writing 0 to where there was already a 0).
  1738. Fixed issue with closed connection slots not immediately
  1739. being available again for new connections if we reached
  1740. our connection limit.
  1741. Avoid even accept()ing connections in certain thread modes
  1742. if we are at the connection limit and
  1743. MHD_USE_PIPE_FOR_SHUTDOWN is available. -CG
  1744. Wed Aug 10 16:42:57 MSK 2016
  1745. Moved threads, locks and mutex abstraction to separate files,
  1746. some minor errors fixed, added support for thread name functions
  1747. on various platforms, added configure flag for disable thread
  1748. naming. -EG
  1749. Sat Jul 23 20:45:51 CEST 2016
  1750. Added macro detection of speed/size compiler optimization.
  1751. Added different implementation of functions in mhd_str.c for
  1752. size optimization. Enabled automatically if compiler size
  1753. optimization is detected or MHD_FAVOR_SMALL_CODE is defined.
  1754. Added unit tests for all mhd_str.c functions. -EG
  1755. Sat Jul 16 21:54:49 CEST 2016
  1756. Warn user if they sent connection into blocking
  1757. state by not processing all POST data, not suspending,
  1758. and not running in external select mode. -CG
  1759. Fri Jul 8 21:35:07 CEST 2016
  1760. Fix FIXME in tutorial. -CG
  1761. Fri Jul 8 15:57:06 CEST 2016
  1762. Adding support for 308 status code. -CG
  1763. Sat Jun 25 13:49:31 CEST 2016
  1764. Use shutdown to trigger select on NetBSD. -EG
  1765. Thu Jun 2 09:55:50 CEST 2016
  1766. Releasing libmicrohttpd 0.9.50. -CG
  1767. Wed Jun 1 21:59:34 CEST 2016
  1768. Do not send "Content-Length" header for 1xx/204/304 status codes. -CG
  1769. Tue May 17 13:32:21 CEST 2016
  1770. Allow clients to determine whether a connection is suspended;
  1771. introduces MHD_CONNECTION_INFO_CONNECTION_SUSPENDED. -CG/FC
  1772. Sun May 15 12:17:25 CEST 2016
  1773. Fix handling system or process resource limit exhaustion upon
  1774. accept(). -CG/CP
  1775. Thu May 12 08:42:19 CEST 2016
  1776. Fix handling of partial writes in MHD_USE_EPOLL_LINUX_ONLY; only
  1777. consider sockets returning EAGAIN as unready. -CG/CP
  1778. Mon May 2 06:08:26 CEST 2016
  1779. Adding logic to help address FE performance issue as
  1780. discussed on the mailinglist with subject
  1781. "single-threaded daemon, multiple pending requests, responses batched".
  1782. The new logic is only enabled when MHD_USE_EPOLL_TURBO is set.
  1783. Note that some additional refactoring was also done to clean up
  1784. the code and avoid code duplication, which may have actually fixed
  1785. an unrelated issue with HTTPS and a POLL-style event loop. -CG
  1786. Sat Apr 30 10:22:37 CEST 2016
  1787. Added clarifications to manual based on questions on list. -CG
  1788. Sat Apr 23 20:12:01 CET 2016
  1789. Tests perf_get_concurrent and test_concurrent_stop ported to use
  1790. pthread instead of fork(). Added more error detections. -EG
  1791. Sat Apr 23 16:06:30 CET 2016
  1792. Improved test_quiesce test. -EG
  1793. Sat Apr 23 15:39:38 CET 2016
  1794. Notify other threads in MHD_quiesce_daemon() so listen socket FD
  1795. is removed from awaiting select() and poll(). -EG
  1796. Sat Apr 23 14:17:15 CET 2016
  1797. Revert "shutdown trigger select" on Darwin. Fixed daemon shutdown
  1798. on Darwin without "MHD_USE_PIPE_FOR_SHUTDOWN" option. -EG
  1799. Fri Apr 22 14:29:28 CET 2016
  1800. Fixed race conditions when stopping quiesced daemon with thread
  1801. pool. -EG
  1802. Wed Apr 20 18:12:30 CET 2016
  1803. Fixed macros in sysfdsetsize.c which could prevent compiling with
  1804. non-default FD_SETSIZE.
  1805. Fixed comments in mhd_str.c.
  1806. Updated test_post.c to not ignore specific error on W32 if libcurl
  1807. is built with workaround for WinSock bug. -EG
  1808. Mon Apr 18 19:35:14 CET 2016
  1809. Fixed data races leading to inability in rare situations to
  1810. resume suspended connection. -EG
  1811. Tue Apr 13 21:46:01 CET 2016
  1812. Removed unneeded locking for global timeout list in
  1813. MHD_USE_THREAD_PER_CONNECTION mode.
  1814. Added 'simplepost' and 'largepost' examples to VS projects.
  1815. Added strtoXX() locale-independent replacement functions.
  1816. Added more error checking and minor fixes in digest auth
  1817. functions - should improve security.
  1818. Ignored specific errors in 'test_post' test until libcurl
  1819. will implement workaround for WinSock bug.
  1820. Fixed handling of caller-supplied socket with
  1821. MHD_OPTION_LISTEN_SOCKET (regression in 0.9.49).
  1822. Minor fixes.
  1823. Various cosmetics and comments fixes. -EG
  1824. Sat Apr 09 13:05:42 CET 2016
  1825. Releasing libmicrohttpd 0.9.49. -EG
  1826. Fri Apr 08 18:32:17 CET 2016
  1827. Some minor internal fixes, addition error checking and
  1828. micro optimizations.
  1829. Reworked usage of sockets shutdown() - now work equally
  1830. on all platforms, disconnection should be "more graceful". -EG
  1831. Tue Mar 15 21:52:27 CET 2016
  1832. Do not crash if pthread_create() fails. -DD
  1833. Tue Mar 15 20:29:34 CET 2016
  1834. Do not use eready DLL data structure unless
  1835. we are actually using epoll(). -DD/CG
  1836. Fri Feb 5 20:43:11 CET 2016
  1837. Fixed testsuite compile warning on W32.
  1838. Added check test for triggering poll() on
  1839. listen socket. -EG
  1840. Thu Feb 4 11:38:11 CET 2016
  1841. Added some buffer overrun protection.
  1842. Fixed handling of malformed URI with spaces. -EG
  1843. Wed Feb 3 15:41:57 CET 2016
  1844. Make signal-pipe non-blocking and drain it. -CG
  1845. Sat Jan 30 15:49:07 CET 2016
  1846. Fix running select() with empty fdsets on W32. -EG
  1847. Mon Jan 25 13:45:50 CET 2016
  1848. Added check test for triggering select() on
  1849. listen socket. -EG
  1850. Thu Jan 21 19:35:18 CET 2016
  1851. Fixed old bug with making sockets non-blocking on
  1852. various platforms so now sockets are really
  1853. non-blocking on all supported platforms.
  1854. Reworked and fixed code for using SOCK_CLOEXEC,
  1855. SOCK_NONBLOCK and EPOLL_CLOEXEC resulting in
  1856. fewer used system calls. -EG
  1857. Tue Jan 19 20:59:59 CET 2016
  1858. Cleaned up and optimized with minor fixes code for
  1859. making sockets non-blocking non-inheritable. -EG
  1860. Tue Jan 19 11:14:18 CET 2016
  1861. Removed workaround for Cygwin non-blocking sockets:
  1862. handling non-blocking sockets were fixed in Cygwin
  1863. and libmicrohttpd how uses non-blocking sockets on
  1864. all platforms. -EG
  1865. Mon Jan 18 23:54:45 CET 2016
  1866. Cleaned up examples to avoid giving oversimplified code
  1867. that may lead to complications if adopted naively. -CG
  1868. Sun Jan 17 11:18:55 CET 2016
  1869. Do no refuse to send response if sendfile() failed with
  1870. EINVAL (common error for files located on SMB/CIF). -EG
  1871. Sat Jan 16 19:14:39 CET 2016
  1872. Use US-ASCII only (instead of user locale settings) when
  1873. performing caseless string comparison as required by
  1874. standard. -EG
  1875. Tue Jan 12 16:10:09 CET 2016
  1876. Fixed declaraion of MHD_get_reason_phrase_for(). -EG
  1877. Mon Jan 11 19:58:50 CET 2016
  1878. Configure.ac small fixes and refactoring. -EG
  1879. Fri Dec 18 15:54:50 CET 2015
  1880. Releasing libmicrohttpd 0.9.48. -CG
  1881. Tue Dec 15 18:35:55 CET 2015
  1882. Improved compatibility with VS2010 and other older
  1883. compilers. -EG
  1884. Tue Dec 8 21:48:44 CET 2015
  1885. Default backlog size for listen socket was changed from
  1886. 32 to SOMAXCONN, added new option MHD_OPTION_LISTEN_BACKLOG_SIZE
  1887. to override default backlog size.
  1888. If not all connections can be handled by MHD_select() than
  1889. at least some of connections will be processed instead of
  1890. failing without any processing.
  1891. Fixed redefenition of FD_SETSIZE on W32 so select() will
  1892. work with 2000 connections instead of 64.
  1893. Better handled redefenition of FD_SETSIZE on all
  1894. platforms. -EG
  1895. Sat Dec 5 17:30:45 CET 2015
  1896. Close sockets more aggressively in multi-threaded
  1897. mode (possibly relevant for idle servers). -CG
  1898. Fri Dec 4 13:53:05 CET 2015
  1899. Releasing libmicrohttpd 0.9.47. -CG
  1900. Thu Dec 3 18:21:44 CET 2015
  1901. Reworked VS project files. Used x64 build tools by
  1902. default, many optimizations, fixes.
  1903. Added project files for VS 2015. -EG
  1904. Tue Dec 1 14:05:13 CET 2015
  1905. SPDY is dead, killing experimental libmicrospdy. -CG
  1906. Tue Dec 1 10:01:12 CET 2015
  1907. New logic for controlling socket buffer modes.
  1908. Eliminated delay before last packet in response and before
  1909. "100 Continue" response on all platforms. Also response
  1910. header are pushed to client without waiting for response
  1911. body. -EG
  1912. Wed Nov 25 17:02:53 CET 2015
  1913. Remove 200ms delay observable with keep-alive on Darwin
  1914. and *BSD platforms. -EG
  1915. Tue Nov 10 15:25:48 CET 2015
  1916. Fix issue with shutdown if connection was resumed just
  1917. before shutdown. -FC
  1918. Fri Nov 6 22:54:38 CET 2015
  1919. Fixing the buffer shrinkage issue, this time with test. -CG
  1920. Releasing libmicrohttpd 0.9.46. -CG
  1921. Tue Nov 3 23:24:52 CET 2015
  1922. Undoing change from Sun Oct 25 15:29:23 CET 2015
  1923. as the original code was counter-intuitive but
  1924. correct, and the new code does break pipelining.
  1925. Ignore empty lines at the beginning of an HTTP
  1926. request (more tolerant implementation). -CG
  1927. Sat Oct 31 15:52:52 CET 2015
  1928. Releasing libmicrohttpd 0.9.45. -CG
  1929. Tue Oct 27 12:08:02 CET 2015
  1930. Rework deprecation maros: fix errors with old GCC versions,
  1931. improved support for old clang and new GCC. -EG
  1932. Sun Oct 25 23:05:32 CET 2015
  1933. Return correct header kind in MHD_get_connection_values()
  1934. even if a bitmask is used for the "kind" argument. -FC/CG
  1935. Sun Oct 25 15:29:23 CET 2015
  1936. Fixing transient resource leak affecting long-lived
  1937. connections with a lot of keep-alive and HTTP request
  1938. pipelining under certain circumstances (which reduced
  1939. the receive window).
  1940. Fixed assertion failure triggered by a race in
  1941. thread-per-connection mode on shutdown in rare
  1942. circumstances. -CG
  1943. Mon Oct 5 11:53:52 CEST 2015
  1944. Deduplicate code between digestauth and connection
  1945. parsing logic for URI arguments, shared code moved
  1946. to new MHD_parse_arguments_ function in internal.c. -CG
  1947. Thu Oct 1 21:22:05 CEST 2015
  1948. Releasing libmicrohttpd 0.9.44. -CG
  1949. Wed Sep 30 21:05:38 CEST 2015
  1950. Various fixes for W32 VS project files. -EG
  1951. Fri Sep 25 09:49:10 CEST 2015
  1952. Fix digest authentication with URL arguments where
  1953. value-less keys are given before the last argument.
  1954. Thanks to MA for reporting. -CG
  1955. Tue Sep 22 19:17:54 CEST 2015
  1956. Do not use shutdown() on listen socket if MHD_USE_PIPE_FOR_SHUTDOWN
  1957. is set. -CG
  1958. Wed Sep 16 11:06:02 CEST 2015
  1959. Releasing libmicrohttpd 0.9.43. -CG
  1960. Wed Sep 2 16:50:31 CEST 2015
  1961. Call resume_suspended_connections() when the user is running
  1962. its own mainloop and calls MHD_run_from_select() to support
  1963. resuming connections with external select. -FC
  1964. Sun Aug 30 14:53:51 CEST 2015
  1965. Correct documentation as to when MHD_USE_EPOLL_LINUX_ONLY
  1966. is allowed. -CG
  1967. Thu Aug 27 09:38:44 CEST 2015
  1968. Reimplement monotonic clock functions for better
  1969. support various platforms.
  1970. Print more information during configure. -EG
  1971. Fri Aug 14 14:13:55 CEST 2015
  1972. Export MHD_get_reason_phrase_for() symbol. -CG
  1973. Sat Aug 8 12:19:47 CEST 2015
  1974. Added checks for overflows and buffer overruns, fixed
  1975. possible buffer overrun.
  1976. Updated md5 implementation.
  1977. Fixed many compiler warning (mostly for VC compiler). -EG
  1978. Tue Aug 4 13:50:23 CEST 2015
  1979. Fix failure to properly clean up timed out connections
  1980. if running in external select mode without listen socket,
  1981. which caused busy waiting until new connections arrived.
  1982. (Fixes #3924, thanks to slimp for reporting and testcase). -CG
  1983. Sun Aug 2 19:08:20 CEST 2015
  1984. Ignore close() errors on sockets except for EBADF,
  1985. fixes #3926. -CG
  1986. Sat Jun 27 22:16:27 CEST 2015
  1987. Make sure to decrement connection counter before
  1988. calling connection notifier so that
  1989. MHD_DAEMON_INFO_CURRENT_CONNECTIONS does not
  1990. present stale information (relevant if this is
  1991. used for termination detection of a daemon
  1992. stopped via MHD_quiesce_daemon()). Thanks to
  1993. Markus Doppelbauer for reporting. -CG
  1994. Fri Jun 26 23:17:20 CEST 2015
  1995. Fix (automatic) handling of HEAD requests with
  1996. MHD_create_response_from_callback() and HTTP/1.1
  1997. connection keep-alive. Thanks to Cristian Klein
  1998. for reporting. -CG
  1999. Tue Jun 09 18:30:17 CEST 2015
  2000. Add new functions MHD_create_response_from_fd64() and
  2001. MHD_create_response_from_fd_at_offset64(). -EG
  2002. Thu Jun 4 13:37:05 CEST 2015
  2003. Fixing memory leak in digest authentication. -AW
  2004. Wed Jun 03 21:23:47 CEST 2015
  2005. Add deprecation compiler messages for deprecated functions
  2006. and macros. -EG
  2007. Fri May 29 12:23:01 CEST 2015
  2008. Fixing digest authentication when used in combination
  2009. with escaped characters in URLs. -CG/AW
  2010. Wed May 13 11:49:09 CEST 2015
  2011. Releasing libmicrohttpd 0.9.42. -CG
  2012. Wed May 13 11:33:59 CEST 2015
  2013. Fix off-by-one in MHD_start_daemon_va() error handling logic
  2014. when initialization of threads for thread pool fails for some
  2015. reason. -CG/JC
  2016. Thu May 7 17:05:46 CEST 2015
  2017. Add support for poll() in W32. -EG
  2018. Wed May 6 18:07:38 CEST 2015
  2019. Fix #3784: actually implement MHD_CONNECTION_INFO_SOCKET_CONTEXT. -asherkin
  2020. Thu Apr 30 00:03::49 CEST 2015
  2021. Releasing libmicrohttpd 0.9.41. -CG
  2022. Thu Apr 30 00:02:33 CEST 2015
  2023. Fix issue where resumed connections would not continue
  2024. unless other requests are active in certain
  2025. event-loop modes. Thanks to Mike Castillo for reporting. -CG
  2026. Wed Apr 15 03:16:18 CEST 2015
  2027. Fixing issue #3753 (testcase issue). -CG
  2028. Wed Apr 15 00:30:34 CEST 2015
  2029. Fix looping issue when using MHD_USE_POLL_INTERNALLY
  2030. and a client times out. -LB
  2031. Sun Apr 12 21:48:50 CEST 2015
  2032. Fix looping issue when combining MHD_USE_EPOLL_LINUX_ONLY
  2033. with HTTPS and slow clients. -CG
  2034. Fri Apr 10 22:02:27 CEST 2015
  2035. Fix logic to add "Connection: Close" that was broken in 0.9.38
  2036. when adding MHD_RF_HTTP_VERSION_1_0_ONLY. -CG
  2037. Fri Apr 10 00:38:40 CEST 2015
  2038. Ensure fast termination in MHD_USE_THREAD_PER_CONNECTION
  2039. mode on W32 by using signal pipe. -CG
  2040. Thu Apr 9 09:01:15 CEST 2015
  2041. Fixing issue with undrained signal pipe when using
  2042. MHD_USE_SELECT_INTERNALLY and MHD_USE_POLL in combination
  2043. with MHD_resume_connection(), causing 100% CPU usage. -DD
  2044. Tue Apr 7 00:12:36 CEST 2015
  2045. Releasing libmicrohttpd 0.9.40. -CG
  2046. Sat Apr 4 18:28:24 CEST 2015
  2047. Fix potential deadlock issue in MHD_USE_THREAD_PER_CONNECTION
  2048. mode if shutdown is initiated while connections are active. -CG
  2049. Sat Apr 4 17:48:13 CEST 2015
  2050. Fix issue in thread-pool mode where a MHD_stop_daemon()
  2051. might not reach threads that stopped listening because
  2052. we hit the maximum number of concurrent connections and
  2053. the option MHD_USE_PIPE_FOR_SHUTDOWN was also not used.
  2054. Testcase added as well. -CG
  2055. Fri Apr 3 12:55:31 CEST 2015
  2056. Update HTTPS testcases to avoid SSLv3, as SSLv3 is dead.
  2057. Fri Apr 3 12:25:28 CEST 2015
  2058. Do not enforce FD_SETSIZE-limit on worker control
  2059. pipe when using MHD_USE_EPOLL_LINUX_ONLY (#3751). -MH/CG
  2060. Tue Mar 31 10:28:26 CEST 2015
  2061. Adding MHD_OPTION_NOTIFY_CONNECTION,
  2062. MHD_CONNECTION_NOTIFY_STARTED,
  2063. MHD_CONNECTION_NOTIFY_CLOSED and
  2064. MHD_CONNECTION_INFO_SOCKET_CONTEXT to allow
  2065. applications to trigger operations when TCP
  2066. connections start or end, instead of just
  2067. exposing HTTP requests starting and ending. -RG/CG
  2068. Thu Feb 26 09:55:43 CET 2015
  2069. Fixing bug that prevented MHD_OPTION_HTTPS_MEM_DHPARAMS
  2070. from working within a MHD_OPTION_ARRAY. -DD
  2071. Sun Feb 8 01:24:38 CET 2015
  2072. Adding MHD_OPTION_HTTPS_KEY_PASSWORD as proposed by
  2073. Andrew Basile. -CG/AB
  2074. Wed Feb 4 20:34:22 CET 2015
  2075. Fix issue where for HTTP/1.0-clients that set
  2076. Connection: Keep-Alive header a response of
  2077. indefinite size was generated with chunked encoding. -CG
  2078. Sun Jan 18 20:09:06 CET 2015
  2079. Fix potential infinite loop on shutdown in multi-threaded mode
  2080. under certain conditions. -CG
  2081. Mon Dec 22 16:33:18 CET 2014
  2082. Releasing 0.9.39. -CG
  2083. Mon Dec 22 13:02:36 CET 2014
  2084. Fix generated compiler flags for Solaris Studio linker (#3584). -CG
  2085. Sat Dec 20 00:35:40 CET 2014
  2086. Adding MHD_http_unescape() to public API (#3585). -CG
  2087. Updating documentation to document
  2088. MHD_is_feature_supported(). -CG
  2089. Thu Dec 4 00:43:10 CET 2014
  2090. If "Connection: upgrade" is requested, do not add
  2091. "Connection: Keep-Alive" in the response. -GJ
  2092. Tue Nov 18 13:52:29 CET 2014
  2093. Call MHD_cleanup_connections() during MHD_DAEMON_INFO_CURRENT_CONNECTIONS
  2094. processing for more accurate results. -MS
  2095. Wed Oct 29 20:45:21 CET 2014
  2096. Adding MHD_OPTION_LISTENING_ADDRESS_REUSE option allowing clients
  2097. to force allowing re-use of the address:port combination
  2098. (SO_REUSEPORT). -MS
  2099. Wed Oct 29 16:27:05 CET 2014
  2100. Adding MHD_DAEMON_INFO_CURRENT_CONNECTIONS to allow clients
  2101. to query the number of active connections. -MS
  2102. Fri Oct 3 14:28:58 CEST 2014
  2103. Releasing 0.9.38. -CG
  2104. Mon Sep 29 22:25:34 CEST 2014
  2105. Properly decode '+' in URL-encoded POST data. -CG/KM
  2106. Fri Sep 12 17:32:09 CEST 2014
  2107. Fix --disable-dauth configure option (#3543). -doostee
  2108. Thu Jun 26 21:06:04 CEST 2014
  2109. Fix failure to terminate 'instantly' in thread-per-connection
  2110. mode if there is a client with open connections.
  2111. Thanks to Kenneth Mastro for reporting. -CG
  2112. Sun Jun 22 12:22:08 CEST 2014
  2113. Actually, avoid locking on response as responses must
  2114. not be modified in a connection-specific way; instead
  2115. modify the connection's data buffer to add missing
  2116. responses headers. If we are forced to add
  2117. "Connection: close", suppress output of conflicting
  2118. application-provided "Connection: Keep-Alive" header. -CG
  2119. Sun Jun 22 00:22:08 CEST 2014
  2120. Lock on response if adding headers, needed if response
  2121. object is shared across threads and connections. -CG
  2122. Thu Jun 19 17:32:32 CEST 2014
  2123. Ensure that listen FD is bound to epoll FD even before
  2124. MHD_run() is called if running with MHD_USE_EPOLL_LINUX_ONLY
  2125. in combination with 'external select' mode. Thanks to
  2126. Marcos Pindado Sebastian for reporting. -CG
  2127. Sun Jun 8 15:10:44 CEST 2014
  2128. Add 'MHD_set_response_options' as a way to set per-response
  2129. flags. Add flag to force HTTP 1.0-only conservative
  2130. behavior, in particular suppressing adding "Connection"
  2131. headers. -CG
  2132. Mon Jun 2 00:03:28 CEST 2014
  2133. Added back unescaping for URI path (#3413) but without
  2134. unescaping '+' (#3371) to remain compatible with
  2135. MHD 0.9.34 and before. Note that applications providing
  2136. a custom MHD_OPTION_UNESCAPE_CALLBACK are no longer expected
  2137. to replace '+' with ' ', as that is now done separately for
  2138. the locations where this transformation is appropriate.
  2139. Releasing 0.9.37. -CG
  2140. Wed May 28 15:30:56 CEST 2014
  2141. Properly applying patch that was supposed to be
  2142. committed on "May 2 20:22:45 CEST 2014" to address
  2143. infinite loop (DoS) when HTTP connection is reset (#3392). -GM
  2144. Sun May 25 20:18:27 CEST 2014
  2145. Fixed W32 build issues. -EG
  2146. Releasing 0.9.36. -CG
  2147. Sat May 17 06:47:00 CEST 2014
  2148. Fix notifying client about completed request twice
  2149. under certain circumstances. -CG
  2150. Tue May 13 18:24:37 CEST 2014
  2151. Fix accidental transmission of footer termination '\r\n'
  2152. for responses with zero byte payload and non-chunked
  2153. encoding (#3397). Thanks to amatus for reporting. -CG
  2154. Sun May 4 11:05:26 CEST 2014
  2155. Fix gnutls header check to make it cross-compile aware. -BK
  2156. May 2 20:22:45 CEST 2014
  2157. Fix infinite loop (DoS) when HTTP connection is reset (#3392). -GM
  2158. Fix possible issue from combination of epoll and suspend/resume
  2159. logic if edge trigger event is lost; also simplify logic to
  2160. maintain simpler invariants on the epoll state. -CG
  2161. Use OpenSSL cipher list "HIGH" in libmicrospdy (#3391). -CG
  2162. Releasing 0.9.35. -CG
  2163. Thu Apr 10 09:39:38 CEST 2014
  2164. Removed unescaping for URI path (#3371) as '+' should not
  2165. be converted to space in accordance with
  2166. http://www.w3.org/TR/html401/appendix/notes.html#ampersands-in-uris
  2167. and http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.1
  2168. Note that we now also no longer convert '#38;' to '&'; if needed,
  2169. the application needs to apply unescaping to the path of the URI
  2170. itself (before, MHD unescaped '#38;' but not '&amp;', so this
  2171. inconsistency was now resolved by simply not unescaping anything
  2172. before the first '&'). -CG
  2173. Tue Apr 08 15:35:44 CET 2014
  2174. Added support for W32 native threads.
  2175. Added --with-threads=LIB configure parameter. -EG
  2176. Mon Apr 7 13:25:30 CEST 2014
  2177. Add MHD_OPTION_HTTPS_MEM_DHPARAMS to allow applications
  2178. to enable PFS. -HB/CG
  2179. Tue Apr 01 07:10:23 CET 2014
  2180. Added usage of native mutex on W32. -EG
  2181. Sat Mar 29 16:12:03 CET 2014
  2182. Added MHD_is_feature_supported() function. -EG
  2183. Thu Mar 27 14:47:54 CET 2014
  2184. Used larger FD_SETSIZE internally on W32.
  2185. Extended API to work with non-default FD_SETSIZE. -EG
  2186. Tue Mar 25 12:53:55 CET 2014
  2187. Fix limiting by IPv6 address. -EG
  2188. Tue Mar 25 09:06:13 CET 2014
  2189. Added more FD_SETSIZE checks.
  2190. Implemented FD_SETSIZE checks for W32. -EG
  2191. Wed Mar 05 13:15:05 CET 2014
  2192. Cleanup and refactoring of configure.ac.
  2193. m4 macros updated.
  2194. Custom configure macros replaced with autoconf archive macros.
  2195. SPDY disabled by default on W32.
  2196. Changed configure flag from '--disable-pipe' to
  2197. '--enable-socketpair'.
  2198. Added configure flags '--disable-doc' and '--disable-examples'.
  2199. Narrowed down external lib specific compiler and linker flags
  2200. usage. -EG
  2201. Wed Feb 26 17:42:34 CET 2014
  2202. Refactoring of configure.ac: custom macros replaced with macros
  2203. from Autoconf Archive.
  2204. Minor corrections of configure.ac.
  2205. Excluded pthread flags from global flags, pthread now used only
  2206. where required.
  2207. W32: fixed .dll resource compilation with '-isystem' CPPFLAG.
  2208. W32: improved header compatibility with MSVC.
  2209. W32: now tested on Win64, compiled by MinGW-w64. -EG
  2210. Mon Feb 24 23:13:53 CET 2014
  2211. Added support for TCP FASTOPEN. -SHT
  2212. Releasing 0.9.34. -CG
  2213. Thu Feb 20 14:17:05 CET 2014
  2214. W32: Added creation of libmicrohttpd.lib, libmicrohttpd.def,
  2215. libmicrohttpd.exp and libmicrohttpd-static.lib for easy use
  2216. compiled MHD with MSVC.
  2217. W32: Use MS lib.exe tool if available for creating MSVC staff.
  2218. W32: Added .dll information resource. -EG
  2219. Tue Feb 18 19:46:45 CET 2014
  2220. Removed dependency on plibc for simpler compilation for W32.
  2221. Added configure option "--disable-pipes" to use socketpairs
  2222. instead of pipes for signalling to child threads. Pipes are
  2223. always disabled on W32.
  2224. Some code refactoring. -EG
  2225. Sat Feb 8 15:08:35 CET 2014
  2226. Corrected some uses of 'int' vs. 'size_t'. -EG/CG
  2227. Wed Jan 22 09:44:33 CET 2014
  2228. MHD_USE_DUAL_STACK in libmicrohttpd currently just *inhibits
  2229. setting* the IPV6_V6ONLY socket option, but per Microsoft's
  2230. documentation the default on Windows is that this is enabled, thus
  2231. MHD_USE_DUAL_STACK will not work (since it leaves the
  2232. default). libmicrohttpd should probably just unconditionally set
  2233. IPV6_V6ONLY to the desired value when the option is available. -LJ
  2234. Wed Jan 1 21:38:18 CET 2014
  2235. Allow Keep-Alive with HTTP 1.0 (if explicitly requested),
  2236. and automatically set "Connection: Keep-Alive" in response
  2237. in this case as well. -CG
  2238. Tue Dec 24 12:27:39 CET 2013
  2239. Adding explicit annotations to hide symbols that are not for
  2240. export in the C code (gcc 4.0 or higher only). -CG
  2241. Sun Dec 22 14:54:30 CET 2013
  2242. Adding a few lines to avoid warnings from picky compilers. -CG
  2243. Sat Dec 21 17:26:08 CET 2013
  2244. Fixed an issue with a missing argument in the postexample.
  2245. Fixed issue with bogus offset increment involving sendfile
  2246. on GNU/Linux. Adding support for SNI.
  2247. Releasing 0.9.33. -CG
  2248. Mon Dec 9 21:41:57 CET 2013
  2249. Fix for per-worker daemon pipes enabled with
  2250. MHD_USE_SUSPEND_RESUME that were not closed in
  2251. MHD_stop_daemon. -MH
  2252. Sat Dec 7 00:44:49 CET 2013
  2253. Fixing warnings and build issue if --disable-https is given
  2254. to configure. -CG
  2255. Tue Dec 3 21:25:56 CET 2013
  2256. Security fix: do not read past 0-terminator when unescaping
  2257. strings (thanks to Florian Weimer for reporting).
  2258. Releasing 0.9.32. -CG
  2259. Tue Dec 3 21:05:38 CET 2013
  2260. Signaling n times for shutdown works, but for resume we need to
  2261. wake up the correct daemon. Even if we signal n times in that
  2262. case also, there's no guarantee that some daemon can't run
  2263. through its select loop more than once before the daemon we want
  2264. to wake up gets a chance to read. Thus we need a signal pipe
  2265. per thread in the thread pool IF MHD_suspend_connection is used.
  2266. This introduces a new flag MHD_USE_SUSPEND_RESUME to add those
  2267. additional pipes and only allow MHD_suspend_connection to be
  2268. used in conjunction with this flag.
  2269. Also, as MHD_resume_connection() will be called on a non-daemon
  2270. thread, but none of the queue insert/delete calls are thread safe,
  2271. we need to be concerned about (a) corrupting the queue, and (b)
  2272. having to add mutex protection around every access to the queues,
  2273. including loops through timer queues, etc. This wasn't a problem
  2274. before adding resume; even suspend should be safe since it happens
  2275. in a callback from the daemon.
  2276. I think it's easier to (a) have MHD_suspend_connection() move the
  2277. connection to a suspended queue, (b) have MHD_resume_connection()
  2278. mark the connection as resuming, and then (c) do all the actual
  2279. queue manipulations in MHD_select (poll, epoll, etc.) to move the
  2280. resumed connections back to their normal queues, in response to
  2281. the wake up. The changes are simpler & cleaner. There is a cost to
  2282. the basic select loop that is avoided by making suspend/resume a
  2283. startup option. The per-worker pipes can then also be enabled only
  2284. with that option set. -MH
  2285. Fri Nov 29 20:17:03 CET 2013
  2286. Eliminating theoretical stack overflow by limiting length
  2287. of URIs in authentication headers to 32k (only applicable
  2288. if the application explicitly raised the memory limits,
  2289. and only applies to MHD_digest_auth_check). Issue was
  2290. reported by Florian Weimer. -CG
  2291. Tue Nov 26 01:26:15 CET 2013
  2292. Fix race on shutdown signal with thread pool on non-Linux
  2293. systems by signalling n times for n threads. -CG
  2294. Sun Nov 24 13:41:15 CET 2013
  2295. Introduce state to mark connections in suspended state (with
  2296. epoll); add missing locking operations in MHD_suspend_connection.
  2297. Fix definition of MHD_TLS_CONNECTION_INIT. -MH/JC
  2298. Wed Oct 30 09:34:20 CET 2013
  2299. Fixing issue in PostProcessor when getting partial boundary
  2300. at the beginning, expanding test suite. -CG
  2301. Sun Oct 27 15:19:44 CET 2013
  2302. Implementing faster processing of upload data in multipart
  2303. encoding (thanks to performance analysis by Adam Homolya). -CG
  2304. Thu Oct 24 10:40:03 CEST 2013
  2305. Adding support for connection flow control via
  2306. MHD_suspend_connection and MHD_resume_connection. -CG
  2307. Sat Oct 19 16:40:32 CEST 2013
  2308. Releasing libmicrohttpd 0.9.31. -CG
  2309. Mon Sep 23 20:24:48 CEST 2013
  2310. Fixing build issues on OS X with CLOCK_MONOTONIC not being
  2311. implemented on OS X. -CG
  2312. Mon Sep 23 14:15:00 CEST 2013
  2313. Make libmicrohttpd play nicely with upcoming libgcrypt 1.6.0. -CG
  2314. Fri Sep 20 17:01:37 CEST 2013
  2315. Improved configure checks for cURL. -CG
  2316. Wed Sep 18 18:29:24 CEST 2013
  2317. Signal connection termination as OK (and not as ERROR) if the
  2318. stream was terminated by the callback returning
  2319. MHD_CONTENT_READER_END_OF_STREAM. Also, release response
  2320. mutex before calling the termination callback, to avoid
  2321. possible deadlock if the client destroys the response in
  2322. the termination callback (due to non-recursiveness of the
  2323. lock). -CG
  2324. Wed Sep 18 14:31:35 CEST 2013
  2325. Adding #define MHD_HTTP_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN. -CG
  2326. Tue Sep 17 21:32:47 CEST 2013
  2327. Also pass MHD connection handle in URI log callback. -CG
  2328. Fri Sep 6 10:00:44 CEST 2013
  2329. Improved check for proper OpenSSL version for
  2330. libmicrospdy. -CG
  2331. Wed Sep 4 17:23:15 CEST 2013
  2332. Set IPV6_V6ONLY socket option correctly when IPv6 is
  2333. enabled (MHD_USE_IPv6) but not dual stack
  2334. (MHD_USE_DUAL_STACK) -MW
  2335. Mon Sep 2 22:59:45 CEST 2013
  2336. Fix use-after-free in epoll()-mode on read error.
  2337. Releasing libmicrohttpd 0.9.30. -CG
  2338. Sun Sep 1 21:55:53 CEST 2013
  2339. Fixing build issues on FreeBSD. -CG
  2340. Fri Aug 30 13:53:04 CEST 2013
  2341. Started to implement #3008 (RFC 2616, section 8.1.4
  2342. says HTTP server SHOULD terminate connection if the
  2343. client closes it for writing via TCP FIN, so we should
  2344. continue to try to read and react differently
  2345. if recv() returns zero). -CG
  2346. Wed Aug 28 18:40:47 CEST 2013
  2347. Fix #3007 (build issue if messages are disabled). -CG
  2348. Tue Aug 27 18:39:08 CEST 2013
  2349. Fix build issue if SOCK_NONBLOCK/EPOLL_CLOEXEC are not
  2350. defined (as is the case on older glibc versions). -CG
  2351. Fri Aug 23 14:28:02 CEST 2013
  2352. Releasing libmicrohttpd 0.9.29. -CG
  2353. Mon Aug 12 23:51:18 CEST 2013
  2354. Updated manual, documenting W32 select/shutdown issue. -CG
  2355. Sat Aug 10 21:01:18 CEST 2013
  2356. Fixed #2983. -CG
  2357. Sat Aug 10 20:39:27 CEST 2013
  2358. Use 'errno' to indicate why 'MHD_add_connection' failed
  2359. (#2984). -CG
  2360. Sat Aug 10 17:31:31 CEST 2013
  2361. Disable use of 'shutdown' on W32 always as winsock
  2362. doesn't properly behave with half-closed connections
  2363. (see http://www.chilkatsoft.com/p/p_299.asp). -CG/LRN
  2364. Thu Aug 8 07:55:07 CEST 2013
  2365. Fixing issue with pipelining not working as desired. -CG
  2366. Wed Aug 7 08:17:40 CEST 2013
  2367. Removing dependency on liberty (on W32). -MC
  2368. Fri Aug 2 20:55:47 CEST 2013
  2369. Fix HTTP 1.1 compliance with respect to not returning
  2370. content-length headers for successful "CONNECT" requests.
  2371. Note that for unsuccessful "CONNECT" requests with an
  2372. empty response body, users must now explicitly set the
  2373. content-length header. -CG
  2374. Sun Jul 28 16:35:17 CEST 2013
  2375. Fixing build issue (missing #ifdef) in conjunction with
  2376. --disable-messages. -blueness
  2377. Sat Jul 20 12:35:40 CEST 2013
  2378. Fixing combination of MHD_USE_SSL and MHD_USE_EPOLL_LINUX_ONLY. -CG
  2379. Fri Jul 19 09:57:27 CEST 2013
  2380. Fix issue where connections were not cleaned up when
  2381. 'MHD_run_from_select' was used. Adding experimental
  2382. TURBO mode.
  2383. Releasing libmicrohttpd 0.9.28. -CG
  2384. Sun Jul 14 19:57:56 CEST 2013
  2385. Removing 'shutdown' calls that happen just before close or
  2386. that are for read-only and for a client that has already
  2387. stopped sending anyway (thus reducing number of system calls
  2388. slightly). -CG
  2389. Sun Jul 14 19:37:37 CEST 2013
  2390. Name MHD worker threads on glibc >= 2.12. -,L4X[o](B
  2391. Fri Jul 5 12:05:01 CEST 2013
  2392. Added MHD_OPTION_CONNECTION_MEMORY_INCREMENT to allow users
  2393. to specify a custom value for incrementing read buffer
  2394. sizes (#2899). -MH
  2395. Fri Jun 28 14:05:15 CEST 2013
  2396. If we shutdown connection for reading on POST due to error,
  2397. really do not process further requests even if we already
  2398. read the next request from the connection. Furthermore, do
  2399. not shutdown connections for reading on GET/HEAD/etc. just
  2400. because the application queued a response immediately ---
  2401. reserve that behavior for PUT/POST. -CG
  2402. Tue Jun 25 15:08:30 CEST 2013
  2403. Added option 'MHD_USE_DUAL_STACK' to support a single
  2404. daemon for IPv4 and IPv6 without the application having
  2405. to do the binding. -CG
  2406. Mon Jun 24 22:33:34 CEST 2013
  2407. Finished integration with epoll, including benchmarking and
  2408. documentation. -CG
  2409. Sun Jun 23 15:28:13 CEST 2013
  2410. Added option 'MHD_USE_PIPE_FOR_SHUTDOWN' to cleanly support
  2411. 'MHD_quiesce_daemon' with thread pools and per-connection
  2412. threads (we then need a pipe for shutdown, but if
  2413. 'MHD_quiesce_daemon' is not used, we do not want to
  2414. require the use of a pipe; introducing the pipe after
  2415. the threads have been started can also fail, so the
  2416. application needs to tell us early on). -CG
  2417. Sat Jun 22 20:24:17 CEST 2013
  2418. Removed locking calls for thread modes that do not need them.
  2419. Reorganized way to obtain connection's event loop state.
  2420. Added sorted XDLL for connections with default timeout to
  2421. avoid having to loop over all connections to determine current
  2422. timeout (custom per-connection timeouts are in another list
  2423. which is iterated each time). -CG
  2424. Fri Jun 21 20:55:48 CEST 2013
  2425. Preparing build system and tests for epoll support. -CG
  2426. Tue May 21 14:34:36 CEST 2013
  2427. Improving configure tests for OpenSSL and spdylay to
  2428. avoid build errors in libmicrospdy code if those libraries
  2429. are not present. -CG
  2430. Mon May 20 12:29:35 CEST 2013
  2431. Added MHD_CONNECTION_INFO_CONNECTION_FD to allow clients
  2432. direct access to connection socket; useful for COMET
  2433. applications that need to disable NAGLE (#2886). -CG
  2434. Mon May 15 12:49:01 CEST 2013
  2435. Fixing #2859. -CG
  2436. Sun May 5 21:44:08 CEST 2013
  2437. Merged libmicrospdy code with libmicrohttpd build system
  2438. (no major changes to libmicrospdy itself yet). -CG
  2439. Sun May 5 20:13:59 CEST 2013
  2440. Improved documentation and code style a bit.
  2441. Releasing libmicrohttpd 0.9.27. -CG
  2442. Thu Apr 25 13:08:10 CEST 2013
  2443. Added 'MHD_quiesce_daemon' to allow application to stop
  2444. processing new incoming connections while finishing
  2445. ongoing requests. -CG
  2446. Sun Mar 31 23:17:13 CEST 2013
  2447. Added MHD demonstration code 'src/examples/demo.c'. -CG
  2448. Sun Mar 31 20:27:48 CEST 2013
  2449. Adding new API call 'MHD_run_from_select' to allow programs
  2450. running in 'external select mode' to reduce the number of
  2451. 'select' calls by a factor of two. -CG
  2452. Sun Mar 31 20:03:48 CEST 2013
  2453. Performance improvements, updated documentation.
  2454. Make better use of available memory pool memory for
  2455. reading (especially important for large POST uploads);
  2456. improve post processor speed by internally adjusting the
  2457. buffer size by 4 bytes to ensure "round" IO sizes given
  2458. a "round" post processor buffer size argument. Note
  2459. that applications that previously added 4 bytes to the
  2460. post processor buffer size might now perform worse.
  2461. Using the new 'demo' example, POST upload speed
  2462. increased from ~90 MB/s to ~120 MB/s for a large file
  2463. (note that the improvement comes from better aligned
  2464. disk IO; without disk IO, the speed was (and remains)
  2465. at ~1500 MB/s on this system). -CG
  2466. Fri Mar 29 16:44:29 CET 2013
  2467. Renaming testcases to consistently begin with test_;
  2468. Changing build system to build examples in doc/.
  2469. Releasing libmicrohttpd 0.9.26. -CG
  2470. Thu Mar 7 10:13:08 CET 2013
  2471. Fix bug in postprocessor URL parser (#2818). -jgresula
  2472. Mon Mar 4 13:45:35 CET 2013
  2473. Fix dropping of SSL connections if uptime is less than
  2474. MHD_OPTION_CONNECTION_TIMEOUT due to integer underflow (#2802). -greed
  2475. Fri Mar 1 01:11:57 CET 2013
  2476. Fully initialize cleanup mutex struct for each thread (#2803). -Ulion
  2477. Wed Feb 6 01:51:52 CET 2013
  2478. Releasing libmicrohttpd 0.9.25. -CG
  2479. Fri Feb 1 10:19:44 CET 2013
  2480. Handle case where POST data contains "key=" without value
  2481. at the end and is not new-line terminated by invoking the
  2482. callback with the "key" during MHD_destroy_post_processor (#2733). -CG
  2483. Wed Jan 30 13:09:30 CET 2013
  2484. Adding more 'const' to allow keeping of reason phrases in ROM.
  2485. (see mailinglist). -CG/MV
  2486. Tue Jan 29 21:27:56 CET 2013
  2487. Make code work with PlibC 0.1.7 (which removed plibc_init_utf8).
  2488. Only relevant for W32. Fixes #2734. -CG
  2489. Sat Jan 26 21:26:48 CET 2013
  2490. Fixing regression introduced Jan 6 (test on data_size instead
  2491. of total_size. -CG
  2492. Fri Jan 11 23:21:55 CET 2013
  2493. Also return MHD_YES from MHD_destroy_post_processor if
  2494. we did not get '\r\n' in the upload. -CG
  2495. Sun Jan 6 21:10:13 CET 2013
  2496. Enable use of "MHD_create_response_from_callback" with
  2497. body size of zero. -CG
  2498. Tue Dec 25 16:16:30 CET 2012
  2499. Releasing libmicrohttpd 0.9.24. -CG
  2500. Tue Dec 18 21:18:11 CET 2012
  2501. Given both 'chunked' encoding and 'content-length',
  2502. ignore the 'content-length' header as per RFC. -ES
  2503. Thu Dec 6 10:14:44 CET 2012
  2504. Force adding "Connection: close" header to response if
  2505. client asked for connection to be closed (so far, we
  2506. did close the connection, but did not send the
  2507. "Connection: close" header explicitly, which some clients
  2508. seem to dislike. (See discussion on mailinglist).
  2509. Also, if there is already a transfer-encoding other
  2510. than 'chunked' set by the application, we also now close
  2511. the connection if the response is of unknown size. -CG
  2512. Wed Dec 5 19:22:26 CET 2012
  2513. Fixing parameter loss of POST parameters with IE8 and Chrome
  2514. in the PostProcessor as the code failed to properly handle
  2515. partial data. -MM
  2516. Fri Nov 9 21:36:46 CET 2012
  2517. Releasing libmicrohttpd 0.9.23. -CG
  2518. Thu Nov 8 22:32:59 CET 2012
  2519. Ship our own version of tsearch and friends if not provided by platform,
  2520. so that MHD works nicely on Android. -JJ
  2521. Mon Oct 22 13:05:01 CEST 2012
  2522. Immediately do a second read if we get a full buffer from
  2523. TLS as there might be more data in the TLS buffers even if
  2524. there is no activity on the socket. -CG
  2525. Tue Oct 16 01:33:55 CEST 2012
  2526. Consistently use "#ifdef" and "#ifndef" WINDOWS, and not
  2527. sometimes "#if". -CG
  2528. Sat Sep 1 20:51:21 CEST 2012
  2529. Releasing libmicrohttpd 0.9.22. -CG
  2530. Sat Sep 1 20:38:35 CEST 2012
  2531. Adding configure option to allow selecting support for basic
  2532. and digest authentication separately (#2525). -CG
  2533. Thu Aug 30 21:12:56 CEST 2012
  2534. Fixing URI argument parsing when string contained keys without
  2535. equals sign (i.e. '&bar&') in the middle of the argument (#2531).
  2536. Also replacing 'strstr' with more efficient 'strchr' when
  2537. possible. -CG
  2538. Tue Aug 21 14:36:17 CEST 2012
  2539. Use "int" instead of "enum X" in 'va_arg' calls to be nice to
  2540. compilers that use 'short' (i.e. 8 or 16 bit) enums but pass
  2541. enums still as "int" in varargs. (See discussion on mailinglist). -CG/MV
  2542. Tue Aug 21 14:31:54 CEST 2012
  2543. Reduce default size in post processor buffer (for small systems;
  2544. performance impact on large systems should be minimal). -CG/MV
  2545. Thu Jul 19 21:48:42 CEST 2012
  2546. Releasing libmicrohttpd 0.9.21. -CG
  2547. Thu Jul 19 11:34:50 CEST 2012
  2548. Consistently use 'panic' function instead of ever directly
  2549. calling 'abort ()'. Eliminating unused mutex in SSL mode.
  2550. Removing check in testcases that fails depending on which
  2551. version of gnuTLS is involved. -CG
  2552. Tue Jul 17 23:50:43 CEST 2012
  2553. Stylistic code clean up. Allowing lookup up of trailing values
  2554. without keys using "MHD_lookup_connection_value" with a key of NULL
  2555. (thus achieving consistency with the existing iterator API). -CG
  2556. Tue Jul 17 22:37:05 CEST 2012
  2557. Adding experimental (!) code for MHD operation without listen socket. -CG
  2558. Tue Jul 17 22:15:57 CEST 2012
  2559. Making sendfile test pass again on non-W32 systems. -CG
  2560. Mon Jul 9 13:43:35 CEST 2012
  2561. Misc changes to allow testcases to pass on W32. -LRN
  2562. Sun Jul 8 15:05:31 CEST 2012
  2563. Misc changes to fix build on W32. -LRN
  2564. Fri Jun 22 11:31:25 CEST 2012
  2565. Make sure sockets opened by MHD are non-inheritable by default (#2414). -CG
  2566. Tue Jun 19 19:44:53 CEST 2012
  2567. Change various uses of time(NULL) to new MHD_monotonic_time() function to
  2568. make timeouts immune to the system real time clock changing. -MC
  2569. Tue Jun 12 21:35:00 CEST 2012
  2570. Adding 451 status code. -CG
  2571. Thu May 31 13:33:45 CEST 2012
  2572. Releasing 0.9.20. -CG
  2573. Tue May 29 13:55:03 CEST 2012
  2574. Fixed some testcase build issues with disabled post processor. -CG
  2575. Tue May 29 13:45:15 CEST 2012
  2576. Fixing bug where MHD failed to call connection termination callback
  2577. if a connection either was closed due to read errors or if MHD
  2578. was terminated with certain threading modes. Added new
  2579. termination code MHD_REQUEST_TERMINATED_READ_ERROR for the
  2580. read-termination cause. -CG
  2581. Thu Mar 15 23:47:53 CET 2012
  2582. Eliminating code clone in tls connection read/write handlers. -CG
  2583. Fri Mar 2 23:44:56 CET 2012
  2584. Making sure that MHD_get_connection_values iterates over the
  2585. headers in the order in which they were received. -CG
  2586. Wed Feb 1 09:39:12 CET 2012
  2587. Fixed compilation problem on MinGW. -BS
  2588. Tue Jan 31 17:50:24 CET 2012
  2589. Releasing 0.9.19. -CG
  2590. Mon Jan 30 20:02:34 CET 2012
  2591. Fixed handling of garbage prior to first multipart boundary
  2592. (#2126). -woof
  2593. Fri Jan 27 11:00:43 CET 2012
  2594. Fixed postprocessor failure for applications that enclosed boundary
  2595. in quotes (#2120). -woof
  2596. Tue Jan 24 16:07:53 CET 2012
  2597. Added configure check for sin_len in 'struct sockaddr' and adding
  2598. code to initialize this field if it exists now. -CG
  2599. Mon Jan 23 14:02:26 CET 2012
  2600. Fixed double-free if specified cipher was not valid (during
  2601. MHD_daemon_start). Releasing 0.9.18. -CG
  2602. Thu Jan 19 22:11:12 CET 2012
  2603. Switch to non-blocking sockets for all systems but Cygwin
  2604. (we already used non-blocking sockets for GNU/Linux); also
  2605. use non-blocking sockets on Cygwin for HTTPS as this is
  2606. required to avoid DoS-by-partial-record via gnutls. On
  2607. Cygwin, #1824 implies that we need to use blocking sockets
  2608. for HTTP on Cygwin for now. -CG
  2609. Thu Jan 19 17:46:05 CET 2012
  2610. Fixing use of uninitialized 'earliest_deadline' variable in
  2611. MHD_get_timeout which can lead to returning an incorrect
  2612. (too early) timeout (#2085). -tclaveirole
  2613. Thu Jan 19 13:31:27 CET 2012
  2614. Fixing digest authentication for GET requests with URI arguments
  2615. (#2059). -CG
  2616. Sat Jan 7 17:30:48 CET 2012
  2617. Digest authentication expects nonce count in base 16, not base 10
  2618. (#2061). -tclaveirole
  2619. Thu Jan 5 22:01:37 CET 2012
  2620. Partial fix for #2059, digest authentication with GET arguments. -CG
  2621. Thu Dec 1 15:22:57 CET 2011
  2622. Updated authorization_example.c to actually demonstrate the current
  2623. MHD API. -SG
  2624. Mon Nov 21 18:51:30 CET 2011
  2625. Added option to suppress generation of the 'Date:' header to be
  2626. used on embedded systems without RTC. Documented the new option
  2627. and the configure options. -CG
  2628. Sat Nov 19 20:08:40 CET 2011
  2629. Releasing 0.9.17. -CG
  2630. Fri Nov 18 20:17:22 CET 2011
  2631. Fixing return value of MHD_get_timeout if timeouts are not in use.
  2632. (#1914). -rboulton
  2633. Sun Nov 13 13:34:29 CET 2011
  2634. Trying to fix accidental addition of a "Connection: close" footer
  2635. under certain (rare) circumstances. -CG
  2636. Fri Nov 4 10:03:00 CET 2011
  2637. Small updates to the tutorial.
  2638. Releasing 0.9.16. -CG
  2639. Thu Nov 3 10:14:59 CET 2011
  2640. shutdown(RDWR) fails on OS X after shutdown(RD), so only use
  2641. shutdown(WR) if we already closed the socket for reading (otherwise
  2642. OS X might not do shutdown (WR) at all). -CG
  2643. Tue Nov 1 18:51:50 CET 2011
  2644. Force adding of 'Connection: close' to the header if we (for whatever
  2645. reason) are shutting down the socket for reading (see also
  2646. #1760). -CG
  2647. Thu Oct 27 14:16:34 CEST 2011
  2648. Treat EAGAIN the same way as EINTR (helps on W32). -LRN
  2649. Wed Oct 12 10:40:12 CEST 2011
  2650. Made sockets blocking again for non-Linux platforms as non-blocking
  2651. sockets cause problems (#1824) on Cygwin but offer better performance
  2652. on Linux (see change on August 11 2011). -CG/pross
  2653. Fri Oct 7 19:50:07 CEST 2011
  2654. Fixed problems with testcases on W32. -LRN
  2655. Fri Sep 30 17:56:36 CEST 2011
  2656. Fixed MHD_CONNECTION_OPTION_TIMEOUT for HTTPS (#1811). -CG
  2657. Wed Sep 28 08:37:55 CEST 2011
  2658. Releasing libmicrohttpd 0.9.15. -CG
  2659. Tue Sep 27 13:07:36 CEST 2011
  2660. Added ability to access URL arguments of the form 'url?foo' (without
  2661. '='). Added testcase and updated documentation accordingly. -CG
  2662. Mon Sep 26 21:24:00 CEST 2011
  2663. Only run response cleanup testcase if curl binary was found by
  2664. configure. -CG
  2665. Wed Sep 21 09:53:18 CEST 2011
  2666. Reverting to using pipes for signalling select on non-Linux
  2667. platforms where shutdown-on-listen-sockets does not work. -WB/CG
  2668. Mon Sep 19 14:06:30 CEST 2011
  2669. Fixing problem introduced with prompt response cleanup code. -CG
  2670. Wed Sep 14 13:43:26 CEST 2011
  2671. Fixing minor memory leak if daemon with HTTPS support failed to
  2672. initialize (#1766). -CG
  2673. Tue Sep 13 09:47:58 CEST 2011
  2674. Try to release responses more promptly upon connection termination. -CG
  2675. Mon Sep 12 10:20:28 CEST 2011
  2676. Releasing libmicrohttpd 0.9.14. -CG
  2677. Mon Sep 12 10:05:36 CEST 2011
  2678. Added new function to allow setting of a custom timeout value
  2679. for an individual connection (the MHD_set_connection_option is
  2680. more generic, but this is currently the only use). -CG
  2681. Sat Sep 10 07:30:12 CEST 2011
  2682. Documenting that MHD_CONNECTION_INFO_GNUTLS_CLIENT_CERT is not
  2683. implemented and will not be implemented, and what to use instead. -CG
  2684. Fri Sep 9 13:42:20 CEST 2011
  2685. Added testcase to demonstrate that response cleanup calling is
  2686. working. No bug was found. -CG
  2687. Thu Aug 18 11:05:16 CEST 2011
  2688. Fixed bug with wrong state transition if callback returned
  2689. MHD_CONTENT_READER_END_OF_STREAM causing spurious extra callbacks
  2690. to the handler (thanks to Jan Seeger for pointing it out). -CG/JS
  2691. Thu Aug 11 11:40:03 CEST 2011
  2692. Changing sockets to be non-blocking as suggested by Eivind Sarto
  2693. on the mailinglist. -CG
  2694. Mon Jul 25 16:13:15 CEST 2011
  2695. Added a logo. -CG
  2696. Sat Jul 16 22:42:10 CEST 2011
  2697. Change type of nonce to 'unsigned long int' to match return type
  2698. from 'strtoul'. Fixes ERANGE check which would have previously
  2699. failed. -CG
  2700. Wed Jul 13 09:26:17 CEST 2011
  2701. Fixing HTTP error status strings for certain high-numbered status codes.
  2702. Added support for some more (non-standard) status codes.
  2703. Releasing libmicrohttpd 0.9.13. -CG
  2704. Thu Jul 7 10:24:20 CEST 2011
  2705. Adding performance measurements. -CG
  2706. Thu Jun 23 14:21:13 CEST 2011
  2707. Releasing libmicrohttpd 0.9.12. -CG
  2708. Wed Jun 22 14:32:23 CEST 2011
  2709. Force closing connection if either the client asked it or
  2710. if the response contains 'Connection: close' (so far,
  2711. only the client's request was considered). -CG/RV
  2712. Wed Jun 22 10:37:35 CEST 2011
  2713. Removing listen socket from poll/select sets in
  2714. MHD_USE_THREAD_PER_CONNECTION mode; using 'shutdown'
  2715. on connection sockets to signal termination instead. -CG
  2716. Wed Jun 22 10:25:13 CEST 2011
  2717. Eliminate unnecessary (and badly synchronized) calls to
  2718. MHD_get_timeout in MHD_USE_THREAD_PER_CONNECTION mode.
  2719. Document that this is not acceptable. -CG
  2720. Tue Jun 21 13:54:59 CEST 2011
  2721. Fixing tiny memory leak in SSL code from 'gnutls_priority_init'.
  2722. Fixing data race between code doing connection shutdown and
  2723. connection cleanup.
  2724. Changing code to reduce connection cleanup cost from O(n) to O(1).
  2725. Cleaning up logging code around 'connection_close_error'. -CG
  2726. Sat Jun 11 13:05:12 CEST 2011
  2727. Replacing use of sscanf by strtoul (#1688). -CG/bplant
  2728. Fri Jun 3 15:26:42 CEST 2011
  2729. Adding MHD_CONNECTION_INFO_DAEMON to obtain MHD_Daemon
  2730. responsible for a given connection. -CG
  2731. Wed May 25 14:23:20 CEST 2011
  2732. Trying to fix stutter problem on timeout described by
  2733. David Myers on the mailinglist (5/10/2011). -CG
  2734. Fri May 20 22:11:55 CEST 2011
  2735. Fixed bug in testcase setup code causing crashes in
  2736. tls_session_timeout_test on some systems.
  2737. Releasing libmicrohttpd 0.9.11. -CG
  2738. Fri May 20 19:34:59 CEST 2011
  2739. Fixed bug in parsing multipart/form-data with post processor where
  2740. the code failed to add a 0-terminator in the correct position. -PP
  2741. Thu May 12 14:40:46 CEST 2011
  2742. Fixed bug where if multiple HTTP request messages are piped in at once,
  2743. microhttpd would call the handler with the wrong upload_data_size. -HZM
  2744. Thu May 12 14:40:08 CEST 2011
  2745. Documented possible issue with off_t being sometimes
  2746. 32-bit and sometimes 64-bit depending on #includes. -CG
  2747. Sun May 8 21:52:47 CEST 2011
  2748. Allow MHD_SIZE_UNKNOWN to be used in conjunction with
  2749. MHD_create_response_from_fd (fixing #1679). -TG
  2750. Wed Apr 27 16:11:18 CEST 2011
  2751. Releasing libmicrohttpd 0.9.10. -CG
  2752. Fri Apr 8 11:40:35 CEST 2011
  2753. Workaround for cygwin poll brokenness. -TS
  2754. Sun Apr 3 13:56:52 CEST 2011
  2755. Fixing compile error on OS X. -CG
  2756. Wed Mar 30 12:56:09 CEST 2011
  2757. Initialize tv_usec in MHD_USE_THREAD_PER_CONNECTION with select
  2758. and per-connection timeout. -CG
  2759. Tue Mar 29 14:15:13 CEST 2011
  2760. Releasing libmicrohttpd 0.9.9. -CG
  2761. Tue Mar 29 14:11:19 CEST 2011
  2762. Fixed call to mmap for memory pool, extended testcase to cover
  2763. POLL. -CG
  2764. Wed Mar 23 23:24:25 CET 2011
  2765. Do not use POLLIN when we only care about POLLHUP (significantly
  2766. improves performance when using MHD_USE_THREAD_PER_CONNECTION
  2767. in combination with MHD_USE_POLL). -ES
  2768. Sun Mar 20 09:16:53 CET 2011
  2769. Fixing race when using MHD_USE_THREAD_PER_CONNECTION in combination
  2770. with MHD_USE_POLL. -CG
  2771. Fri Mar 18 13:23:47 CET 2011
  2772. Removing MSG_DONTWAIT which should not be needed and was presumably
  2773. causing problems with EAGAIN under certain circumstances. -ES
  2774. Fri Mar 11 22:25:29 CET 2011
  2775. Fixing bug in MHD_create_response_from_fd_at_offset with non-zero offsets. -ES
  2776. Sat Mar 5 22:00:36 CET 2011
  2777. Do not use POLLRDHUP, which causes build errors on OS X / OpenSolaris
  2778. (#1667). -CG
  2779. Fri Mar 4 10:24:04 CET 2011
  2780. Added new API to allow MHD server to initiate connection to
  2781. client (special use-case for servers behind NAT), thereby
  2782. addressing #1661 (externally created connections).
  2783. Releasing libmicrohttpd 0.9.8. -CG
  2784. Fri Mar 4 10:07:18 CET 2011
  2785. Avoid using a pipe for signalling as well, just use server
  2786. socket shutdown (also for thread-per-connection). -CG
  2787. Thu Mar 3 21:42:47 CET 2011
  2788. Fixing issue where Base64 decode fails when char is defined
  2789. as unsigned char (Mantis 1666). -CG/tmayer
  2790. Tue Mar 1 13:58:04 CET 2011
  2791. Allow use of 'poll' in combination with the external select mode.
  2792. Avoid using pthread signals (SIGALRM), use pipe instead.
  2793. Corrected timeout calculation (s vs. ms). -CG
  2794. Wed Feb 23 14:21:44 CET 2011
  2795. Removing useless code pointed out by Eivind Sarto. -CG
  2796. Fri Feb 18 11:03:59 CET 2011
  2797. Handle large (>2 GB) file transfers with sendfile on 32-bit
  2798. systems better; handle odd sendfile failures by libc/kernel
  2799. by falling back to standard 'SEND'. -CG
  2800. Sun Feb 13 10:52:29 CET 2011
  2801. Handle gnutls receive error(s) for interrupted SSL
  2802. connections better. -MS
  2803. Releasing libmicrohttpd 0.9.7. -CG
  2804. Fri Feb 11 10:15:38 CET 2011
  2805. Fixing parameter ordering in documentation (#1659). -wellska
  2806. Thu Jan 27 10:51:39 CET 2011
  2807. Disable 'EXTRA_CHECKS's by default as suggested in #1652
  2808. (I guess it is time). -CG/timn
  2809. Thu Jan 27 10:48:55 CET 2011
  2810. Removing bogus assertion in basic authentication code (#1651). -CG/timn
  2811. Tue Jan 25 14:10:45 CET 2011
  2812. Releasing libmicrohttpd 0.9.6. -CG
  2813. Mon Jan 24 16:36:35 CET 2011
  2814. Fixing compilation error if DAUTH_SUPPORT was 0 (#1646). -CG/bplant
  2815. Tue Jan 18 23:58:09 CET 2011
  2816. Fixing hash calculation in digest auth; old function had
  2817. collisions causing the browser to challenge users for
  2818. authentication too often. -CG/AW
  2819. Fri Jan 14 19:19:45 CET 2011
  2820. Removing dead code, adding missing new symbols to export list.
  2821. Fixed two missing NULL checks after malloc operations. -CG
  2822. Mon Jan 10 14:07:33 CET 2011
  2823. Releasing libmicrohttpd 0.9.5. -CG
  2824. Wed Jan 5 15:20:11 CET 2011
  2825. Fixing double-locking on non-Linux platforms when using
  2826. MHD_create_response_from_fd (#1639). -CG
  2827. Avoid use of strndup for better portability (#1636). -CG
  2828. Tue Jan 4 13:07:21 CET 2011
  2829. Added MHD_create_response_from_buffer, deprecating
  2830. MHD_create_response_from_data. Deprecating
  2831. MHD_create_response_from_fd as well. -CG
  2832. Sun Dec 26 00:02:15 CET 2010
  2833. Releasing libmicrohttpd 0.9.4. -CG
  2834. Sat Dec 25 21:57:14 CET 2010
  2835. Adding support for basic authentication.
  2836. Documented how to obtain client SSL certificates in tutorial. -MS
  2837. Thu Dec 23 15:40:36 CET 2010
  2838. Increasing nonce length to 128 to support digest authentication
  2839. with Opera (see #1633).
  2840. Mon Dec 20 21:22:57 CET 2010
  2841. Added macro MHD_LONG_LONG to allow change of MHD's "long long" use
  2842. to some other type on platforms that do not support "long long"
  2843. (Mantis #1631). -CG/bplant
  2844. Sun Dec 19 19:54:15 CET 2010
  2845. Added 'MHD_create_response_from_fd_at_offset'. -CG
  2846. Sun Dec 19 15:16:16 CET 2010
  2847. Fixing --enable and --disable configure options to behave properly. -CG
  2848. Sun Dec 19 13:46:52 CET 2010
  2849. Added option to specify size of stacks for threads created by MHD. -CG
  2850. Tue Nov 23 09:41:00 CET 2010
  2851. Releasing libmicrohttpd 0.9.3. -CG
  2852. Thu Nov 18 23:10:36 CET 2010
  2853. Fixing #1619 (testcases not working with NSS on Fedora). -CG/timn
  2854. Thu Nov 18 22:55:58 CET 2010
  2855. Fixing #1621 (socket not closed under certain circumstances). -CG/jaredc
  2856. Wed Nov 17 12:16:53 CET 2010
  2857. Allowing signalling of errors in generating chunked responses to
  2858. clients (by closing connectins) using the new
  2859. MHD_CONTENT_READER_END_WITH_ERROR ((size_t)-2) return value. Also
  2860. introducing MHD_CONTENT_READER_END_OF_STREAM constant instead
  2861. of (size_t) -1 / SIZE_MAX.
  2862. Sun Nov 14 20:45:45 CET 2010
  2863. Adding API call to generate HTTP footers in response. -CG
  2864. Sat Oct 16 12:38:43 CEST 2010
  2865. Releasing libmicrohttpd 0.9.2. -CG
  2866. Tue Oct 12 15:41:51 CEST 2010
  2867. Fixed issue with data received via SSL being delayed in the
  2868. GNUtls buffer if sender stopped transmitting (but did not close
  2869. the connection) and MHD buffer size was smaller than last fragment,
  2870. resulting in possibly significantly delayed processing of
  2871. incoming data. -CG
  2872. Wed Sep 22 09:48:59 CEST 2010
  2873. Changed port argument from 'unsigned short' to 'uint16_t'.
  2874. Removed dead code when compiling with messages enabled.
  2875. Minimal unrelated code cleanup. -CG
  2876. Tue Sep 21 15:12:41 CEST 2010
  2877. Use "size_t" for buffer size instead of "int". -CG
  2878. Sat Sep 18 07:16:30 CEST 2010
  2879. Adding support for SHOUTcast. -CG
  2880. Wed Sep 15 09:33:46 CEST 2010
  2881. Fixed double-free. -CG/ES
  2882. Fri Sep 10 14:47:11 CEST 2010
  2883. Releasing libmicrohttpd 0.9.1. -CG
  2884. Fri Sep 10 14:29:37 CEST 2010
  2885. Adding proper nonce counter checking for digest authentication. -CG/AA
  2886. Sat Sep 4 21:55:52 CEST 2010
  2887. Digest authentication now seems to be working. -CG/AA
  2888. Wed Sep 1 13:59:16 CEST 2010
  2889. Added ability to specify external unescape function.
  2890. "microhttpd.h" now includes the right headers for GNU/Linux
  2891. systems unless MHD_PLATFORM_H is defined (in which case it
  2892. is assumed that the right headers were already determined by
  2893. some configure-like process). -CG
  2894. Tue Aug 31 15:39:25 CEST 2010
  2895. Fixed bug with missing call to response cleanup in case of
  2896. connection handling error (for example, after getting a SIGPIPE). -CG
  2897. Tue Aug 24 11:39:25 CEST 2010
  2898. Fixed bug in handling EAGAIN from GnuTLS (caused
  2899. needlessly dropped SSL connections). -CG
  2900. Sun Aug 22 16:49:13 CEST 2010
  2901. Initial draft for digest authentication. -AA
  2902. Thu Aug 19 14:15:01 CEST 2010
  2903. Changed code to enable error messages and HTTPS by default;
  2904. added option to disable post processor API (use
  2905. breaks binary compatibility, should only be done
  2906. for embedded systems that require minimal footprint). -CG
  2907. Thu Aug 19 13:26:00 CEST 2010
  2908. Patches for Windows to ease compilation trouble. -GT/CG
  2909. Sat Aug 14 15:43:30 CEST 2010
  2910. Fixed small, largely hypothetical leaks.
  2911. Reduced calls to strlen for header processing. -CG
  2912. Fri Aug 6 12:51:59 CEST 2010
  2913. Fixing (small) memory leak on daemon-shutdown with
  2914. SSL enabled. -CG/PG
  2915. Thu Aug 5 22:24:37 CEST 2010
  2916. Fixing timeout bug on systems that think it's still
  2917. 1970 (can happen if system time not initialized). -CG
  2918. Mon Jul 26 10:46:57 CEST 2010
  2919. Releasing libmicrohttpd 0.9.0. -CG
  2920. Sun Jul 25 14:57:47 CEST 2010
  2921. Adding support for sendfile on Linux. Adding support
  2922. for systemd-style passing of an existing listen socket
  2923. as an option. IPv6 sockets now only bind to IPv6
  2924. (if platform supports this). -CG
  2925. Sun Jul 25 11:10:45 CEST 2010
  2926. Changed code to use external libgnutls code instead of
  2927. the "fork". Minor API changes for setting TLS options. -CG
  2928. Sun Jun 13 10:52:34 CEST 2010
  2929. Cleaned up example code. -CG
  2930. Fri Apr 23 09:56:37 CEST 2010
  2931. Do not return HTTP headers for requests without version
  2932. numbers. Do return HTTP version 1.0 if client requested
  2933. HTTP version 1.1 (previously, we returned HTTP/1.1 even
  2934. if the client specified HTTP/1.0). -GM/CG
  2935. Sat Mar 13 09:41:01 CET 2010
  2936. Releasing libmicrohttpd 0.4.6. -CG
  2937. Wed Mar 10 13:18:26 CET 2010
  2938. Fixing bug in 100 CONTINUE replacement when handling POSTs
  2939. (see report on mailinglist), with testcase. -CG/MC
  2940. Tue Feb 23 09:16:15 CET 2010
  2941. Added configure check for endianness to define WORDS_BIGENDIAN
  2942. which fixes SSL support on big endian architectures. -JA/CG
  2943. Sat Feb 20 10:01:09 CET 2010
  2944. Added check for inconsistent options (MHD_OPTION_PROTOCOL_VERSION
  2945. without MHD_USE_SSL) causing instant segfault. -JA/CG
  2946. Tue Feb 9 20:31:51 CET 2010
  2947. Fixed issue with poll doing busy waiting. -BK/CG
  2948. Thu Jan 28 21:28:56 CET 2010
  2949. Releasing libmicrohttpd 0.4.5. -CG
  2950. Thu Jan 28 20:35:48 CET 2010
  2951. Make sure addresses returned by memory pool are
  2952. aligned (fixes bus errors on Sparc). -CG
  2953. Thu Dec 17 20:26:52 CET 2009
  2954. poll.h is not strictly required anymore. -ND
  2955. Fri Dec 4 13:17:50 CET 2009
  2956. Adding MHD_OPTION_ARRAY. -CG
  2957. Mon Nov 16 14:41:26 CET 2009
  2958. Fixed busy-loop in internal select mode for inactive
  2959. clients with infinite connection timeout. -CG
  2960. Thu Nov 12 16:19:14 CET 2009
  2961. Adding support for setting a custom error handler for
  2962. fatal errors (previously, the implementation always
  2963. called 'abort' in these cases). -CG/ND
  2964. Wed Nov 11 12:54:16 CET 2009
  2965. Adding support for poll (alternative to select allowing
  2966. for more than FD_SETSIZE parallel connections). -JM
  2967. Wed Oct 28 20:26:00 CET 2009
  2968. Releasing libmicrohttpd 0.4.4. -CG
  2969. Wed Oct 14 14:37:37 CEST 2009
  2970. Fixing (rare) deadlock due to SELECT missing SIGALRM by
  2971. making all SELECT calls block for at most 1s. While this
  2972. can in (rare) situations delay the shutdown by 1s, I think
  2973. this is preferable (both performance and possibly portability-wise)
  2974. over using a pipe for the signal. -CG
  2975. Sun Oct 11 14:57:29 CEST 2009
  2976. Adding eCos license as an additional license for the
  2977. non-HTTPS code of MHD. -CG
  2978. Sun Oct 11 11:24:27 CEST 2009
  2979. Adding support for Symbian. -MR
  2980. Fri Oct 9 15:21:29 CEST 2009
  2981. Check for error codes from pthread operations (to help with
  2982. error diagnostics) and abort if something went wrong. -CG
  2983. Thu Oct 8 10:43:02 CEST 2009
  2984. Added check for sockets being '< FD_SETSIZE' (just to be safe). -CG
  2985. Mon Oct 5 21:17:26 CEST 2009
  2986. Adding "COOKIE" header string #defines. -CG
  2987. Mon Oct 5 08:29:06 CEST 2009
  2988. Documenting default values. -CG
  2989. Fri Aug 28 22:56:47 CEST 2009
  2990. Releasing libmicrohttpd 0.4.3. -CG
  2991. Sun Aug 23 16:21:35 UTC 2009
  2992. Allow MHD_get_daemon_info to return the daemon's listen socket.
  2993. Includes a test case that uses this functionality to bind a server to
  2994. an OS-assigned port, look the port up with getsockname, and curl it. -DR
  2995. Tue Aug 4 00:14:04 CEST 2009
  2996. Fixing double-call to read from content-reader callback for first
  2997. data segment (as reported by Alex on the mailinglist). -CG
  2998. Thu Jul 29 21:41:52 CEST 2009
  2999. Fixed issue with the code not using the "block_size" argument
  3000. given to MHD_create_response_from_callback causing inefficiencies
  3001. for values < 2048 and segmentation faults for values > 2048
  3002. (as reported by Andre Colomb on the mailinglist). -CG
  3003. Sun May 17 03:29:46 MDT 2009
  3004. Releasing libmicrohttpd 0.4.2. -CG
  3005. Fri May 15 11:00:20 MDT 2009
  3006. Grow reserved read buffer more aggressively so that we are not
  3007. needlessly stuck reading only a handful of bytes in each iteration. -CG
  3008. Thu May 14 21:20:30 MDT 2009
  3009. Fixed issue where the "NOTIFY_COMPLETED" handler could be called
  3010. twice (if a socket error or timeout occurred for a pipelined
  3011. connection after successfully completing a request and before
  3012. the next request was successfully transmitted). This could
  3013. confuse applications not expecting to see a connection "complete"
  3014. that they were never aware of in the first place. -CG
  3015. Mon May 11 13:01:16 MDT 2009
  3016. Fixed issue where error code on timeout was "TERMINATED_WITH_ERROR"
  3017. instead of "TERMINATED_TIMEOUT_REACHED". -CG
  3018. Wed Apr 1 21:33:05 CEST 2009
  3019. Added MHD_get_version(). -ND
  3020. Wed Mar 18 22:59:07 MDT 2009
  3021. Releasing libmicrohttpd 0.4.1. -CG
  3022. Wed Mar 18 17:46:58 MDT 2009
  3023. Always RECV/SEND with MSG_DONTWAIT to (possibly) address
  3024. strange deadlock reported by Erik on the mailinglist ---
  3025. and/or issues with blocking read after select on GNU/Linux
  3026. (see select man page under bugs). -CG
  3027. Tue Mar 17 01:19:50 MDT 2009
  3028. Added support for thread-pools. -CG/RA
  3029. Mon Mar 2 23:44:08 MST 2009
  3030. Fixed problem with 64-bit upload and download sizes and
  3031. "-1" being used to indicate "unknown" by introducing
  3032. new 64-bit constant "MHD_SIZE_UNKNOWN". -CG/DC
  3033. Wed Feb 18 08:13:56 MST 2009
  3034. Added missing #include for build on arm-linux-uclibc. -CG/CC
  3035. Mon Feb 16 21:12:21 MST 2009
  3036. Moved MHD_get_connection_info so that it is always defined,
  3037. even if HTTPS support is not enabled. -CG
  3038. Sun Feb 8 21:15:30 MST 2009
  3039. Releasing libmicrohttpd 0.4.0. -CG
  3040. Thu Feb 5 22:43:45 MST 2009
  3041. Incompatible API change to allow 64-bit uploads and downloads.
  3042. Clients must use "uint64_t" for the "pos"
  3043. argument (MHD_ContentReaderCallback) and the "off"
  3044. argument (MHD_PostDataIterator) and the "size"
  3045. argument (MHD_create_response_from_callback) now.
  3046. Also, "unsigned int" was changed to "size_t" for
  3047. the "upload_data_size" argument (MHD_AccessHandlerCallback),
  3048. the argument to MHD_OPTION_CONNECTION_MEMORY_LIMIT,
  3049. the "block_size" argument (MHD_create_response_from_callback),
  3050. the "buffer_size" argument (MHD_create_post_processor) and
  3051. the "post_data_len" argument (MHD_post_process). You may
  3052. need to #include <stdint.h> before <microhttpd.h> from now on. -CG
  3053. Thu Feb 5 20:21:08 MST 2009
  3054. Allow getting address information about the connecting
  3055. client after the accept call. -CG
  3056. Mon Feb 2 22:21:48 MST 2009
  3057. Fixed missing size adjustment for offsets for %-encoded
  3058. arguments processed by the post processor (Mantis #1447). -CG/SN
  3059. Fri Jan 23 16:57:21 MST 2009
  3060. Support charset specification (ignore) after content-type
  3061. when post-processing HTTP POST requests (Mantis #1443). -CG/SN
  3062. Fri Dec 26 23:08:04 MST 2008
  3063. Fixed broken check for identical connection address. -CG
  3064. Making cookie parser more RFC2109 compliant (handle
  3065. spaces around key, allow value to be optional). -CG
  3066. Sat Dec 6 18:36:17 MST 2008
  3067. Added configure option to disable checking for CURL support.
  3068. Added MHD_OPTION to allow specification of custom logger. -CG
  3069. Tue Nov 18 01:19:53 MST 2008
  3070. Removed support for untested and/or broken SSL features
  3071. and (largely useless) options. -CG
  3072. Sun Nov 16 16:54:54 MST 2008
  3073. Added option to get unparsed URI via callback.
  3074. Releasing GNU libmicrohttpd 0.4.0pre1. -CG
  3075. Sun Nov 16 02:48:14 MST 2008
  3076. Removed tons of dead code. -CG
  3077. Sat Nov 15 17:34:24 MST 2008
  3078. Added build support for code coverage analysis. -CG
  3079. Sat Nov 15 00:31:33 MST 2008
  3080. Removing (broken) support for HTTPS servers with
  3081. anonymous (aka "no") certificates as well as
  3082. various useless dead code. -CG
  3083. Sat Nov 8 02:18:42 MST 2008
  3084. Unset TCP_CORK at the end of transmitting a response
  3085. to improve performance (on systems where this is
  3086. supported). -MM
  3087. Tue Sep 30 16:48:08 MDT 2008
  3088. Make MHD useful to Cygwin users; detect IPv6 headers
  3089. in configure.
  3090. Sun Sep 28 14:57:46 MDT 2008
  3091. Unescape URIs (convert "%ef%e4%45" to "$BCf9q(B"). -CG
  3092. Wed Sep 10 22:43:59 MDT 2008
  3093. Releasing GNU libmicrohttpd 0.4.0pre0. -CG
  3094. Wed Sep 10 21:36:06 MDT 2008
  3095. Fixed data race on closing sockets during
  3096. shutdown (in one-thread-per-connection mode). -CG
  3097. Thu Sep 4 23:37:18 MDT 2008
  3098. Fixed some boundary issues with processing
  3099. chunked requests; removed memmove from a
  3100. number of spots, in favor of using an index into
  3101. the current buffer instead. -GS
  3102. Sun Aug 24 13:05:41 MDT 2008
  3103. Now handling clients returning 0 from response callback
  3104. as specified in the documentation (abort if internal
  3105. select is used, retry immediately if a thread per
  3106. connection is used). -CG
  3107. Sun Aug 24 12:44:43 MDT 2008
  3108. Added missing reason phrase. -SG
  3109. Sun Aug 24 10:33:22 MDT 2008
  3110. Fixed bug where MHD failed to transmit the response when
  3111. the client decided not to send "100 CONTINUE" during
  3112. a PUT/POST request. -CG
  3113. Wed Jul 16 18:54:03 MDT 2008
  3114. Fixed bug generating chunked responses with chunk sizes
  3115. greater than 0xFFFFFF (would cause protocol violations). -CG
  3116. Mon May 26 13:28:57 MDT 2008
  3117. Updated and improved documentation.
  3118. Releasing GNU libmicrohttpd 0.3.1. -CG
  3119. Fri May 23 16:54:41 MDT 2008
  3120. Fixed issue with postprocessor not handling URI-encoded
  3121. values of more than 1024 bytes correctly. -CG
  3122. Mon May 5 09:18:29 MDT 2008
  3123. Fixed date header (was off by 1900 years). -JP
  3124. Sun Apr 13 01:06:20 MDT 2008
  3125. Releasing GNU libmicrohttpd 0.3.0. -CG
  3126. Sat Apr 12 21:34:26 MDT 2008
  3127. Generate an internal server error if the programmer fails
  3128. to handle upload data correctly. Tweaked testcases to
  3129. avoid running into the problem in the testcases.
  3130. Completed zzuf-based fuzzing testcases. -CG
  3131. Sat Apr 12 15:14:05 MDT 2008
  3132. Restructured the code (curl-testcases and zzuf testcases
  3133. are now in different directories; code examples are in
  3134. src/examples/).
  3135. Fixed a problem (introduced in 0.2.3) with handling very
  3136. large requests (the code did not return proper error code).
  3137. If "--enable-messages" is specified, the code now includes
  3138. reasonable default HTML webpages for various built-in
  3139. errors (such as request too large and malformed requests).
  3140. Without that flag, the webpages returned will still be
  3141. empty.
  3142. Started to add zzuf-based fuzzing-testcases (these require
  3143. the zzuf and socat binaries to be installed). -CG
  3144. Fri Apr 11 20:20:34 MDT 2008
  3145. I hereby dub libmicrohttpd a GNU package. -Richard Stallman
  3146. Sat Mar 29 22:36:09 MDT 2008
  3147. Fixed bugs in handling of malformed HTTP requests
  3148. (causing either NULL dereferences or connections to
  3149. persist until time-out, if any). -CG
  3150. Updated and integrated TexInfo documentation. -CG
  3151. Tue Mar 25 13:40:53 MDT 2008
  3152. Prevent multi-part post-processor from going to error
  3153. state when the input buffer is full and current token
  3154. just changes processor state without consuming any data.
  3155. Also, the original implementation would not consume any
  3156. input in process_value_to_boundary if there is no new
  3157. line character in sight. -AS
  3158. Remove checks for request method after it finished writing
  3159. response footers as it's only _pipelined_ requests that
  3160. should not be allowed after POST or PUT requests. Reusing
  3161. the existing connection is perfectly ok though. And there
  3162. is no reliable way to detect pipelining on server side
  3163. anyway so it is the client's responsibility to not send new
  3164. data before it gets a response after a POST operation. -AS
  3165. Clarified license in man page. Releasing
  3166. libmicrohttpd 0.2.3 -CG
  3167. Sat Mar 22 01:12:38 MDT 2008
  3168. Releasing libmicrohttpd 0.2.2. -CG
  3169. Mon Feb 25 19:13:53 MST 2008
  3170. Fixed a problem with sockets closed for reading ending up
  3171. in the read set under certain circumstances. -CG
  3172. Wed Jan 30 23:15:44 MST 2008
  3173. Added support for nested multiparts to post processor.
  3174. Made sure that MHD does not allow pipelining for methods
  3175. other than HEAD and GET (and of course still also only
  3176. allows it for http 1.1). Releasing libmicrohttpd 0.2.1. -CG
  3177. Mon Jan 21 11:59:46 MST 2008
  3178. Added option to limit number of concurrent connections
  3179. accepted from the same IP address. -CG
  3180. Fri Jan 4 16:02:08 MST 2008
  3181. Fix to properly close connection if application signals
  3182. problem handling the request. - AS
  3183. Wed Jan 2 16:41:05 MST 2008
  3184. Improvements and bugfixes to post processor implementation. - AS
  3185. Wed Dec 19 21:12:04 MST 2007
  3186. Implemented chunked (HTTP 1.1) downloads (including
  3187. sending of HTTP footers). Also allowed queuing of
  3188. a response early to suppress the otherwise automatic
  3189. "100 CONTINUE" response. Removed the mostly useless
  3190. "(un)register handler" methods from the API. Changed
  3191. the internal implementation to use a finite state
  3192. machine (cleaner code, slightly less memory consumption).
  3193. Releasing libmicrohttpd 0.2.0. - CG
  3194. Sun Dec 16 03:24:13 MST 2007
  3195. Implemented handling of chunked (HTTP 1.1) uploads.
  3196. Note that the upload callback must be able to
  3197. process chunks in the size uploaded by the client,
  3198. MHD will not "join" small chunks into a big
  3199. contiguous block of memory (even if buffer space
  3200. would be available). - CG
  3201. Wed Dec 5 21:39:35 MST 2007
  3202. Fixed race in multi-threaded server mode.
  3203. Fixed handling of POST data when receiving a
  3204. "Connection: close" header (#1296).
  3205. Releasing libmicrohttpd 0.1.2. - CG
  3206. Sat Nov 17 00:55:24 MST 2007
  3207. Fixed off-by-one in error message string matching.
  3208. Added code to avoid generating SIGPIPE on platforms
  3209. where this is possible (everywhere else, the main
  3210. application should install a handler for SIGPIPE).
  3211. Thu Oct 11 11:02:06 MDT 2007
  3212. Releasing libmicrohttpd 0.1.1. - CG
  3213. Thu Oct 11 10:09:12 MDT 2007
  3214. Fixing response to include HTTP status message. - EG
  3215. Thu Sep 27 10:19:46 MDT 2007
  3216. Fixing parsing of "%xx" in URLs with GET arguments. - eglaysher
  3217. Sun Sep 9 14:32:23 MDT 2007
  3218. Added option to compile debug/warning messages;
  3219. error messages are now disabled by default.
  3220. Modified linker option for GNU LD to not export
  3221. non-public symbols (further reduces binary size).
  3222. Releasing libmicrohttpd 0.1.0. - CG
  3223. Sat Sep 8 21:54:04 MDT 2007
  3224. Extended API to allow for incremental POST
  3225. processing. The new API is binary-compatible
  3226. as long as the app does not handle POSTs, but
  3227. since that maybe the case, we're strictly speaking
  3228. breaking backwards compatibility (since url-encoded
  3229. POST data is no longer obtained the same way). - CG
  3230. Thu Aug 30 00:59:24 MDT 2007
  3231. Improving API to allow clients to associate state
  3232. with a connection and to be notified about request
  3233. termination (this is a binary-compatible change). - CG
  3234. Fixed compile errors under OS X. - HL
  3235. Sun Aug 26 03:11:46 MDT 2007
  3236. Added MHD_USE_PEDANTIC_CHECKS option which enforces
  3237. receiving a "Host:" header in HTTP 1.1 (and sends a
  3238. HTTP 400 status back if this is violated). - CG
  3239. Tue Aug 21 01:01:46 MDT 2007
  3240. Fixing assertion failure that occurred when a client
  3241. closed the connection after sending some data but
  3242. not the full headers. - CG
  3243. Sat Aug 18 03:06:09 MDT 2007
  3244. Check for out of memory when adding headers to
  3245. responses. Check for NULL key when looking
  3246. for headers. If a content reader callback
  3247. for a response returns zero (has no data yet),
  3248. do not possibly fall into busy waiting when
  3249. using external select (with internal selects
  3250. we have no choice). - CG
  3251. Wed Aug 15 01:46:44 MDT 2007
  3252. Extending API to allow timeout of connections.
  3253. Changed API (MHD_create_response_from_callback) to
  3254. allow user to specify IO buffer size.
  3255. Improved error handling.
  3256. Released libmicrohttpd 0.0.3. - CG
  3257. Tue Aug 14 19:45:49 MDT 2007
  3258. Changed license to LGPL (with consent from all contributors).
  3259. Released libmicrohttpd 0.0.2. - CG
  3260. Sun Aug 12 00:09:26 MDT 2007
  3261. Released libmicrohttpd 0.0.1. - CG
  3262. Fri Aug 10 17:31:23 MDT 2007
  3263. Fixed problems with handling of responses created from
  3264. callbacks. Allowing accept policy callback to be NULL
  3265. (to accept from all). Added minimal fileserver example.
  3266. Only send 100 continue header when specifically requested. - CG
  3267. Wed Aug 8 01:46:06 MDT 2007
  3268. Added pool allocation and connection limitations (total
  3269. number and memory size). Released libmicrohttpd 0.0.0. - CG
  3270. Tue Jan 9 20:52:48 MST 2007
  3271. Created project build files and updated API. - CG