NEWS 72 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503
  1. Changes in release 0.35.0:
  2. * Interface changes:
  3. - API and ABI backwards-compatible with 0.27.x and later
  4. - pakchois-based PKCS#11 support is now deprecated
  5. * Interface clarifications:
  6. - ne_md5_read_ctx() may return NULL
  7. * New interfaces and features:
  8. - ne_request.h: add ne_get_response_retry_after()
  9. - ne_uri.h: add NE_PATH_NONPC escaping rule
  10. - ne_string.h: add ne_strhextoul()
  11. - ne_ssl.h: add ne_ssl_clicert_fromuri(), a simpler API
  12. to retrieve client certs based on (e.g.) PKCS#11 URIs;
  13. only supported with OpenSSL currently.
  14. - ne_session.h: add ne_status_handshake to notifier API
  15. * Bug fixes:
  16. - ne_path_escape() now follows NE_PATH_NONPC pct-encoding
  17. rule by default (fixes #181)
  18. - ne_md5_*(): for OpenSSL, now uses the EVP* API
  19. - session caching fixes for OpenSSL
  20. * "BUGS" document removed, use https://github.com/notroj/neon/issues
  21. Changes in release 0.34.2:
  22. * Fix regression in NTLM auth in 0.34.0 (issue #190).
  23. * Add docs for ne_ssl_proto_name, ne_ssl_protovers, ne_get_request_target.
  24. Changes in release 0.34.1:
  25. * Fix regression in 207 parsing of <status> elements which omit
  26. a reason-phrase (issue #188).
  27. * Fix ne_move() to submit lock tokens for the parent collection
  28. of a source resource locked with depth: 0.
  29. Changes in release 0.34.0:
  30. * Interface changes:
  31. - API and ABI backwards-compatible with 0.27.x and later
  32. - NE_SESSFLAG_SSLv2 is now ignored
  33. * New interfaces and features:
  34. - ne_request.h: add ne_get_response_location(),
  35. add ne_get_request_target()
  36. - ne_redirect.h: adds relative URI resolution per RFC 9110
  37. - ne_socket.h: add ne_iaddr_set_scope(), ne_iaddr_get_scope(),
  38. ne_sock_getproto()
  39. - ne_session.h: add NE_SESSFLAG_STRICT session flag
  40. - ne_session.h: ne_session_create() now accepts scoped IPv6
  41. link-local literal addresses following the RFC 6874 syntax;
  42. - ne_session.h: add ne_ssl_set_protovers() to configure TLS
  43. protocol version ranges
  44. - ne_utils.h: add NE_FEATURE_GSSAPI, NE_FEATURE_LIBPXY feature flags
  45. - ne_ssl.h: add ne_ssl_proto_name()
  46. - HTTP strictness/compliance updated for RFC 9110/9112;
  47. notably stricter in parsing header field line, chunked
  48. transfer-coding, status-line.
  49. * Bug fixes:
  50. - auth: the 'realm' string passed to credentials callback is now
  51. cleaned of non-printable characters.
  52. * Documentation & header updates for RFC 9110/9112.
  53. * New NE_MINIMUM_VERSION() autoconf macro for better version handling.
  54. Changes in release 0.33.0:
  55. * Interface changes:
  56. - API and ABI backwards-compatible with 0.27.x and later
  57. * Interface clarifications:
  58. - ne_locks.h: note that returned lock may have a different URI
  59. than the path passed to ne_lock_discover() due to added
  60. support for RFC 4918 "lockroot" in lock discovery
  61. - ne_request.h: ne_request_create() takes a "target" rather
  62. than a path and this can also be an absolute-URI
  63. - ne_request.h: never-used ne_free_hooks typedef removed
  64. - ne_dates.h: clarified error cases (behaviour unchanged)
  65. - ne_session.h: ne_session_create() 'host' must match RFC 3986
  66. syntax; IPv6 literal addresses must use [] brackets
  67. * New interfaces and features:
  68. - added new configure flag --enable-auto-libproxy which enables
  69. libproxy by default for new sessions (Jan-Michael Brummer)
  70. - ne_locks.h: added DAV:lockroot support per RFC 4918
  71. - ne_ssl.h: ne_ssl_trust_default_ca() now a no-op for non-SSL sessions
  72. - ne_request.h: add ne_add_interim_handler() to handle interim
  73. (1xx) responses; headers in interim responses are now accessible
  74. - ne_basic.h: add ne_putbuf()
  75. - ne_strhash: SHA-512/256 now supported for LibreSSL 3.8+ (orbea)
  76. - response handling no longer applies a maximum limit on 1xx interim
  77. responses; an overall timeout equal to the read timeout is now
  78. applied if a read timeout is configured and 1XXTIMEOUT is enabled
  79. - ne_request.h: add NE_REQFLAG_1XXTIMEOUT
  80. * Bug fixes:
  81. - test suite now works correctly on IPv6-only hosts (Jeremy Sowden)
  82. - fixes for building against LibreSSL (orbea)
  83. - ne_uri_parse() fixes for handling URI with no path and catch
  84. some invalid URIs which were allowed (fasticc)
  85. - retry requests after a 408 response on a persisted connection
  86. - 207 error strings are cleaned and compressed to a single line
  87. - fixed thread-safety in ne_rfc1123_date where gmtime_r is available
  88. - ne_lock_refresh() fixed to use a non-idempotent request
  89. - TLS name verification updated to match RFC 9110/6125, added strict
  90. handling of IP literals vs DNS names
  91. Changes in release 0.32.5:
  92. * NOTE: Since 0.32.0 the "$KRB5_CONFIG" environment variable is ignored
  93. when running configure. Use KRB5_CONF_TOOL instead to specify an
  94. alternative to /usr/bin/krb5-config.
  95. * Fail for configure --with-gssapi if GSSAPI can't be enabled (issue #102)
  96. * Add Georgian translation (NorwayFun)
  97. * Fixes for Windows MSYS2/MinGW build, including cross-build (Jim Klimov)
  98. Changes in release 0.32.4:
  99. * Fix Digest regression in allowing implicit algorithm= (issue #88)
  100. * Fix Digest to safely allow spaces in usernames (without userhash)
  101. * ne_ssl_trust_default_ca() now uses the system's trusted CAs
  102. with GnuTLS where supported (matching behaviour of OpenSSL)
  103. Changes in release 0.32.3:
  104. * Improvements and fixes to Windows build (Chun-wei Fan)
  105. * Fix finding pkg-config when cross-compiling (Hugh McMaster)
  106. * Fix Digest cnonce entropy sources in non-SSL builds
  107. * Fix cases where Digest usernames were rejected as non-ASCII
  108. * Fix build failures with OpenSSL 1.1 on some platforms
  109. Changes in release 0.32.2:
  110. * Fix auth handling for request-target of "*" (regressed since 0.31.x)
  111. * Fix bindtextdomain() detection on OS X (Daniel Macks)
  112. * Fix regeneration of docs in "make install" (Lonnie Abelbeck)
  113. * Fixes for NetBSD build (Thomas Klausner)
  114. Changes in release 0.32.1:
  115. * Fix configure CFLAGS handling in Kerberos detection.
  116. * Various spelling fixes.
  117. Changes in release 0.32.0:
  118. * Interface changes:
  119. - API and ABI backwards-compatible with 0.27.x and later
  120. - NE_AUTH_DIGEST now only enables RFC 2617/7616 auth by default;
  121. to enable weaker RFC 2069 Digest, use NE_AUTH_LEGACY_DIGEST
  122. (treated as a security enhancement, not an API/ABI break)
  123. * Interface clarifications:
  124. - ne_auth.h: use of non-ASCII usernames with the ne_auth_creds
  125. callback type is now rejected for Digest auth since the
  126. encoding is not specified. ne_add_auth() can be used instead.
  127. - ne_request.h: the ne_create_request_fn callback is passed the
  128. request-target using RFC 7230 terminology
  129. * New interfaces and features:
  130. - ne_string.h: added ne_strhash(), ne_vstrhash(), ne_strparam()
  131. - ne_auth.h: added RFC 7616 (Digest authentication) support,
  132. including userhash=, username*= and SHA-2 algorithms
  133. (SHA-2 requires GnuTLS/OpenSSL). added NE_AUTH_LEGACY_DIGEST
  134. - ne_auth.h: added ne_add_auth() unified auth callback interface,
  135. accepts (only) UTF-8 usernames, uses a larger password buffer,
  136. and has different/improved attempt counter semantics.
  137. - RFC 7617 scoping rules are now applied for Basic authentication.
  138. - ne_ssl.h: added ne_ssl_cert_hdigest()
  139. - ne_socket.h: added ne_sock_shutdown()
  140. - sendmsg()/send() are used with the MSG_NOSIGNAL flag to write to
  141. sockets on Unix, rather than write()/writev(), avoiding SIGPIPE
  142. - explicit_bzero() is used where available to clear credentials
  143. * Bug fixes:
  144. - fixed TLS connection shutdown handling for OpenSSL 3
  145. - fix various Coverity and cppcheck warnings (Sebastian Reschke)
  146. - Kerberos library detection uses pkg-config where possible.
  147. - fix some configure checks on Win32 (Christopher Degawa)
  148. - fix some configure errors on MacOS (Ryan Schmidt)
  149. Changes in release 0.31.2:
  150. * Fix ne_md5_read_ctx() with OpenSSL on big-endian architectures.
  151. * Fix GCC 10 warning in PKCS#11 build.
  152. * Fix OpenSSL build w/o deprecated APIs (Rosen Penev).
  153. * Fix unnecessary MD5 test for non-Digest auth (Sebastian Reschke).
  154. * Fix hang on SSL connection close with IIS (issue #11).
  155. * Fix ar, ranlib detection when cross-compiling (Sergei Trofimovich).
  156. Changes in release 0.31.1:
  157. * ADMIN: The neon website has moved to https://notroj.github.io/neon/
  158. * Restore ne_md5_read_ctx() in OpenSSL build.
  159. * Fix gcc warnings on Ubuntu (Jan-Marek Glogowski).
  160. * Fix various spelling mistakes in docs and headers (thanks to FOSSIES).
  161. * Fix ne_asctime_parse() (Eugenij-W).
  162. * Fix build with LibreSSL (Juan RP).
  163. Changes in release 0.31.0:
  164. * Interface changes:
  165. - none, API and ABI backwards-compatible with 0.27.x and later
  166. * New interfaces and features:
  167. - add more gcc "nonnull" attributes to ne_request_* functions.
  168. - for OpenSSL builds, ne_md5 code uses the OpenSSL implementation
  169. - add NE_SESSFLAG_SHAREPOINT session flag which enables workarounds
  170. for RFC non-compliance issues in Sharepoint (thanks to
  171. Jan-Marek Glogowski and Giuseppe Castagno)
  172. - ne_uri.h: add ne_path_escapef() in support of above
  173. - ne_207.h: add ne_207_set_flags() likewise in support of above
  174. * API clarification:
  175. - ne_version_match() behaviour now matches actual 0.27+ ABI history
  176. * Bug fixes:
  177. - fixes for OpenSSL 1.1.1 and TLSv1.3 support
  178. - fix crash with GnuTLS in client cert support (Henrik Holst)
  179. - fix possible crash in ne_set_request_flag()
  180. - fix build with libxml2 2.9.10 and later
  181. - fix handling lock timeouts >LONG_MAX (Giuseppe Castagno)
  182. Changes in release 0.30.2:
  183. * Add support for OpenSSL 1.1.x (Kurt Roeckx).
  184. * Fix PKCS#11 support under GnuTLS 3.x.
  185. - PKCS#11 API no longer supported with GnuTLS 2.x
  186. Changes in release 0.30.1:
  187. * Fix memory leak with GnuTLS (Werner Baumann, Patrick Ohly).
  188. * Fix possible crash after DNS lookup errors on Windows (Olivier Goffart).
  189. * Don't fail if the SSL cert changes between connections with OpenSSL,
  190. behaviour now matches that with GnuTLS.
  191. * Fix PKCS#11 support under OpenSSL with TLS 1.2.
  192. * Fix static linking with pkg-config file (Alan H).
  193. Changes in release 0.30.0:
  194. * Interface changes:
  195. - none, API and ABI backwards-compatible with 0.27.x and later
  196. * New interfaces and features:
  197. - ne_ssl.h: added ne_ssl_clicert_import, ne_ssl_context_get_flag
  198. - ne_session.h: added ne_set_addrlist2
  199. - ne_socket.h: added ne_addr_canonical
  200. - ne_auth.h: added NE_AUTH_GSSAPI_ONLY, NE_AUTH_SSPI (Nathanael Rensen)
  201. - ne_basic.h: added NE_CAP_EXT_MKCOL options test
  202. - ne_request.h: support chunked bodies with negative length passed to
  203. ne_set_request_body_provider (Julien Reichel)
  204. * Bug fixes:
  205. - ne_path_escape: fix excessive memory allocation (Pierre Crokaert)
  206. - SSPI auth: use canonical server hostname, clear SSPI context after
  207. successful auth (Nathanael Rensen)
  208. - build fixes for Open Watcom compiler (NormW)
  209. - fix Win32 error code handling for local ne_sock_prebind bind failure
  210. - Win32: support LFS, thread-safe OpenSSL (Diego Santa Cruz)
  211. - GnuTLS: fix GnuTLS 3.x support (Matthias Petschick, Bartosz Brachaczek)
  212. Changes in release 0.29.6:
  213. * Don't abort SSL handshake with GnuTLS if a client cert is requested
  214. but none is configured/available (thanks to Patrick Ohly)
  215. * Fix the method string passed to create_request hooks to have the same
  216. lifetime as the request object (Patrick Ohly)
  217. * Docs updates.
  218. Changes in release 0.29.5:
  219. * Fix GnuTLS handshakes failures with 'TLS warning alert' (Bryan Cain)
  220. * Further fix for SSPI support on Win32 (Danil Shopyrin)
  221. Changes in release 0.29.4:
  222. * Fix SNI support (Tobias Gruetzmacher)
  223. * Fix possible Solaris linker errors if building static library
  224. * Win32: Fix Kerberos authentication support with SSPI (Danil Shopyrin)
  225. * Fix error handling when pulling a request body from an file
  226. (thanks to Lou Montulli)
  227. * Fix ne_request_dispatch() return value for SOCKS proxy failure cases
  228. * Tighten SSL cert ID checks to deny a wildcard match against an IP address
  229. Changes in release 0.29.3:
  230. * Change ne_sock_close() to no longer wait for SSL closure alert:
  231. - fixes possible hang with IIS servers when closing SSL connection
  232. - this reverts the behaviour with OpenSSL to match 0.28.x, and
  233. changes the behaviour with GnuTLS to match that with OpenSSL
  234. * Fix memory leak with GnuTLS
  235. * API clarification in ne_sock_close():
  236. - SSL closure handling now documented
  237. - return value semantics fixed to describe the implementation
  238. Changes in release 0.29.2:
  239. * Fix spurious 'certificate verify failed' errors with OpenSSL (Tom C)
  240. * Fix unnecessary re-authentication with SSPI (Danil Shopyrin)
  241. Changes in release 0.29.1:
  242. * Fixes for (Unix) NTLM implementation:
  243. - fix handling of session timeout (Kai Sommerfeld)
  244. - fix possible crash ([email protected])
  245. * Fix unnecessary re-authentication with SSPI (Danil Shopyrin)
  246. * Build fixes for Win32:
  247. - fix use of socklen_t with recent SDKs (Stefan Kung)
  248. - fix USE_GETADDRINFO on Win2K (Kai Sommerfeld)
  249. * Fix build with versions of GnuTLS older than 2.8.0.
  250. Changes in release 0.29.0:
  251. * Interface changes:
  252. - none, API and ABI backwards-compatible with 0.28.x and 0.27.x
  253. * New interfaces and features:
  254. - added NTLM auth support for Unix builds (Kai Sommerfeld, Daniel Stenberg)
  255. - ne_auth.h: added NE_AUTH_GSSAPI and NE_AUTH_NTLM auth protocol codes
  256. - added ne_acl3744.h, updated WebDAV ACL support (Henrik Holst)
  257. - added built-in SOCKS v4/v4a/v5 support: ne_socket.h:ne_sock_proxy(),
  258. and ne_session.h:ne_session_socks_proxy()
  259. - added support for system-default proxies: ne_session_system_proxy(),
  260. implemented using libproxy where available
  261. - ne_session.h: added NE_SESSFLAG_EXPECT100 session flag, SSL verification
  262. failure bits extended by NE_SSL_BADCHAIN and NE_SSL_REVOKED, better
  263. handling of failures within the cert chain (thanks to Ludwig Nussel)
  264. - ne_utils.h: added feature code NE_FEATURE_SYSPROXY
  265. - ne_socket.h: ne_sock_writev() (Julien Reichel), ne_sock_set_error(),
  266. ne_iaddr_raw(), ne_iaddr_parse()
  267. - ne_string.h: ne_buffer_qappend(), ne_strnqdup()
  268. * Deprecated interfaces:
  269. - ne_acl.h is obsoleted by ne_acl3744.h (but is still present)
  270. - obsolete feature "NE_FEATURE_SOCKS" now never marked present
  271. * Other changes:
  272. - fix handling of "stale" flag in RFC2069-style Digest auth challenge
  273. - ne_free() implemented as a function on Win32 (thanks to Helge Hess)
  274. - symbol versioning used for new symbols, where supported
  275. - ensure SSL connections are closed cleanly with OpenSSL
  276. - fix build with OpenSSL 1.0 beta
  277. - updated Polish (pl) translation (Arfrever Frehtes Taifersar Arahesis)
  278. Changes in release 0.28.6:
  279. * SECURITY (CVE-2009-2473): Fix "billion laughs" attack against expat;
  280. could allow a Denial of Service attack by a malicious server.
  281. * SECURITY (CVE-2009-2474): Fix handling of an embedded NUL byte in
  282. a certificate subject name with OpenSSL; could allow an undetected
  283. MITM attack against an SSL server if a trusted CA issues such a cert.
  284. Changes in release 0.28.5:
  285. * Enable support for X.509v1 CA certificates in GnuTLS.
  286. * Fix handling of EINTR in connect() calls.
  287. * Fix use of builds with SOCK_CLOEXEC support on older Linux kernels.
  288. Changes in release 0.28.4:
  289. * Fix ne_forget_auth (Kai Sommerfeld)
  290. * GnuTLS support fixes:
  291. - fix handling of PKCS#12 client certs with multiple certs or keys
  292. - fix crash with OpenPGP certificate
  293. - use pkg-config data in configure, in preference to libgnutls-config
  294. * Add PKCS#11 support for OpenSSL builds (where pakchois is available)
  295. * Fix small memory leak in PKCS#11 code.
  296. * Fix build on Haiku (scott mc)
  297. Changes in release 0.28.3:
  298. * SECURITY (CVE-2008-3746): Fix potential NULL pointer dereference in
  299. Digest domain parameter support; could allow a DoS by a malicious server
  300. * Fix parsing of *-Authenticate response header with LWS after quoted value
  301. * Fix ne_set_progress(, NULL, ) to match pre-0.27 behaviour (and not crash)
  302. * Fix to disable Nagle on Win32 with newer toolchain (thanks to Stefan Küng)
  303. * Fix build on Netware (Guenter Knauf)
  304. * Document existing ne_uri_parse() API postcondition and ne_uri_resolve()
  305. pre/postconditions regarding the ->path field in ne_uri structures
  306. * Mark ne_{,buffer_}concat with sentinel attribute for GCC >= 4.
  307. * Distinguish the error message for an SSL handshake which fails after a
  308. client cert was requested.
  309. * Compile with PIC flags by default even for static library builds
  310. Changes in release 0.28.2:
  311. * Support "Proxy-Connection: Keep-Alive" for compatibility with HTTP/1.0
  312. proxies which require persistent connections for NTLM authentication
  313. * Fix an fd leak in ne_ssl_{,cli}cert_read (GnuTLS only)
  314. * Enable fast initialization in GnuTLS.
  315. Changes in release 0.28.1:
  316. * Fix Win32 build
  317. * Fix build on SCO OpenServer 5.0.x (thanks to Nico Kadel-Garcia)
  318. * Fix handling of Digest domain parameter values without a trailing slash
  319. * Fix build against apr-util's bundled libexpat.la in Subversion
  320. * Add --without-pakchois to configure (Arfrever Frehtes Taifersar Arahesis)
  321. * zh message catalog renamed to zh_CN, translation updated (Dongsheng Song)
  322. Changes in release 0.28.0:
  323. * Interface changes:
  324. - none, API and ABI backwards-compatible with 0.27.x
  325. * New interfaces:
  326. - ne_pkcs11.h: added basic PKCS#11 support (requires GnuTLS and pakchois)
  327. - ne_auth.h: added NE_AUTH_ALL and NE_AUTH_DEFAULT constants
  328. - ne_socket.h: added ne_sock_peer(), ne_sock_prebind(), ne_sock_cipher()
  329. - ne_session.h: NE_SESSFLAG_TLSSNI flag added; TLS SNI support is enabled
  330. by default, where supported; ne_set_localaddr() added
  331. - ne_request.h: added close_conn hooks (Robert J. van der Boon)
  332. - ne_basic.h: added ne_options2()
  333. * Other changes:
  334. - add Polish (pl) translation (Arfrever Frehtes Taifersar Arahesis)
  335. - add support for the 'domain' parameter in Digest authentication
  336. - fix fd leak in ne_sock_connect() error path (Andrew Teirney)
  337. - the FD_CLOEXEC flag is set on socket fds
  338. - fix timezone handling in ne_dates for more platforms (Alessandro Vesely)
  339. - fix ne_simple_propfind() to print XML namespaces in flat property values
  340. - fix ne_get_range() for unspecified end-range case (Henrik Holst)
  341. - fix ne_strclean() to be locale-independent and avoid possible Win32 crash
  342. - fix ne_get_error() to not "clean" localized error strings
  343. - fix ne_ssl_clicert_read() to fail for client certs missing cert or key
  344. - Win32: fix build with VS 2008 (Stefan Kueng)
  345. - Win32: fix neon.mak to not double-quote $(MAKE) (Henrik Holst)
  346. - improve strength of Digest cnonces in GnuTLS builds
  347. Changes in release 0.27.2:
  348. * Fix crash in GSSAPI Negotiate response header verification (regression
  349. since 0.26.x)
  350. Changes in release 0.27.1:
  351. * Fix regression in response progress counter for notifier/progress callbacks
  352. * Fix interface description for ne_set_notifier() callback; sr.total
  353. is set to -1 not 0 for an indeterminate response length
  354. Changes in release 0.27.0:
  355. * New interfaces:
  356. - ne_session.h: ne_fill_proxy_uri() retrieves configured proxy,
  357. ne_hook_post_headers() adds a hook after response headers are read,
  358. ne_set_connect_timeout() sets session connection timeout,
  359. NE_SESSFLAG_RFC4918, NE_SESSFLAG_CONNAUTH flags added
  360. - ne_socket.h: ne_sock_connect_timeout() sets connection timeout,
  361. ne_iaddr_reverse() performs reverse DNS lookup
  362. - ne_string.h: ne_buffer_snprintf() prints to a buffer object
  363. - ne_xml.h: ne_xml_resolve_nspace() resolves namespace prefixes
  364. * Interface changes:
  365. - ne_set_notifier() replaces ne_set_status(); finer-grained and type-safe
  366. connection status information now provided; obsoletes ne_set_progress()
  367. - ne_xml_dispatch_request() now only invokes the XML parser for
  368. response entities with an XML content-type, following RFC 3023 rules
  369. - ne_acl_set() now takes a "const" entries array
  370. - LFS compatibility functions *64 removed: all functions taking an
  371. off_t now take an ne_off_t which is off64_t for LFS builds
  372. * GnuTLS support now mostly feature-complete with OpenSSL support:
  373. - greatly improved SSL distinguished name handling with GnuTLS >= 1.7.8
  374. * Other changes:
  375. - descriptive error messages for authentication failures
  376. - SSPI support uses canonical DNS server name (Yves Martin)
  377. - fixes for handling of "stale" parameter in Digest authentication
  378. - added support for URIs in SSL server certificate subjectAltName field
  379. - fix compiler warnings with expat 2.x
  380. - fix handling of "Transfer-Encoding: identity" responses from privoxy
  381. Changes in release 0.26.4:
  382. * Fix Negotiate Authentication-Info response header verification with GSSAPI
  383. * Fix multiple handlers with ne_add_{server,proxy}_auth (Werner Baumann)
  384. * Fix SSPI build with some versions of MinGW (Gisle Vanem)
  385. * Fix for SSPI segfault in response header verification (Mike DiCuccio)
  386. * Fix error strings for CONNECT SSL proxy tunnel request failure
  387. * Fix install-nls for VPATH builds (Hans Meine)
  388. * Fix use of unencrypted client certs with GnuTLS
  389. * Fix ne_lock* If: header insertion to use CRLF-terminated headers
  390. * Fix test suite failures on QNX by working around send() length limit
  391. * Fix handling of POSIX strerror_r failure case in ne_strerror
  392. * Fix alignment issues in test suite MD5 code
  393. Changes in release 0.26.3:
  394. * Fix buffer under-read in URI parser (Laszlo Boszormenyi, CVE-2007-0157)
  395. * Fix regression in handling of "attempt" argument passed to auth callbacks;
  396. ensure the value only increments for each invocation of the callback
  397. * Fix handling of "nextnonce" parameter in Digest authentication
  398. Changes in release 0.26.2:
  399. * Fix error reported for LOCK responses lacking a Lock-Token header.
  400. * Use Libs.private in neon.pc for newer versions of pkg-config.
  401. * Build fix for platforms without libintl.h.
  402. * Build fixes for MinGW. (Matthias Miller)
  403. * Build fix for h_errno detection on HP-UX 10. (Albert Chin)
  404. * Win32: enable debugging; build fixes with some SDKs. (Kiyo Kelvin Lee)
  405. Changes in release 0.26.1:
  406. * Build fixes for Win32 (D.J. Heap) and OS X.
  407. * Add Simplified Chinese translation (Dongsheng Song).
  408. Changes in release 0.26.0:
  409. * Added internationalization support:
  410. - ne_i18n.h exposes ne_i18n_init(), a process-global initializer
  411. which may be required for some applications
  412. - (partial) message catalogs for cs, de, fr, ja, nn, ru and tr
  413. - NE_FEATURE_I18N feature code added to indicate support
  414. * Added support for GnuTLS (thanks to Aleix Conchillo Flaque):
  415. - pass --with-ssl=gnutls to configure; GnuTLS >= 1.0.22 required
  416. - use --with-ca-bundle to specify a default SSL CA root bundle
  417. - some remaining issues with PKCS#12 certs in current GnuTLS releases,
  418. distinguished name handling is sub-standard relative to OpenSSL
  419. * Changes and additions to URI support:
  420. - ne_uri structure: add query, fragment fields; authinfo renamed
  421. to userinfo
  422. - ne_uri_parse() now takes a URI-reference as input rather than
  423. the previous pseudo-URI syntax; the query and fragment components
  424. are now parsed out. Many malformed URIs are now rejected
  425. - ne_uri_unparse() changed to respect the new fields
  426. - ne_uri_resolve(): new function; resolves relative URI references
  427. - ne_uri_copy(): new function, copies a URI structure
  428. * Changed results callbacks for ne_lock_discover, PROPFIND interfaces:
  429. - take URI as parsed ne_uri * structure rather than char *
  430. * Added functions which give control over authentication protocol use:
  431. - ne_add_server_auth(), ne_add_proxy_auth()
  432. * Added ne_unhook_* functions to remove hooks
  433. * Added ne_set_session_flags()/ne_get_session_flags() functions:
  434. - flags to disable persistent connection support, enable "ICY"
  435. protocol support, and to disable SSLv2 protocol support.
  436. - replaces ne_set_persist()
  437. * Added ne_set_request_flags()/ne_get_request_flags() functions:
  438. - flags to enable 100-continue support, mark requests as non-idempotent
  439. - replaces ne_set_request_expect100()
  440. * Change ne_md5.h interface to make struct ne_md5_ctx opaque:
  441. - added ne_md5_create_ctx(), ne_md5_destroy_ctx(), ne_md5_reset_ctx(),
  442. ne_md5_finish_ascii(); removed ne_md5_init_ctx()
  443. - fix alignment issues which could cause crashes in Digest code
  444. * Fixed ne_get_range(), added ne_get_range64() (thanks to Lennart Poettering)
  445. * Removed NE_FREE() macro from ne_alloc.h
  446. * Added ne_strcasecmp(), ne_strncasecmp(), ne_tolower() functions
  447. to ne_string.h - locale-independent string comparison
  448. * Changed ne_sock_init()/ne_sock_exit() such that ne_sock_exit()
  449. only has effect once called an equal number of times to _init().
  450. * Added "--enable-threadsafe-ssl=posix" configure flag, to enable
  451. thread-safe SSL support using POSIX threads in OpenSSL/GnuTLS
  452. - NE_FEATURE_TS_SSL feature code added to indicate support
  453. * The manual is now licensed under the GPL rather than the GFDL
  454. Changes in release 0.25.5:
  455. * ne_ssl_clicert_decrypt(): catch and fail to load a client cert
  456. with mismatched key/cert pair.
  457. * Fix build issue on AIX 5.1.
  458. * Fix warnings if built against OpenSSL >= 0.9.8.
  459. * Win32: fix issues in SSPI implementation (Stefan Küng).
  460. Changes in release 0.25.4:
  461. * GSSAPI fixes for non-MIT implementations (Mikhail Teterin).
  462. * Fix ne_print_request_header() et al to use 8K buffer size on all
  463. platforms (fixes issue with long Destination: URLs on Win32).
  464. * Win32 build fix for !USE_GETADDRINFO configuration.
  465. * Documentation updates.
  466. Changes in release 0.25.3:
  467. * ne_lock() and ne_unlock(): fix cases where NE_ERROR would be returned
  468. instead of e.g. NE_AUTH on auth failure.
  469. * Prevent use of poll() on Darwin.
  470. * Fix gethostbyname-based resolver on LP64 platforms (Matthew Sanderson).
  471. Changes in release 0.25.2:
  472. * Really fix the Win32 build.
  473. Changes in release 0.25.1:
  474. * ne_get_content_type(): fix cases where the charset field was not set
  475. to NULL after successful return (Johannes Schneider)
  476. * Compressed response handling fixes:
  477. - fix double invocation of reader callback with len=0
  478. - fix cases where the reader callback return value was ignored
  479. * Cache the new SSL session if the old one was expired (Robert Eiglmaier)
  480. * Win32: fix build issues.
  481. Changes in release 0.25.0:
  482. * New interfaces:
  483. - ne_get_response_header() replaces ne_add_response_header_handler
  484. - ne_read_response_to_fd() and ne_discard_response() for use with
  485. ne_begin_request/ne_end_request style response handling
  486. - ne_xmlreq.h: ne_xml_parse_response() and ne_xml_dispatch_request()
  487. - ne_has_support() for feature detection, replaces ne_support_ssl()
  488. - ne_set_addrlist() can be used to bypass normal DNS hostname resolver
  489. - ne_buffer_czappend(), convenience wrapper for ne_buffer_append.
  490. - ne_iaddr_typeof() returns type of a socket object
  491. - ne_get_content_type() replaces ne_content_type_handler()
  492. - ne_set_request_expect100() replaces ne_set_expect100()
  493. * New interfaces on LFS systems for large file support:
  494. - ne_set_request_body_fd64() call for using an fd opened using O_LARGEFILE
  495. - ne_set_request_body_provider64(), takes an off64_t length argument
  496. * Interface changes:
  497. - ne_set_request_body_fd takes offset and length arguments and returns void
  498. - ne_set_request_body_provider takes length as off_t rather than size_t;
  499. provider callbacks now MUST set session error string if returning an error
  500. - response body reader callback returns an integer and can abort the response
  501. - ne_decompress_destroy() returns void; errors are caught earlier
  502. - ne_xml_failed() replaces ne_xml_valid(), with different return value logic
  503. - ne_xml_parse() can return an error; ne_xml_parse_v() aborts the response if
  504. the parse either fails or is aborted by a handler returning NE_XML_ABORT
  505. - ne_path_escape() now escapes all but unreserved characters
  506. - ne_ssl_clicert_name() and ne_ssl_cert_identity() clarified to return UTF-8
  507. - ne_ssl_clicert_name() clicert object argument is now const
  508. - ne_uri_parse()/ne_uri_free() memory handling clarified
  509. - removed the buffer length requirement for ne_read_response_block()
  510. * Bug fixes:
  511. - properly handle multiple Authentication challenges per request
  512. - fixes and improvements to the Negotiate auth implementation
  513. - handle proxies which send a 401 auth challenge to a CONNECT request
  514. - XML: handle the UTF-8 BOM even if the underlying parser does not
  515. - Win32: Fix timezone handling (Jiang Lei)
  516. - ne_lock_refresh() works and will update timeout of passed-in lock
  517. - persistent connection timeout handling fixes for CygWin et al
  518. - impose hard limit of 1024 props per resource in ne_props.h response parsing
  519. * New platform-specific features:
  520. - Win32: Negotiate/NTLM support using SSPI (Vladimir Berezniker)
  521. - Win32: Add IPv6 support using ENABLE_IPV6 neon.mak flag (Kai Sommerfeld)
  522. * Removed features:
  523. - the cookies interface has been removed
  524. - removed functions: ne_service_lookup(), ne_put_if_unmodified()
  525. - "qop=auth-int" support removed from Digest auth implementation
  526. * Default XML parser search changed to check for expat before libxml2.
  527. Changes in release 0.24.7:
  528. * Compression interface fixes:
  529. - fix issues handling content decoding and request retries from
  530. authentication challenges (Justin Erenkrantz)
  531. - fix places where reader callback would receive spurious size=0 calls
  532. - fix to pass user-supplied userdata to user-supplied acceptance callback
  533. * Fix for RFC2617-style digest authentication (Hideaki Takahashi).
  534. * Fix to pick up gethostbyname() on QNX 6.2.
  535. Changes in release 0.24.6:
  536. * SECURITY (CVE CAN-2004-0398): Fix sscanf overflow in ne_rfc1036_parse,
  537. thanks to Stefan Esser.
  538. * Link libneon against libexpat during Subversion build using bundled neon.
  539. * Win32 build script update (Jon Foster).
  540. Changes in release 0.24.5:
  541. * SECURITY (CVE CAN-2004-0179): Fix format string vulnerabilities in
  542. XML/207 response handling, reported by [email protected].
  543. * Performance fix: avoid seeding the SSL PRNG if not creating an SSL socket.
  544. * ne_ssl_readable_dname() is now defined to return UTF-8 strings.
  545. * Fix case where gssapi/gssapi_generic.h was included but not present.
  546. * Fix ne_utils.c build on platforms where zlib does "#define const".
  547. * Fix use of ne_proppatch_operation with some C++ compilers.
  548. * Update libtool for fix to --enable-shared on Darwin.
  549. * BeOS: check for gethostbyname in -lbind (David Reid).
  550. Changes in release 0.24.4:
  551. * Ignore unclean SSL closure when response body is delimited by EOF
  552. ("Could not read response body: Secure connection truncated" errors
  553. with some buggy SSL servers).
  554. * Fix test/ssl.c syntax errors with C89 compilers (Radu Greab).
  555. Changes in release 0.24.3:
  556. * Respect configure's --datadir argument (Max Bowsher).
  557. * Fix build on Windows when OpenSSL is not used.
  558. * Fix use of SSLv2 (spurious "Server did not present certificate" error).
  559. * When using SSL via a proxy, prevent leaking server auth credentials
  560. to the proxy, or proxy auth credentials to the server.
  561. Changes in release 0.24.2:
  562. * Fix name resolver with some old versions of glibc.
  563. * Fix problems with configure's "time_t format string" detection.
  564. * Fix problems when a broken Kerberos installation is found.
  565. * When verifying SSL certificates, check iPaddress names in the
  566. subjectAltName extension.
  567. Changes in release 0.24.1:
  568. * Add support for "GSS-Negotiate" Kerberos authentication scheme (from
  569. Risko Gergely and Burjan Gabor).
  570. * Disable Nagle to improve performance of small requests (thanks to
  571. Jim Whitehead and Teng Xu).
  572. * Fix compatibility with OpenSSL 0.9.6 (broken in 0.24.0).
  573. * Fix prototype mismatch in ne_207.c.
  574. * Define ssize_t from ne_request.h for Win32.
  575. * Prevent segfault on zlib initialization failures.
  576. * ne_sock_init does not fail if PRNG could not be seeded.
  577. * Fix segfault in cookies code (Markus Mueller).
  578. * Documentation updates.
  579. Changes in release 0.24.0:
  580. * Major changes to XML interface:
  581. - have the start-element callback either accept, decline, abort,
  582. or return a state integer.
  583. - remove 'struct ne_xml_elm'; callbacks are passed {nspace, name}
  584. strings along with a state integer.
  585. - dropped "collect", "strip-leading-whitespace" modes
  586. - push responsibility for accumulating cdata onto caller; drop 'cdata'
  587. argument from end-element callback.
  588. - don't abort if no handler accepts a particular element, just ignore
  589. that branch of the tree.
  590. - dropped support for libxml 1.x and expat < 1.95.0.
  591. - guarantee that start_element callback is not passed attrs=NULL
  592. - add ne_xml_doc_encoding() to retrieve encoding of parsed XML document.
  593. * Major changes to SSL interface:
  594. - rewrite of interfaces for handling server and client certificates;
  595. ne_ssl.h: many new functions available.
  596. - only PKCS#12-encoded client certs are supported.
  597. - changes to most names of SSL-related functions operating on an
  598. ne_session, e.g. ne_ssl_load_cert->ne_ssl_trust_cert.
  599. - client cert provider callback is passed the set of acceptable CA
  600. names sent by the server
  601. - the entire chain of certs presented by server is now accessible
  602. * Remove unused ne_register_progress() from socket layer.
  603. * Changes to resolver interface: ne_addr_first and _next return const;
  604. ne_addr_print renamed to ne_iaddr_print; ne_iaddr_make and ne_iaddr_free
  605. have been added.
  606. * ne_request_create() now duplicates the method string passed in.
  607. * ne_redirect_location() will now return NULL in some cases.
  608. * Split socket creation to ne_sock_create() from ne_sock_connect:
  609. - should report connect() error messages properly on Win32.
  610. * Fix several memory leaks in error handling paths.
  611. * Add a pkg-config file, neon.pc.in.
  612. Changes in release 0.23.9:
  613. * Fix inability to connect on AIX 4.3.
  614. * neon-config exports includes needed for OpenSSL given by pkg-config.
  615. * ne_redirect_location will return NULL if redirect hooks have not
  616. been registered for the session (Ralf Mattes <[email protected]>).
  617. Changes in release 0.23.8:
  618. * SECURITY: Prevent control characters from being included in the
  619. reason_phrase field filled in by ne_parse_statusline(), and in
  620. the session error string.
  621. * Disable getaddrinfo() support on HP-UX; fix resolver for HP-UX 11.11.
  622. * Fix digest auth response verification for >9 responses in session
  623. (bug manifests as "Server was not authenticated correctly" error).
  624. * On Linux, skip slow lookup for IPv6 addresses when IPv6 support is
  625. not loaded in kernel (thanks to Daniel Stenberg for this technique).
  626. * Update to autoconf 2.57 and libtool 1.4.3.
  627. Changes in release 0.23.7:
  628. * Fix for handling EINTR during write() call (Sergey N Ushakov).
  629. * When available, use pkg-config to determine compiler flags needed to
  630. use OpenSSL headers and libraries.
  631. Changes in release 0.23.6:
  632. * Fixes for error handling in socket layer on Win32 from Johan Lindh
  633. and Sergey N Ushakov <[email protected]>:
  634. - meaningful error messages rather than "No error"
  635. - handle persistent connection timeouts properly
  636. * Fix to use RFC2617-style digest auth when possible (had reverted to
  637. only using RFC2068-style in 0.16.1).
  638. * Fix NULL pointer dereference on certain ill-formed PROPFIND responses.
  639. * Allow ne_sock_init to re-initialize after ne_sock_finish has been called
  640. (Sergey N Ushakov).
  641. Changes in release 0.23.5:
  642. * Fix rejection of SSL server certificates which had commonName as
  643. the least specific attribute in the subject name.
  644. * Fix to dereference entities (e.g. "&amp;") in attribute values with libxml.
  645. * Fix ne_socket.c build on HP-UX 10.20 (thanks to Branko Èibej)
  646. * Remove misguided insistence on "secure" versions of zlib/OpenSSL;
  647. no checks for zlib version are now performed, only OpenSSL 0.9.6 is
  648. required. --with-force-ssl, --with-force-zlib option removed.
  649. * Add --with-egd[=PATH] option, conditionally enable EGD support; either
  650. using EGD socket at PATH, or fall back on system defaults. $EGDSOCKET
  651. and $HOME/.entropy are no longer used.
  652. * Add support for `--la-file' argument to neon-config, which prints the
  653. full path of the installed libneon.la file.
  654. Changes in release 0.23.4:
  655. * Ignore an unclean SSL shutdown on persistent connection timeout
  656. (fixing spurious "Secure connection truncated" errors).
  657. * Fix a segfault on second and subsequent requests using a given
  658. session, when the first fails with NE_LOOKUP.
  659. * Fix configure for gcc installations which produce warnings by default
  660. (such as gcc on hppa2.0n-hp-hpux11.00 using native as)
  661. Changes in release 0.23.3:
  662. * Further build fixes for Win32 (Blair Zajac).
  663. * Another fix for use of SSL against Tomcat 3.2.
  664. Changes in release 0.23.2:
  665. * Build fix for Win32 (Blair Zajac).
  666. Changes in release 0.23.1:
  667. * Identify as correct version, not 0.22.
  668. Changes in release 0.23.0:
  669. * Improved address resolver (ne_addr_*) replacing ne_name_lookup():
  670. - use getaddrinfo() if found; include support for IPv6 (based on work
  671. by Noriaki Takamiya <[email protected]>)
  672. * For a hostname with multiple addresses, each address is tried in turn
  673. until a connection is made.
  674. * Support for seeding OpenSSL's PRNG via $EGDSOCKET or $HOME/.entropy,
  675. to enable SSL on platforms which lack a /dev/random device.
  676. * RFC2818 compliance for certificate identity checks in SSL:
  677. - use `dNSname' values in subjectAltName extension if present
  678. - hostname comparison fixed to not be case-sensitive
  679. * Fix interop with buggy SSL implementation in Tomcat 3.2.
  680. * Added NE_DBG_SSL debug channel.
  681. * ne_strerror changed to return the passed-in buffer.
  682. * Added ne_strnzcpy macro to ne_string.h.
  683. * Win32 build fixes, improvements, and documentation updates, from
  684. Blair Zajac <[email protected]>.
  685. * Fix ne_sock_init so SIGPIPE signals are ignored even if SSL library
  686. initialization fails (e.g. platforms without /dev/random).
  687. * Added reference documentation:
  688. - ne_sock_init, ne_addr_*.
  689. Changes in release 0.22.0:
  690. * Remove the const qualifier from the reason_phrase field in ne_status.
  691. - ne_parse_statusline() now strdup's the reason_phrase
  692. * Remove the status_line argument from ne_207_end_propstat and _end_response
  693. * Change ne_session_create, ne_session_proxy, ne_sock_connect, and the
  694. 'port' field of the ne_uri structure to use an unsigned int for port numbers
  695. * ne_uri_defaultport returns unsigned and '0' on an unknown port (not -1).
  696. * Changes to hooks interface:
  697. - pass an ne_request pointer to per-request hooks
  698. - replace "accessor" hooks with ne_{get,set}_{request,session}_private
  699. * Authentication changes:
  700. - the hooks changes fix a segfault if auth is enabled for an SSL session
  701. through a proxy server
  702. - fix ne_forget_auth segfault if either proxy or server auth are not used
  703. * Improvements to persistent connection retry logic and error handling
  704. in request code; fixing some cases where some errors where incorrectly
  705. treated as a persistent connection timeout
  706. - a TCP RST at the appropriate time is now treated as a persistent
  707. connection timeout.
  708. - handle persistent connection timeouts on SSL connections
  709. * Changes to SSL support:
  710. - improved error handling
  711. - OpenSSL 0.9.6f or later is required for security fixes and functional
  712. correctness; 0.9.6 or later required for functional correctness
  713. - use --with-force-ssl to override OpenSSL version check
  714. - fix for proxy CONNECT tunnelling with some proxies (e.g. Traffic-Server)
  715. - fix potential segfault if client cert. provider callback is used
  716. - fix to use supplied password callback for PEM-encoded client certificates
  717. (Daniel Berlin <[email protected]>)
  718. * strerror_r is used if available for thread-safe error handling.
  719. * Remove ne_read_file().
  720. * ne_version_match replaces ne_version_minimum (semantics changed slightly).
  721. * XML request bodies use a content-type of "application/xml" now;
  722. applications can use NE_XML_MEDIA_TYPE from ne_xml.h
  723. * Fix decompress code on big-endian or 64-bit platforms.
  724. * Fix to build on Darwin 6 (aka Mac OS X 10.2) (Wilfredo Sánchez,
  725. <[email protected]>)
  726. * Win32 changes:
  727. - remove conflict between OpenSSL's X509_NAME and recent versions of
  728. the Platform SDK (Branko Èibej)
  729. - fix inverted debug/non-debug build logic (Branko Èibej)
  730. - add NODAV and OPENSSL_STATIC flags to neon.mak (Gerald Richter)
  731. Changes in release 0.21.3:
  732. * Fix segfault if using proxy server with SSL session and server
  733. certificate verification fails.
  734. * Fix leak of proxy hostname once per session (if a proxy is used).
  735. * Add --with-libs configure argument; e.g. --with-libs=/usr/local picks
  736. up any support libraries in /usr/local/{lib,include}
  737. Changes in release 0.21.2:
  738. * Fix 'make install' for VPATH builds.
  739. * Use $(mandir) for installing man pages (Rodney Dawes).
  740. * Follow some simple (yet illegal) relativeURI redirects.
  741. * Always build ne_compress.obj in Win32 build (Branko Èibej).
  742. * Fix decompression logic bug (Justin Erenkrantz <[email protected]>)
  743. (could give a decompress failure for particular responses)
  744. * Fix ne_proppatch() to submit lock tokens for available locks.
  745. * More optimisation of ne_sock_readline.
  746. Changes in release 0.21.1:
  747. * Don't include default SSL port in Host request header, which can
  748. help interoperability with misbehaving servers (thanks to Rodney Dawes
  749. <[email protected]>).
  750. * Don't give a "truncated response" error from ne_decompress_destroy if
  751. the acceptance function returns non-zero.
  752. * Fix for Win32 build (Sander Striker <[email protected]>).
  753. * Fix for cookie name/value being free()d (thanks to Dan Mullen).
  754. * Optimisation of ne_sock_readline.
  755. Changes in release 0.21.0:
  756. * Socket layer implements read buffering; efficiency and performance
  757. improvement. Based on work by Jeff Johnson <[email protected]>
  758. * Cleanup of socket interface:
  759. - renamed everything, s/sock_/ne_sock_/, s/SOCK_/NE_SOCK_/
  760. - removed unused and inappropriate interfaces.
  761. - renaming done by Olof Oberg <[email protected]>
  762. - see src/ChangeLog for the gory details.
  763. * Fix typoed 'ne_destroy_fn' typedef (Olof Oberg).
  764. * Support OpenSSL/ENGINE branch.
  765. * Bogus ne_utf8_encode/decode functions removed.
  766. * ne_base64() moved to ne_string.[ch].
  767. * ne_token drops 'quotes' parameter; ne_qtoken added.
  768. * ne_buffer_create_sized renamed to ne_buffer_ncreate.
  769. * ne_xml_get_attr takes extra arguments and can resolve namespaces.
  770. * ne_accept_response function type takes const ne_status pointer.
  771. * Drop support for automatically following redirects:
  772. - ne_redirect_register just takes a session pointer
  773. - ne_redirect_location returns an ne_uri pointer
  774. * configure changes: --with-ssl and --with-socks no longer take a directory
  775. argument. To use SOCKS or SSL libraries/headers in non-system locations,
  776. use ./configure CPPFLAGS=-I/... LDFLAGS=-L/...
  777. * Reference documentation included for most of ne_alloc.h and ne_string.h,
  778. and parts of ne_session.h and ne_request.h.
  779. - see installed man pages, HTML documentation.
  780. Changes in release 0.20.0:
  781. * Major changes to DAV lock handling interface (ne_locks.h):
  782. - struct ne_lock uses a full URI structure to identify locked resource
  783. - ne_lock() requires that owner/token fields are malloc-allocated (or NULL)
  784. on entry
  785. - introduce a "lock store" type, ne_lock_store, to replace the lock session;
  786. accessor functions all renamed to ne_lockstore_*.
  787. - ne_lock_iterate replaced with a first/next "cursor"-style interface
  788. - If: headers use an absoluteURI (RFC2518 compliance fix).
  789. - fix for handling shared locks on DAV servers which return many active locks
  790. in the LOCK response (thanks to Keith Wannamaker)
  791. * Moved URI/path manipulation functions under ne_* namespace (ne_uri.h):
  792. - path handling functions renamed to ne_path_*
  793. - URI structure handling to ne_uri_*; struct uri becomes ne_uri.
  794. - ne_uri_parse doesn't take a 'defaults' parameter any more
  795. - if URI port is unspecified, ne_uri_parse sets port to 0 not -1.
  796. - added ne_uri_unparse and ne_uri_defaultport functions.
  797. * New 'ne_fill_server_uri' function to initialize a URI structure with
  798. the server details for a given session (useful with locks interface).
  799. * ne_decompress_{reader,destroy} are defined as passthrough-functions
  800. if zlib support is not enabled.
  801. * API change: ne_ssl_provide_fn returns void not int.
  802. * Added NE_SSL_FAILMASK for verify failure sanity check.
  803. * Removed return codes NE_SERVERAUTH and and NE_AUTHPROXY; correct
  804. documentation, NE_PROXYAUTH is given for proxy auth failure.
  805. * Require zlib >= 1.1.4 to avoid possible vulnerability in earlier versions.
  806. See http://www.gzip.org/zlib/advisory-2002-03-11.txt for more details.
  807. (version check can be skipped by passing --with-force-zlib to configure)
  808. * New 'ne_ssl_readable_dname' function to create a human-readable string
  809. from an X509 distinguished name.
  810. * Fix support for newer versions of libxml2 (thanks to Jon Trowbridge
  811. <[email protected]>).
  812. * Fix corruption of reason_phrase in status object returned by
  813. ne_propset_status.
  814. * More lenient handling of whitespace in response headers.
  815. * ne_content_type_handler will give a charset of "ISO-8859-1" if no charset
  816. parameter is specified for a text/* media type (as per RFC2616).
  817. * Miscellaneous cleanups and fixes (Jeff Johnson <[email protected]>).
  818. Changes in release 0.19.4:
  819. * Support bundled build of expat 1.95.x (Branko Èibej).
  820. Changes in release 0.19.3:
  821. * For platforms lacking snprintf or vsnprintf in libc, require trio.
  822. * Add NE_FMT_OFF_T to fix Win32 build (Dan Berlin, Branko Èibej).
  823. * Fix SSL support in Win32 build (Branko Èibej).
  824. Changes in release 0.19.2:
  825. * Fix non-SSL build broken in 0.19.1.
  826. * Working SOCKSv5 support (thanks to Torsten Kalix <[email protected]>)
  827. Changes in release 0.19.1:
  828. * Add missing stubs for ne_ssl_* functions for non-SSL build.
  829. * Fix some error messages in new SSL code.
  830. Changes in release 0.19.0:
  831. * Major API change: ne_session_create now takes (scheme, hostname, port)
  832. arguments: a session is clarified to be "a group of requests to a
  833. certain server".
  834. - removal of ne_session_server, ne_set_secure, and ne_set_proxy_decider
  835. - ne_session_proxy returns void.
  836. - DNS lookups are delayed until request dispatch time.
  837. * Significant improvements to TLS/SSL support:
  838. - SSL is enabled if scheme passed to ne_session_create is "https"
  839. - new interfaces to load CA certs and to load SSL library's bundled CA certs
  840. - add server cert verification callback. An SSL connection to a server
  841. with an unknown CA will now fail unless a verification callback is used.
  842. - enable SSL session caching (performance improvement)
  843. - support for wildcard server certs where commonName is "*.example.com".
  844. - thanks to Tommi Komulainen for the contribution of code from mutt's
  845. IMAP/SSL implementation under the LGPL, from which bits of this were derived.
  846. * Improved SSL client certificate support:
  847. - far simpler interface, all done at ne_session.h level.
  848. - supports PKCS#12 and PEM-encoded certificates.
  849. - optional callback for only providing client when demanded by server.
  850. * Support for TLS upgrade is removed, since it isn't useful.
  851. * If NEON_SSL is defined, API extensions are available to:
  852. - allow access to the SSL_CTX * to adjust session SSL options
  853. - retrieve the server certificate (X509 *)
  854. * Decompress fixes:
  855. - fix potential segfault in ne_decompress_destroy
  856. - check the CRC of the deflated output (and fail if it doesn't match)
  857. - fail appropriately on truncated responses, and trailing bytes in response.
  858. * Added ne_set_read_timeout to use configurable timeout on socket reads.
  859. * Malformed response headers will be ignored rather than failing the request.
  860. * ne_set_error takes printf-style vararg.
  861. * Fixes for ne_get_range and improve error handling.
  862. * Functions which append to an ne_buffer do not return a success value,
  863. but they do use ne_realloc/ne_malloc under the hood now, so an OOM callback
  864. will be used (with the usual caveats).
  865. * XML interface does not strip leading whitespace from cdata by default,
  866. the NE_XML_STRIPWS flag is available to restore this feature if required.
  867. * Upgraded to libtool 1.4.2:
  868. - should fix --enable-shared on Mac OS X 10.1
  869. * Test suite now contains over one hundred tests.
  870. Changes in release 0.18.5:
  871. * Removed old neon.dsp, neon.dsw.
  872. * Update Win32 build to add OpenSSL and zlib support (Branko Èibej).
  873. * Fix ne_compress.c to compile on Win32 (Branko Èibej).
  874. Changes in release 0.18.4:
  875. * Fixes for Content-Type parsing using ne_content_type_handler (Greg Stein)
  876. - also now parses the charset parameter from header value.
  877. * Removed ne_concat() function, which didn't work and wasn't used.
  878. Changes in release 0.18.3:
  879. * Fix parsing lock timeout from server (Arun Garg).
  880. * Send Timeout headers in LOCK and refresh LOCK requests (Arun Garg).
  881. * Updated neon.mak and config.hw.in for Win32 build (patch from
  882. Branko Èibej <[email protected]>).
  883. * Define XML_BYTE_ORDER for bundled expat build in support macro
  884. NEON_XML_PARSER().
  885. Changes in release 0.18.2:
  886. * Fix --with-neon=PATH in support macros.
  887. * Support DESTDIR in Makefile install targets (patch by
  888. Pawel Golaszewski <[email protected]>).
  889. * Portability fixes:
  890. - fix configure check for time_t on some platforms (e.g Solaris 2.6).
  891. - remove expect100_works bitfield in ne_session structure (thanks to
  892. Yan Periard <[email protected]>).
  893. Changes in release 0.18.1:
  894. * Minor fix for authentication: "attempt" counter was not reset correctly
  895. after authentication failed, so subsequent requests would not authenticate
  896. correctly either.
  897. * API change: ne_session_destroy returns void (there was no error case).
  898. * Portability fixes (non-GCC compilers, 64-bit platforms, UnixWare 7)
  899. * Optimisations in string manipulation routines.
  900. * config.hw is included in the release tarball again.
  901. * Improvements in the autoconf support macros:
  902. - check for neon-config in PATH if --with-neon is not given
  903. - stop if --with-neon is used, and the check for external neon fails
  904. - added NEON_WITHOUT_ACL to prevent build of ne_acl.o
  905. Changes in release 0.18.0:
  906. * API change: authentication callback is passed fixed-size username/password
  907. buffers, and an 'attempt' counter. Authentication is retried *forever*
  908. until either it succeeds, or the callback returns non-zero.
  909. * API clarifications:
  910. - ne_propname may have a NULL nspace field, indicating the property has no
  911. namespace. This holds for properties returned by the propfind interfaces.
  912. - added NE_ELM_PROPS_UNUSED as the lowest element number which should
  913. be used with handlers added to the XML parser returned by
  914. ne_propfind_get_parser.
  915. * Fixes and cleanups of lock discovery interface.
  916. * Fix for short write handling in ne_get() (thanks to rado <[email protected]>).
  917. * Fix for XML namespace prefix handling where a prefix could be mapped to an
  918. incorrect URI (e.g. in PROPFINDs against mod_dav with >10 namespaces used)
  919. * Add '--support <feature>' option to neon-config; the script exits with
  920. success if given feature is supported. Known features are ssl, dav, zlib.
  921. * Support for SSL, DAV, zlib is exported by neon.m4 as shell variable
  922. NEON_SUPPORTS_{SSL,DAV,ZLIB}={yes,no} for bundled and external builds.
  923. * `neon-config --cflags` won't include -I/usr/include for SSL build.
  924. * Fix to call progress callbacks while sending request bodies again.
  925. * Test changes:
  926. - portability fixes, auth interface and progress tests.
  927. Changes in release 0.17.2:
  928. * Accept Status-Lines with no reason phrase (Jeremy Elson).
  929. * Fix handling of persistent connection timeout, and better error
  930. handling if sending a request fails.
  931. * Fix crashes in locking code.
  932. * Return parse error on XML namespace prefix declaration with
  933. an empty value. Thanks to Julian Reschke.
  934. * Allow passing property names with NULL namespace to ne_proppatch.
  935. * Fix for cross-compilation (Mo DeJong).
  936. * Moved ne_propname definition from ne_207.h to ne_props.h.
  937. * Test changes:
  938. - updated for Status-Line parsing changes (Jeremy Elson)
  939. - better persistent connection tests
  940. - fixed for --disable-webdav build
  941. Changes in release 0.17.1:
  942. * Add support for ACL method (Arun Garg <[email protected]>),
  943. see ne_acl.h.
  944. * Fixes and clean up of libraries exported via `neon-config --libs'
  945. * Fix timezone handling when parsing dates (on some platforms).
  946. * Upgrade to autoconf 2.52 and libtool 1.4 (thanks to Mo DeJong).
  947. * Cleanup/simplification of request dispatching:
  948. - better handling of error cases, including fix for a possible
  949. infinite loop when the server closes the connection prematurely.
  950. * Add '--without-zlib' configure option.
  951. * Test changes:
  952. - prettify output; imitate Perl test suite output.
  953. - add tests for interim 1xx responses, persistent connections, more
  954. unbounded operations.
  955. Changes in release 0.17.0:
  956. * Add support for decoding gzip Content-Encoding: see ne_compress.h.
  957. - built if zlib is found; `neon-config --cflags' will define NEON_ZLIB if so.
  958. * Rewrite hooks interface to register individual callbacks.
  959. - inspired by the Apache 2.0/APR hooks interface
  960. * Register cookies hooks using ne_cookie_register().
  961. * Clean up configure scripts to enable use of autoconf 2.5x (Mo DeJong).
  962. * Use new endianess configure macro to allow cross-compiling (Mo DeJong).
  963. * Fix invalid C code in sock_init() in Win32 build (Mo DeJong).
  964. * Fix use of signal() on Win32 (Mo DeJong).
  965. * Workaround libxml 1.x string handling not being UTF-8.
  966. * Test changes:
  967. - add tests for decompression interface.
  968. Changes in release 0.16.1:
  969. * Also handle write errors in ne_get_range.
  970. * Dump request body blocks in debugging mode.
  971. * Fix ne_shave() causing memory corruption when the result should
  972. have been the empty string.
  973. * Refactor auth header parsing code; more efficient now.
  974. - fixes digest auth RFC2617-style broken in 0.16.0
  975. Changes in release 0.16.0:
  976. * API change: ne_copy takes a depth parameter (thanks to Arun Garg, Medha Atre)
  977. * API change: validate callback to ne_xml also takes a userdata arg.
  978. * Added 'ne_lock_refresh' for performing lock refresh (Arun Garg).
  979. * Add SSL support to Win32 build (Peter Boos <[email protected]>)
  980. (see INSTALL.win32 for details). Compile with USE_DAV_LOCKS also.
  981. * Remove Server header parser for 100-continue support in ne_options.
  982. (and remove broken_expect100 from ne_server_capabilities).
  983. * Set SIGPIPE disposition to "ignored" in sock_init().
  984. * On platforms with setvbuf(), turn off buffering for the debug log
  985. stream.
  986. * Ignore repeated calls to sock_init().
  987. * Fixes to error handling in ne_get_range.
  988. * Minor improvements to memory handling in auth code.
  989. * Fix for start_propstat callback being called with NULL response
  990. argument when given invalid XML, causing a segfault in propfind code.
  991. * Test changes:
  992. - add regression test for the propfind segfault.
  993. - handle segfaults better (reap the child, flush the debug log).
  994. Changes in release 0.15.3:
  995. * Fix --with-expat=DIR build.
  996. Changes in release 0.15.2:
  997. * Fix Win32 for XML parser changes (Gerald Richter).
  998. * Substitute versions into config.hw at distribution time.
  999. * Add date parser for ISO8601-formatted dates as defined by RFC2518, e.g.
  1000. the creationdate property (Taisuke Yamada <[email protected]>).
  1001. * Fix Y2K bug in RFC1036 date parsing algorithm.
  1002. * Test changes:
  1003. - add tests for date parsing functions.
  1004. Changes in release 0.15.1:
  1005. * Win32 update from Gerald Richter <[email protected]>
  1006. - new files neon.mak, INSTALL.win32
  1007. * Fix for ne_socket.h includes (Mo DeJong).
  1008. * More improvements for XML parser selection logic:
  1009. - if parser is required, be sure to fail configure if none is found.
  1010. - added --with-included-expat for bundled expat logic.
  1011. * Rename --enable-debugging to --enable-debug (Mo DeJong).
  1012. - added NEON_DEBUG macro to exported autoconf macros.
  1013. * Call progress callbacks for request bodies.
  1014. * Test changes:
  1015. - check that reading response headers is a bounded operation.
  1016. - use a pipe between child and parent to avoid race condition and
  1017. tedious sleep().
  1018. Changes in release 0.15.0:
  1019. * Major API renaming to use ne_/NE_ namespace:
  1020. - http_ to ne_, HTTP_ to NE_, dav_ to ne_, DAV_ to NE_, neon_ to ne_
  1021. - hip_xml_ to ne_xml_, HIP_ELM_ to NE_ELM_, HIP_XML_ -> NE_XML_
  1022. - sbuffer_ to ne_buffer_
  1023. - DEBUG() to NE_DEBUG(), DEBUG_ to NE_DBG_
  1024. * Type renames:
  1025. - http_req to ne_request
  1026. - sbuffer to 'ne_buffer *'
  1027. * Note, 'ne_buffer' is not an implicit pointer type, you must
  1028. specify the '*' now, e.g. 'ne_buffer *buf = ne_buffer_create();'.
  1029. * ne_buffer is no longer opaque.
  1030. - ne_buffer_data() removed: use buf->data instead.
  1031. - ne_buffer_size() is a macro.
  1032. * Header renames and additions:
  1033. - http_request.h -> ne_request.h
  1034. - Session code split into ne_session.h
  1035. - hip_xml.h -> ne_xml.h, nsocket.h -> ne_socket.h, http_utils.h -> ne_utils.h
  1036. - neon_md5.h -> ne_md5.h, dav_207.h -> ne_207.h
  1037. - http_basic.h and dav_basic.h merged into ne_basic.h
  1038. * New functions:
  1039. - ne_token and ne_shave, to obsolete split_string, shave_string.
  1040. * Removed: ne_get_request_headers().
  1041. * autoconf changes:
  1042. - disable building shared neon library by default.
  1043. - option --enable-libxml is replaced by --with-libxml1 and
  1044. --with-libxml2 to force use of a particular parser.
  1045. * Fix auth code to only take MD5 digests of response body blocks when
  1046. necessary (thanks to Kai Sommerfeld).
  1047. * Fix alignment bug in MD5 code which could cause SIGBUS on Sparc
  1048. architectures (Kai Sommerfeld).
  1049. * Rewrite of request body handling:
  1050. - ne_set_request_body_fd replaces _stream, using an int fd rather than
  1051. a FILE *.
  1052. - added ne_set_request_body_provider to give a callback which is called
  1053. to provide request body blocks.
  1054. - removal of 'use_body' hook in favour of 'ne_pull_request_body' function
  1055. to allow hooks to manually read the request body.
  1056. - ne_{put,get,post,put_if_unmodified} all take an integer fd rather than a
  1057. FILE * stream.
  1058. * Test changes:
  1059. - added framework for testing "over the wire" (fork a server process)
  1060. - added tests for response message length handling, chunked responses,
  1061. header folding, sending request bodies.
  1062. - start at listing RFC2616 requirements and whether they are met
  1063. or not in test/STATUS.
  1064. - test for MD5 alignment bug on Sparc (thanks to Kai Sommerfeld).
  1065. Changes in release 0.14.0:
  1066. * Add C++ inclusion safety to http_auth.h (Kai Sommerfeld).
  1067. * Define ssize_t on Win32. (Kai Sommerfeld).
  1068. * Add C++ inclusion safety to dav_locks.h and ne_alloc.h (thanks to
  1069. Gregor Bornemann <[email protected]>).
  1070. * Significant API change to properties code, to allow use of allprop
  1071. and complex properties:
  1072. - dav_propfind_set_complex and _set_flat are removed.
  1073. - add parameter to dav_propfind_named to take the list of property names
  1074. to be fetched.
  1075. - new function dav_propfind_set_private to set private callback.
  1076. - all properties not handled by caller are stored as flat properties.
  1077. * Untested: add basic SOCKSv5 support: configure --with-socks.
  1078. - please report success/failure to [email protected]
  1079. * Win32/MSVC build files from Magnus Sirwiö <[email protected]>.
  1080. * Fix for expat detection from Shane Mayer <[email protected]>.
  1081. * Namespace-protect md5 code and more.
  1082. - md5_* -> ne_md5_*
  1083. - ascii_to_md5 -> ne_ascii_to_md5 (and moved to neon_md5.h)
  1084. * Parse authinfo segment in URIs (Johan Lindh <[email protected]>).
  1085. - added 'authinfo' field to struct uri.
  1086. * New API: hip_xml_get_attr to retrieve attributes.
  1087. * Store language for properties, access with dav_propset_lang.
  1088. - only if property is defined on the property element itself.
  1089. * Started a simple test suite (test/*).
  1090. - includes some simple HTTP server tests.
  1091. * Remove "Content-Length: 0" header for request with no body, fixing
  1092. interop with Squid 2.3-STABLE1 (thanks to Kai Sommerfeld).
  1093. * http_parse_statusline skips leading whitespace. (Johan Lindh).
  1094. * Partial fix for timezone/date parsing problems.
  1095. Changes in release 0.13.0:
  1096. * Fix ne_strndup allocating one byte less than it should (Kai Sommerfeld)
  1097. - if you use uri_parse, this bug may have caused subtle memory corruption
  1098. in your application.
  1099. * Revert API changes in 0.12: property values are not UTF-8 encoded/decoded
  1100. internally. (thanks to Greg Stein)
  1101. * Add another optional argument to NEON_BUNDLED macros, actions to
  1102. be run if bundled build is *not* selected.
  1103. * API change: added argument to http_add_hooks to register cleanup function
  1104. for the cookie.
  1105. * Removed dav_lock_unregister in favour of automatic cleanup when session
  1106. is destroyed.
  1107. * Fixed leaks in redirect code (Kai Sommerfeld).
  1108. * Fixed crashes in hip_xml_destroy (Kai Sommerfeld).
  1109. * Redirects to a different hostname/port/scheme are never followed: the request
  1110. will fail with HTTP_REDIRECT instead. Redirect notification callback is
  1111. only called for *followed* redirects.
  1112. New API: http_redirect_location() for retrieving location of last redirect.
  1113. * Authentication is now implemented as a hook, independently of http_request.c:
  1114. - API change: removed 'hostname' argument from auth callbacks.
  1115. - API change: you must now include http_auth.h from your application.
  1116. - Also fixes case of using server and proxy authentication simultaneously
  1117. * Added 'http_forget_auth' to clear authentication session.
  1118. * New API: http_session_hook_private for retrieving private per-session cookie
  1119. for hooks.
  1120. * API change: http_set_request_body_stream has a return error value.
  1121. * API change: http_set_request_body_buffer now takes the buffer length too.
  1122. * New API: caller-pulls interface for reading response body:
  1123. http_begin_request, http_end_request, http_read_response_block.
  1124. An alternative to using the (much simpler) http_request_dispatch.
  1125. * Make --disable-webdav build work.
  1126. * New API: dav_propnames for retrieving property names.
  1127. * New API: dav_propfind_get_request to access request object of handler.
  1128. * API change: progress and connection status callbacks implemented at
  1129. http_request.h level. Socket-level status callbacks removed, progress
  1130. callbacks made per-socket.
  1131. * Supports new expat (Sam TH <[email protected]>)
  1132. * Supports libxml2 (in preference to libxml1).
  1133. * API change: added namespace protection to base64 and dates functions:
  1134. all have ne_ prefix now.
  1135. * Fixed ranged GETs where a specific range is requested (Johan Lindh
  1136. <[email protected]>).
  1137. * Limit number of response header fields to 100.
  1138. * Allow requests for the '*' URI even if a proxy server is in use.
  1139. * libxml: Get useful error messages for parse errors.
  1140. Changes in release 0.12.0:
  1141. * Portability fixes to http_request.c and http_auth.c.
  1142. - fixes digest auth on big-endian architectures.
  1143. * Fix warnings from stray tokens after #endif's in uri.h and string_utils.h.
  1144. * Add C++ inclusion safety to http_redirect.h (Kai Sommerfeld
  1145. <[email protected]>).
  1146. * Make redirects to a different host work (Kai Sommerfeld).
  1147. * Fix reading response bodies when non-chunked and no Content-Length
  1148. (Kai Sommerfeld).
  1149. * API change: 'http_add_hooks takes a 'const' request object.
  1150. * Fixed memory leaks in session hooks (thanks to Kai Sommerfeld).
  1151. * Fix passing NULL props argument to dav_simple_propfind, to support
  1152. allprop requests.
  1153. **** MAJOR INTERFACE CHANGE ****
  1154. - URIs passed to http_request_create() are NOT escaped by neon. You
  1155. MUST do this yourself to remain HTTP compliant, using e.g.
  1156. uri_abspath_escape. (Kai Sommerfeld)
  1157. * Added --disable-webdav flag to configure, to disable DAV support in
  1158. the library. This allows building neon without an XML parser.
  1159. * Corresponding NEON_WITHOUT_WEBDAV macro for use in bundled builds.
  1160. * Fix Makefile dependancies.
  1161. * A bundled neon directory builds or doesn't build automatically
  1162. (i.e. you recurse into it unconditionally).
  1163. * API clarification:
  1164. - dav_propset_status may return NULL if the server does not return
  1165. a response for the given property (issue is open for debate).
  1166. * API change up for debate:
  1167. - Property values to dav_proppatch are UTF-8 encoded internally.
  1168. - Property values in dav_propfind_* are UTF-8 decoded internally.
  1169. * API additions: ne_realloc, ne_utf8_encode.
  1170. Changes in release 0.11.0:
  1171. * Added SSL client certificate support with 'sock_set_client_cert'.
  1172. - Supports certs in PEM-encoded files.
  1173. - Specify a callback for prompting the user for the password with
  1174. sock_set_key_prompt.
  1175. * Added 'ne_oom_callback', to register a callback which is used if
  1176. malloc() returns NULL. (Mike Rosellini <[email protected]>)
  1177. * Register appropriate callback with libxml to handle <![CDATA blocks
  1178. as normal character data (fixes PROPFINDs against sharemation.com).
  1179. * Added 'NEON_REQUIRE' macro to declare that you require a neon library
  1180. of a given minimum version, e.g. NEON_REQUIRE(0,10) means "I need
  1181. neon 0.11 or later". The _BUNDLED macros will fall back on the bundled
  1182. copy if an external library is found which is not of a new enough version.
  1183. * Added neon_version_minimum() function call for run-time version detection.
  1184. * neon_config.h has been removed.
  1185. * Use closesocket() to close sockets on Win32 (Markus Fleck <[email protected]>).
  1186. Changes in release 0.10.1:
  1187. * Default expect-100 to OFF.
  1188. Changes in release 0.10.0:
  1189. * hip_xml API changes:
  1190. - The search for a handler for a new child element begins at the
  1191. handler of the parent element, and carries on up the stack.
  1192. (previously, it always started from the base of the stack)
  1193. - Documentation written: doc/parsing-xml.txt
  1194. * Remove memory leaks and tidy debugging output in new properties code.
  1195. * API changes to DAV locking interface:
  1196. - New function: dav_lock_copy to copy a lock object.
  1197. - Re-ordered arguments to callback of dav_lock_discover, and made the
  1198. lock object passed back const.
  1199. - Fix leaks and crashes due to vague interface definitions.
  1200. * API change to dav_propfind_set_complex: use a callback to return the
  1201. 'private' structure.
  1202. * NEON_NORMAL_BUILD and NEON_LIBTOOL_BUILD macros defined for setting
  1203. up neon's Makefile in a bundled build: see macros/neon.m4.
  1204. * NEON_VPATH_BUNDLED macro added which takes separate srcdir and
  1205. builddir arguments for supporting VPATH builds (thanks to Peter Moulder
  1206. <[email protected]>).
  1207. * Added optional final argument to NEON_(VPATH_)BUNDLED, which gives
  1208. a set of actions to be run if the bundled build is chosen.
  1209. * NEON_SSL checks for OpenSSL in /usr too.
  1210. * API change: when using http_session_decide_proxy, it MUST be called
  1211. before using http_session_server to prevent the DNS lookup on the origin
  1212. server being optimised out. The real scheme in use is passed to the
  1213. callback now.
  1214. * New function, dav_207_ignore_unknown, to ignore any unknown XML fragments
  1215. in the 207 response. Used by properties layer.
  1216. Changes in release 0.9.2:
  1217. * Fix using both dav_propfind_set_complex and dav_propfind_set_flat with the
  1218. same propfind_handler.
  1219. Changes in release 0.9.1:
  1220. * dav_propfind interface
  1221. - Guarantee that the 'private' structure will be initialized to zero on
  1222. creation.
  1223. - Make it the *callers* responsibility to free() the private structure.
  1224. * Fix a few arguments/variables which mirrored globally declared symbols.
  1225. Changes in release 0.9.0:
  1226. * Removed old dav_propfind_* interface, replaced with a better, more
  1227. powerful, and easier to use interface:
  1228. - 'dav_simple_propfind' interface for just fetching "flat" (byte-string)
  1229. properties.
  1230. - 'dav_propfind_*' interface for fetching flat and/or "complex" (structured
  1231. XML) properties.
  1232. - Lets you retrieve the 'status' information, to see what happened if
  1233. fetching the property failed (e.g 404 Not Found).
  1234. * Fixes to doc/using-neon.txt (thanks to Greg Stein).
  1235. * Allow building when srcdir != builddir (Mo DeJong <[email protected]>)
  1236. Changes in release 0.8.1:
  1237. * Fix segfault in PROPFIND code.
  1238. Changes in release 0.8.0:
  1239. * Fix for using COPY/MOVE over SSL (thanks to David Sloat).
  1240. * Fix for using a proxy server and SSL.
  1241. * Added 'http_get_scheme' API call.
  1242. * Added 'http_redirect.h' to list of installed headers (thanks to everyone ;).
  1243. * Changes for building on Windows (Peter Boos <[email protected]>)
  1244. * Fixes for building on BeOS (Sam TH <[email protected]> and David Reid
  1245. <[email protected]>).
  1246. * Add buffering to socket code for pre-BONE BeOS systems (David Reid).
  1247. * Interface changes for hip_xml:
  1248. - Renamed hip_xml_add_(mixed_)handler to hip_xml_push_(mixed_)handler
  1249. - Documentation updates.
  1250. - Added HIP_ELM_UNUSED for lowest element id which should be used.
  1251. *** MAJOR INTERFACE CHANGE ***
  1252. - Removed 'http_status *' pointer from http_request_dispatch.
  1253. - Added http_get_status(req) to retrieve the response-status information
  1254. instead. You don't have to declare an http_status object yourself now.
  1255. * Similarly, added DAV_ELM_207_UNUSED for lowest element id which should
  1256. be used by users of dav_207_* code (incl. use of dav_propfind_*
  1257. code).
  1258. * New NEON_* autoconf macro interface:
  1259. - Use NEON_BUNDLED if sources are bundled, otherwise NEON_LIBRARY.
  1260. - The NEON_XML_PARSER macro is NOT called automatically. You must
  1261. call this yourself if using NEON_BUNDLED; see doc/using-neon.txt
  1262. for details.
  1263. * Fix use of 'socket' in nsocket.h function prototypes (Greg Stein).
  1264. * Remove extra backslash at line 69 of src/Makefile.incl (Dirk Bergstrom).
  1265. * Examples directory is now a separate package.
  1266. Changes in release 0.7.7:
  1267. * Another fix for linking against a libtool-built expat (Greg Stein).
  1268. Changes in release 0.7.6:
  1269. * Better check for closed SSL connection after doing SSL_peek. (thanks
  1270. to Jeff Costlow <[email protected]>).
  1271. * Attempt at correct sock_block() implementation for SSL.
  1272. * sock_peek() will return SOCK_CLOSED correctly.
  1273. Changes in release 0.7.5:
  1274. * Fixed workaround for linking against a libtool-built expat (Greg Stein).
  1275. Changes in release 0.7.4:
  1276. * Fix for fd leak on connect failure (David Sloat <[email protected]>).
  1277. * Fix for Digest auth against IIS5 (David Sloat).
  1278. * Workaround for linking against a libtool-built libexpat.la (Greg Stein).
  1279. Changes in release 0.7.3:
  1280. * Check for -lsocket and -linet in configure.
  1281. * Workaround for SSL problems.
  1282. Changes in release 0.7.2:
  1283. * Define SHELL in Makefile (thanks to Eric Mumpower <[email protected]>).
  1284. * Added 'all' target to Makefile (Greg Stein <[email protected]>)
  1285. * Added '--with-expat' argument to configure (Greg Stein)
  1286. * Added 'dav_propfind_destroy' function.
  1287. Changes in release 0.7.1:
  1288. * Don't register response body/header authentication callbacks if no
  1289. credentials-supplying callback has been registered (speed optimisation).
  1290. Changes in release 0.7.0:
  1291. * Deprecated use of 'NULL' to http_add_response_header_handler.
  1292. New interface, http_add_response_header_catcher, to register
  1293. a callback which is passed ALL response headers regardless of name.
  1294. * Speed optimisation (~10%?): storing response-header handlers in a
  1295. hash table for faster look.
  1296. * New SBUFFER_CAST() macro for getting to the 'char *' of an sbuffer
  1297. as fast as possible.
  1298. Changes in release 0.6.1:
  1299. * Fix for retrying request if connection is closed by server.
  1300. * Make redirect hook work for >1 request per session.
  1301. Changes in release 0.6.0:
  1302. * New interface to allow following HTTP redirects (301/302 responses).
  1303. A callback must be given to get user confirmation if the request method
  1304. is not GET, HEAD, or PROPFIND.
  1305. * New interface to determine whether the proxy server should be used
  1306. for a given request: http_session_decide_proxy.
  1307. * Fix nget build again. Support automatic redirects in 'nget'.
  1308. * Add --with-extra-includes and --with-extra-libs configure parameters
  1309. to point configure at
  1310. Changes in release 0.5.1:
  1311. * Prevent segfault if USE_DAV_LOCKS is defined, and a locking session
  1312. is not registered (thanks to David Sloat).
  1313. Changes in release 0.5.0:
  1314. * Rename xmalloc, xstrdup etc to ne_malloc, ne_strdup etc.
  1315. * Some speed optimisation in response-header reading.
  1316. * Use 'off_t' rather than 'size_t' in sock_progress callback,
  1317. sock_readfile_blocked, and sock_transfer.
  1318. Changes in release 0.4.2:
  1319. * Fix for sending request bodies after getting 100-continue response.
  1320. Changes in release 0.4.1:
  1321. * Fix nget build.
  1322. Changes in release 0.4.0:
  1323. * Install library headers into .../include/neon not .../include/libneon
  1324. * Install all necessary library headers.
  1325. * Compile support for WebDAV locking throughout the library
  1326. * Rename md5.h to neon_md5.h (avoids conflict with md5.h in OpenSSL)
  1327. * Rename socket.h to nsocket.h (avoids possible conflict with C library)
  1328. * Update licensing notice on macros/neon*.m4: note that these files are
  1329. NOT under the LGPL, and can be used in other packages regardless of
  1330. the license the package uses.
  1331. * Update NEON_LIBRARY m4 function to allow optional specification of
  1332. names of bundled neon/expat source directories.
  1333. * Increase socket read timeout to 60 seconds.
  1334. * Added an POST method: from Sander Alberink <[email protected]>.
  1335. * Added 'http_get_request_headers' to return the sbuffer containing
  1336. all request headers.
  1337. * Allow passing NULL as name to http_add_response_header_handler:
  1338. the handler callback is passed the entire header string, of ALL
  1339. response headers.
  1340. Changes in release 0.3.1:
  1341. * Compile fix for dav_locks.c (thanks to Paul D'Anna)
  1342. Changes in release 0.3.0:
  1343. * Rewrite of socket handling layer. All sock_* functions changed.
  1344. * Added basic SSL support: --with-ssl (requires OpenSSL).
  1345. NOTE: Certificates are NOT presented for verification.
  1346. * 'nget' accepts URL's using the 'https' scheme.
  1347. * New example program, 'nserver', to display the Server: string,
  1348. e.g. 'nserver https://www.eu.c2.net/'
  1349. * Fixed request re-send when persistent connection times out.
  1350. * "Hooks" support: allow external hooks into the HTTP request/
  1351. response dispatch loop.
  1352. * New printf-style interface for adding request headers.
  1353. * Make symbols used in header files C++-safe (Tom Bednarz).
  1354. * WebDAV locking support: lock discovery, LOCK (exclusive/shared)
  1355. UNLOCK. "If:" headers are sent as appropriate. Simple interface
  1356. for implementors of new methods to indicate which locks are
  1357. required for the method.
  1358. * Primitive HTTP cookies support.
  1359. * Primitive hack at a GNOME-based GUI example program "nbrowse".
  1360. Enable build with --enable-gnome-examples. It crashes, and
  1361. not much else. Requires GNOME and POSIX threads. Example usage:
  1362. 'nbrowse dav.ics.uci.edu /msdav/'
  1363. Many thanks to Lee Mallabone for Gtk help, and showing how to
  1364. use Gtk and threads.
  1365. Changes in release 0.2.0:
  1366. * Use libtool: new configure options to select whether to build
  1367. shared and/or static libraries. Should build shared libraries
  1368. portably now.
  1369. * Complete rewrite of the hip_xml interface to use opaque pointers.
  1370. New functions: hip_xml_create, hip_xml_destroy: create parser.
  1371. hip_xml_{set,get}_error: Access to error string.
  1372. hip_xml_add_handler: Register callbacks for a set of elements.
  1373. hip_xml_valid: Returns whether the parse was valid or not.
  1374. Removed functions: hip_xml_init, hip_xml_finish.
  1375. * Removed functions made reduntant by above changes in dav_207.
  1376. * Don't include config.h in header files
  1377. * Fix PROPFIND allprop request body (Michael Sobolev)
  1378. * Added C++ safety macros around header files.
  1379. * Added neon-config script for getting correct CFLAGS and LIBS
  1380. values for using libneon in applications.
  1381. Changes in release 0.1.1:
  1382. * Fix for short writes in GET
  1383. Changes in release 0.1.0:
  1384. * Initial release.