ChangeLog 89 KB

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