ChangeLog 53 KB

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