ChangeLog 87 KB

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