ChangeLog 69 KB

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