NEWS 67 KB

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