ChangeLog 103 KB

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