ChangeLog 101 KB

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