ChangeLog 128 KB

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