浏览代码

neon 0.31.1

Source commit: 0295150cbc9d43f604405379cbecb60d1f320e83
Martin Prikryl 5 年之前
父节点
当前提交
83ed4ba8f2
共有 100 个文件被更改,包括 298 次插入289 次删除
  1. 3 0
      libs/neon/.travis.yml
  2. 1 1
      libs/neon/.version
  3. 2 2
      libs/neon/ChangeLog
  4. 8 0
      libs/neon/NEWS
  5. 4 6
      libs/neon/README.md
  6. 1 1
      libs/neon/config.hw
  7. 12 12
      libs/neon/configure
  8. 1 1
      libs/neon/doc/date.xml
  9. 4 4
      libs/neon/doc/html/compliance.html
  10. 1 1
      libs/neon/doc/html/index.html
  11. 0 0
      libs/neon/doc/html/intro.html
  12. 0 0
      libs/neon/doc/html/refalloc.html
  13. 0 0
      libs/neon/doc/html/refauth.html
  14. 1 1
      libs/neon/doc/html/refbuf.html
  15. 0 0
      libs/neon/doc/html/refbufapp.html
  16. 0 0
      libs/neon/doc/html/refbufcr.html
  17. 0 0
      libs/neon/doc/html/refbufdest.html
  18. 0 0
      libs/neon/doc/html/refbufutil.html
  19. 0 0
      libs/neon/doc/html/refcert.html
  20. 0 0
      libs/neon/doc/html/refclicert.html
  21. 2 2
      libs/neon/doc/html/refconfig.html
  22. 0 0
      libs/neon/doc/html/referr.html
  23. 3 3
      libs/neon/doc/html/reffeat.html
  24. 2 2
      libs/neon/doc/html/refgetst.html
  25. 2 2
      libs/neon/doc/html/refi18n.html
  26. 0 0
      libs/neon/doc/html/refiaddr.html
  27. 15 14
      libs/neon/doc/html/refneon.html
  28. 0 0
      libs/neon/doc/html/refopts.html
  29. 0 0
      libs/neon/doc/html/refproxy.html
  30. 0 0
      libs/neon/doc/html/refreq.html
  31. 0 0
      libs/neon/doc/html/refreqbody.html
  32. 0 0
      libs/neon/doc/html/refreqflags.html
  33. 0 0
      libs/neon/doc/html/refreqhdr.html
  34. 0 0
      libs/neon/doc/html/refresolve.html
  35. 0 0
      libs/neon/doc/html/refresphdr.html
  36. 0 0
      libs/neon/doc/html/refsess.html
  37. 0 0
      libs/neon/doc/html/refsessflags.html
  38. 2 2
      libs/neon/doc/html/refshave.html
  39. 5 5
      libs/neon/doc/html/refsockinit.html
  40. 0 0
      libs/neon/doc/html/refsslca.html
  41. 0 0
      libs/neon/doc/html/refsslcert2.html
  42. 0 0
      libs/neon/doc/html/refsslcertio.html
  43. 0 0
      libs/neon/doc/html/refssldname.html
  44. 0 0
      libs/neon/doc/html/refsslvfy.html
  45. 3 3
      libs/neon/doc/html/refstatus.html
  46. 0 0
      libs/neon/doc/html/reftok.html
  47. 0 0
      libs/neon/doc/html/refvers.html
  48. 0 0
      libs/neon/doc/html/refxml.html
  49. 5 5
      libs/neon/doc/html/security.html
  50. 3 3
      libs/neon/doc/man/ne_add_request_header.3
  51. 3 3
      libs/neon/doc/man/ne_addr_resolve.3
  52. 3 3
      libs/neon/doc/man/ne_buffer.3
  53. 3 3
      libs/neon/doc/man/ne_buffer_append.3
  54. 3 3
      libs/neon/doc/man/ne_buffer_clear.3
  55. 3 3
      libs/neon/doc/man/ne_buffer_create.3
  56. 3 3
      libs/neon/doc/man/ne_buffer_destroy.3
  57. 3 3
      libs/neon/doc/man/ne_get_error.3
  58. 3 3
      libs/neon/doc/man/ne_get_response_header.3
  59. 3 3
      libs/neon/doc/man/ne_get_status.3
  60. 3 3
      libs/neon/doc/man/ne_has_support.3
  61. 3 3
      libs/neon/doc/man/ne_i18n_init.3
  62. 3 3
      libs/neon/doc/man/ne_iaddr_make.3
  63. 3 3
      libs/neon/doc/man/ne_malloc.3
  64. 3 3
      libs/neon/doc/man/ne_request_create.3
  65. 3 3
      libs/neon/doc/man/ne_session_create.3
  66. 4 4
      libs/neon/doc/man/ne_session_proxy.3
  67. 3 3
      libs/neon/doc/man/ne_set_request_body_buffer.3
  68. 3 3
      libs/neon/doc/man/ne_set_request_flag.3
  69. 3 3
      libs/neon/doc/man/ne_set_server_auth.3
  70. 3 3
      libs/neon/doc/man/ne_set_session_flag.3
  71. 3 3
      libs/neon/doc/man/ne_set_useragent.3
  72. 3 3
      libs/neon/doc/man/ne_shave.3
  73. 3 3
      libs/neon/doc/man/ne_sock_init.3
  74. 3 3
      libs/neon/doc/man/ne_ssl_cert_cmp.3
  75. 3 3
      libs/neon/doc/man/ne_ssl_cert_identity.3
  76. 3 3
      libs/neon/doc/man/ne_ssl_cert_read.3
  77. 3 3
      libs/neon/doc/man/ne_ssl_clicert_read.3
  78. 3 3
      libs/neon/doc/man/ne_ssl_readable_dname.3
  79. 3 3
      libs/neon/doc/man/ne_ssl_set_verify.3
  80. 3 3
      libs/neon/doc/man/ne_ssl_trust_cert.3
  81. 3 3
      libs/neon/doc/man/ne_status.3
  82. 4 4
      libs/neon/doc/man/ne_token.3
  83. 3 3
      libs/neon/doc/man/ne_version_match.3
  84. 3 3
      libs/neon/doc/man/ne_xml_create.3
  85. 3 3
      libs/neon/doc/man/neon-config.1
  86. 7 6
      libs/neon/doc/man/neon.3
  87. 4 3
      libs/neon/doc/ref/neon.xml
  88. 1 1
      libs/neon/doc/ref/proxy.xml
  89. 1 1
      libs/neon/doc/ref/tok.xml
  90. 1 1
      libs/neon/doc/security.xml
  91. 1 1
      libs/neon/doc/version.xml
  92. 2 2
      libs/neon/macros/neon.m4
  93. 3 3
      libs/neon/src/ne_auth.c
  94. 1 0
      libs/neon/src/ne_dates.c
  95. 5 1
      libs/neon/src/ne_locks.h
  96. 78 17
      libs/neon/src/ne_md5.c
  97. 3 72
      libs/neon/src/ne_openssl.c
  98. 1 1
      libs/neon/src/ne_pkcs11.c
  99. 1 1
      libs/neon/src/ne_props.c
  100. 2 2
      libs/neon/src/ne_request.c

+ 3 - 0
libs/neon/.travis.yml

@@ -46,6 +46,9 @@ matrix:
     - name: OpenSSL
       compiler: gcc
       env: CONF="--with-ssl=openssl"
+    - name: OpenSSL on arm64
+      arch: arm64
+      env: CONF="--with-ssl=openssl"
     - name: OpenSSL on trusty
       dist: trusty
       env: CONF="--with-ssl=openssl"

+ 1 - 1
libs/neon/.version

@@ -1 +1 @@
-0.31.0
+0.31.1

+ 2 - 2
libs/neon/ChangeLog

@@ -1,6 +1,6 @@
 ------------------------------------------------------------------------
-r1463 | joe.orton | 2020-03-11 10:10:26 +0000 (Wed, 11 Mar 2020) | 2 lines
+r1501 | joe.orton | 2020-04-17 14:51:26 +0100 (Fri, 17 Apr 2020) | 2 lines
 
-* macros/neon.m4: Bump to 0.31.0 final.
+Finalize 0.31.1 [skip ci].
 
 ------------------------------------------------------------------------

+ 8 - 0
libs/neon/NEWS

@@ -1,3 +1,11 @@
+Changes in release 0.31.1:
+* ADMIN: The neon website has moved to https://notroj.github.io/neon/
+* Restore ne_md5_read_ctx() in OpenSSL build.
+* Fix gcc warnings on Ubuntu (Jan-Marek Glogowski).
+* Fix various spelling mistakes in docs and headers (thanks to FOSSIES).
+* Fix ne_asctime_parse() (Eugenij-W).
+* Fix build with LibreSSL (Juan RP).
+
 Changes in release 0.31.0:
 * Interface changes:
  - none, API and ABI backwards-compatible with 0.27.x and later

+ 4 - 6
libs/neon/README.md

@@ -1,5 +1,5 @@
 
-[![Travis CI Build Status](https://travis-ci.org/notroj/neon.svg?branch=master)](https://travis-ci.org/notroj/neon)
+[![Travis CI Build Status](https://travis-ci.org/notroj/neon.svg?branch=0.31.x)](https://travis-ci.org/notroj/neon)
 
 # neon
 
@@ -7,12 +7,10 @@ _neon_ is an HTTP and WebDAV client library, with a C language API.
 
 Mailing list: [email protected] || Web site: http://www.webdav.org/neon/
 
-PLEASE NOTE: The neon API is subject to backwards-incompatible change
-over minor releases (0.23.x -> 0.24.x) until the 1.0.0 release, but
-maintains source and binary backwards compatibility through patch
-releases (0.24.0 -> 0.24.7).
+The neon API and ABI are stable and maintain backwards compatibility
+from 0.27.x through 0.31.x.
 
-Current features:
+Features:
 
  - High-level interface to HTTP and WebDAV methods.
  - Low-level interface to HTTP request handling, to allow implementing

+ 1 - 1
libs/neon/config.hw

@@ -25,7 +25,7 @@
 
 #ifdef WIN32
 
-#define NEON_VERSION "0.31.0"
+#define NEON_VERSION "0.31.1"
 #define NE_VERSION_MAJOR (0)
 #define NE_VERSION_MINOR (31)
 

+ 12 - 12
libs/neon/configure

@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for neon 0.31.0.
+# Generated by GNU Autoconf 2.69 for neon 0.31.1.
 #
 # Report bugs to <[email protected]>.
 #
@@ -595,8 +595,8 @@ MAKEFLAGS=
 # Identity of this package.
 PACKAGE_NAME='neon'
 PACKAGE_TARNAME='neon'
-PACKAGE_VERSION='0.31.0'
-PACKAGE_STRING='neon 0.31.0'
+PACKAGE_VERSION='0.31.1'
+PACKAGE_STRING='neon 0.31.1'
 PACKAGE_BUGREPORT='[email protected]'
 PACKAGE_URL=''
 
@@ -1337,7 +1337,7 @@ if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures neon 0.31.0 to adapt to many kinds of systems.
+\`configure' configures neon 0.31.1 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1402,7 +1402,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of neon 0.31.0:";;
+     short | recursive ) echo "Configuration of neon 0.31.1:";;
    esac
   cat <<\_ACEOF
 
@@ -1530,7 +1530,7 @@ fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-neon configure 0.31.0
+neon configure 0.31.1
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2244,7 +2244,7 @@ cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by neon $as_me 0.31.0, which was
+It was created by neon $as_me 0.31.1, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2790,7 +2790,7 @@ NEON_BUILD_BUNDLED=yes
 # Define the current versions.
 NE_VERSION_MAJOR=0
 NE_VERSION_MINOR=31
-NE_VERSION_PATCH=0
+NE_VERSION_PATCH=1
 NE_VERSION_TAG=
 
 # 0.31.x is backwards-compatible to 0.27.x, so AGE=4
@@ -17974,7 +17974,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by neon $as_me 0.31.0, which was
+This file was extended by neon $as_me 0.31.1, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -18040,7 +18040,7 @@ _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-neon config.status 0.31.0
+neon config.status 0.31.1
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
@@ -19600,7 +19600,7 @@ fi
 # for VPATH builds:
 test -d test/common || mkdir test/common
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: Configured to build neon 0.31.0:
+{ $as_echo "$as_me:${as_lineno-$LINENO}: Configured to build neon 0.31.1:
 
   Install prefix:  ${prefix}
   Compiler:        ${CC}
@@ -19609,7 +19609,7 @@ test -d test/common || mkdir test/common
   zlib support:    ${ne_ZLIB_message}
   Build libraries: Shared=${enable_shared}, Static=${enable_static}
 " >&5
-$as_echo "$as_me: Configured to build neon 0.31.0:
+$as_echo "$as_me: Configured to build neon 0.31.1:
 
   Install prefix:  ${prefix}
   Compiler:        ${CC}

+ 1 - 1
libs/neon/doc/date.xml

@@ -1 +1 @@
-11 March 2020
+17 April 2020

+ 4 - 4
libs/neon/doc/html/compliance.html

@@ -1,12 +1,12 @@
 <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Standards compliance</title><link rel="stylesheet" type="text/css" href="../manual.css"><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"><link rel="home" href="index.html" title="neon HTTP/WebDAV client library"><link rel="up" href="intro.html" title="Chapter 1. Introduction"><link rel="prev" href="using.html" title="How to use neon from your application"><link rel="next" href="security.html" title="HTTP Client Security"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Standards compliance</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="using.html">Prev</a> </td><th width="60%" align="center">Chapter 1. Introduction</th><td width="20%" align="right"> <a accesskey="n" href="security.html">Next</a></td></tr></table><hr></div><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="compliance"></a>Standards compliance</h2></div></div></div><p>neon is intended to be compliant with the IETF and W3C
 	standards which it implements, with a few exceptions due to
 	practical necessity or interoperability issues.  These
-	exceptions are documented in this section.</p><div class="sect2"><div class="titlepage"><div><div><h3 class="title"><a name="idm45872384570448"></a>RFC 2518, HTTP Extensions for Distributed Authoring—WebDAV</h3></div></div></div><p>neon is deliberately not compliant with section
+	exceptions are documented in this section.</p><div class="sect2"><div class="titlepage"><div><div><h3 class="title"><a name="idm45167098571904"></a>RFC 2518, HTTP Extensions for Distributed Authoring—WebDAV</h3></div></div></div><p>neon is deliberately not compliant with section
 	23.4.2, and treats property names as a (namespace-URI, name)
 	pair.  This is <a class="ulink" href="http://lists.w3.org/Archives/Public/w3c-dist-auth/1999OctDec/0343.html" target="_top">generally
 	considered</a> to be correct behaviour by the WebDAV
 	working group, and is likely to formally adopted in a future
-	revision of the specification.</p></div><div class="sect2"><div class="titlepage"><div><div><h3 class="title"><a name="idm45872384568496"></a>RFC 2616, Hypertext Transfer Protocol—HTTP/1.1</h3></div></div></div><p>There is some confusion in this specification about the
+	revision of the specification.</p></div><div class="sect2"><div class="titlepage"><div><div><h3 class="title"><a name="idm45167098569968"></a>RFC 2616, Hypertext Transfer Protocol—HTTP/1.1</h3></div></div></div><p>There is some confusion in this specification about the
         use of the <span class="quote">“<span class="quote">identity</span>”</span>
         <em class="firstterm">transfer-coding</em>.  neon ignores the
         <code class="literal">Transfer-Encoding</code> response header if it
@@ -15,7 +15,7 @@
         the header was not present.  neon will give an error if a
         response includes a <code class="literal">Transfer-Encoding</code>
         header with a value other than <span class="quote">“<span class="quote">identity</span>”</span> or
-        <span class="quote">“<span class="quote">chunked</span>”</span>.</p></div><div class="sect2"><div class="titlepage"><div><div><h3 class="title"><a name="idm45872384563744"></a>RFC 2617, HTTP Authentication: Basic and Digest Access Authentication</h3></div></div></div><p>neon is not strictly compliant with the quoting rules
+        <span class="quote">“<span class="quote">chunked</span>”</span>.</p></div><div class="sect2"><div class="titlepage"><div><div><h3 class="title"><a name="idm45167098565312"></a>RFC 2617, HTTP Authentication: Basic and Digest Access Authentication</h3></div></div></div><p>neon is not strictly compliant with the quoting rules
         given in the grammar for the <code class="literal">Authorization</code>
         header.  The grammar requires that the <code class="literal">qop</code>
         and <code class="literal">algorithm</code> parameters are not quoted,
@@ -23,7 +23,7 @@
         (Microsoft® IIS 5) rejects the request if these parameters
         are not quoted.  neon sends these parameters with
         quotes—this is not known to cause any problems with
-        other server implementations.</p></div><div class="sect2"><div class="titlepage"><div><div><h3 class="title"><a name="idm45872384559920"></a>Namespaces in XML</h3></div></div></div><p>The neon XML parser interface will accept and parse
+        other server implementations.</p></div><div class="sect2"><div class="titlepage"><div><div><h3 class="title"><a name="idm45167098561440"></a>Namespaces in XML</h3></div></div></div><p>The neon XML parser interface will accept and parse
         without error some XML documents which are well-formed
         according to the XML specification but do not conform to the
         "Namespaces in XML" specification <a class="xref" href="biblio.html#bib.xmlnames" title="Namespaces in XML">[<abbr class="abbrev">REC-XML-names</abbr>]</a>.  Specifically: the restrictions on

文件差异内容过多而无法显示
+ 1 - 1
libs/neon/doc/html/index.html


文件差异内容过多而无法显示
+ 0 - 0
libs/neon/doc/html/intro.html


文件差异内容过多而无法显示
+ 0 - 0
libs/neon/doc/html/refalloc.html


文件差异内容过多而无法显示
+ 0 - 0
libs/neon/doc/html/refauth.html


+ 1 - 1
libs/neon/doc/html/refbuf.html

@@ -4,7 +4,7 @@ typedef struct {
     char *data;
     size_t used;
     size_t length;
-} <em class="type">ne_buffer</em>;</pre></div></div><div class="refsect1"><a name="idm45872384024928"></a><h2>Description</h2><p>The <em class="type">ne_buffer</em> type represents an expandable
+} <em class="type">ne_buffer</em>;</pre></div></div><div class="refsect1"><a name="idm45167098023184"></a><h2>Description</h2><p>The <em class="type">ne_buffer</em> type represents an expandable
 memory buffer for holding <code class="literal">NUL</code>-terminated strings.  The
 <em class="structfield"><code>data</code></em> field points to the beginnning of the
 string, the length of which is given by the

文件差异内容过多而无法显示
+ 0 - 0
libs/neon/doc/html/refbufapp.html


文件差异内容过多而无法显示
+ 0 - 0
libs/neon/doc/html/refbufcr.html


文件差异内容过多而无法显示
+ 0 - 0
libs/neon/doc/html/refbufdest.html


文件差异内容过多而无法显示
+ 0 - 0
libs/neon/doc/html/refbufutil.html


文件差异内容过多而无法显示
+ 0 - 0
libs/neon/doc/html/refcert.html


文件差异内容过多而无法显示
+ 0 - 0
libs/neon/doc/html/refclicert.html


+ 2 - 2
libs/neon/doc/html/refconfig.html

@@ -1,11 +1,11 @@
 <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>neon-config</title><link rel="stylesheet" type="text/css" href="../manual.css"><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"><link rel="home" href="index.html" title="neon HTTP/WebDAV client library"><link rel="up" href="ref.html" title="neon API reference"><link rel="prev" href="refneon.html" title="neon"><link rel="next" href="refresolve.html" title="ne_addr_resolve"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">neon-config</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="refneon.html">Prev</a> </td><th width="60%" align="center">neon API reference</th><td width="20%" align="right"> <a accesskey="n" href="refresolve.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="refconfig"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>neon-config — script providing information about installed copy
-	of neon library</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">neon-config</code>  [<code class="option">--prefix</code>] [[<code class="option">--cflags</code>] |  [<code class="option">--libs</code>] |  [<code class="option">--la-file</code>] |  [<code class="option">--support</code> <em class="replaceable"><code>feature</code></em>] |  [<code class="option">--help</code>] |  [<code class="option">--version</code>]]</p></div></div><div class="refsect1"><a name="idm45872384194816"></a><h2>Description</h2><p>The <span class="command"><strong>neon-config</strong></span> script provides
+	of neon library</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">neon-config</code>  [<code class="option">--prefix</code>] [[<code class="option">--cflags</code>] |  [<code class="option">--libs</code>] |  [<code class="option">--la-file</code>] |  [<code class="option">--support</code> <em class="replaceable"><code>feature</code></em>] |  [<code class="option">--help</code>] |  [<code class="option">--version</code>]]</p></div></div><div class="refsect1"><a name="idm45167098193616"></a><h2>Description</h2><p>The <span class="command"><strong>neon-config</strong></span> script provides
 information about an installed copy of the neon library.  The
 <code class="option">--cflags</code> and <code class="option">--libs</code> options instruct
 how to compile and link an application against the library; the
 <code class="option">--version</code> and <code class="option">--support</code> options can
 help determine whether the library meets the applications
-requirements.</p></div><div class="refsect1"><a name="idm45872384191312"></a><h2>Options</h2><div class="variablelist"><table border="0" class="variablelist"><colgroup><col align="left" valign="top"><col></colgroup><tbody><tr><td><p><span class="term"><code class="option">--cflags</code></span></p></td><td>Print the flags which should be passed to
+requirements.</p></div><div class="refsect1"><a name="idm45167098190112"></a><h2>Options</h2><div class="variablelist"><table border="0" class="variablelist"><colgroup><col align="left" valign="top"><col></colgroup><tbody><tr><td><p><span class="term"><code class="option">--cflags</code></span></p></td><td>Print the flags which should be passed to
 the C compiler when compiling object files, when the object files use
 neon header files.</td></tr><tr><td><p><span class="term"><code class="option">--libs</code></span></p></td><td>Print the flags which should be passed to
 the linker when linking an application which uses the neon

文件差异内容过多而无法显示
+ 0 - 0
libs/neon/doc/html/referr.html


+ 3 - 3
libs/neon/doc/html/reffeat.html

@@ -1,4 +1,4 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>ne_has_support</title><link rel="stylesheet" type="text/css" href="../manual.css"><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"><link rel="home" href="index.html" title="neon HTTP/WebDAV client library"><link rel="up" href="ref.html" title="neon API reference"><link rel="prev" href="refgetst.html" title="ne_get_status"><link rel="next" href="refi18n.html" title="ne_i18n_init"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">ne_has_support</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="refgetst.html">Prev</a> </td><th width="60%" align="center">neon API reference</th><td width="20%" align="right"> <a accesskey="n" href="refi18n.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="reffeat"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>ne_has_support — determine feature support status</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="funcsynopsis"><pre class="funcsynopsisinfo">#include &lt;ne_utils.h&gt;</pre><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">int <b class="fsfunc">ne_has_support</b>(</code></td><td>int <var class="pdparam">feature</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1"><a name="idm45872383704976"></a><h2>Description</h2><p>The <code class="function">ne_has_support</code> function can be used
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>ne_has_support</title><link rel="stylesheet" type="text/css" href="../manual.css"><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"><link rel="home" href="index.html" title="neon HTTP/WebDAV client library"><link rel="up" href="ref.html" title="neon API reference"><link rel="prev" href="refgetst.html" title="ne_get_status"><link rel="next" href="refi18n.html" title="ne_i18n_init"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">ne_has_support</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="refgetst.html">Prev</a> </td><th width="60%" align="center">neon API reference</th><td width="20%" align="right"> <a accesskey="n" href="refi18n.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="reffeat"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>ne_has_support — determine feature support status</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="funcsynopsis"><pre class="funcsynopsisinfo">#include &lt;ne_utils.h&gt;</pre><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">int <b class="fsfunc">ne_has_support</b>(</code></td><td>int <var class="pdparam">feature</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1"><a name="idm45167097703312"></a><h2>Description</h2><p>The <code class="function">ne_has_support</code> function can be used
     to determine whether a particular optional feature, given by the
     feature code <code class="parameter">feature</code>, is supported.  The
     following feature codes are available:
@@ -6,5 +6,5 @@
     </p><div class="variablelist"><table border="0" class="variablelist"><colgroup><col align="left" valign="top"><col></colgroup><tbody><tr><td><p><span class="term"><code class="constant">NE_FEATURE_SSL</code></span></p></td><td>Indicates support for SSL/TLS</td></tr><tr><td><p><span class="term"><code class="constant">NE_FEATURE_ZLIB</code></span></p></td><td>Indicates support for compressed responses</td></tr><tr><td><p><span class="term"><code class="constant">NE_FEATURE_IPV6</code></span></p></td><td>Indicates support for IPv6</td></tr><tr><td><p><span class="term"><code class="constant">NE_FEATURE_LFS</code></span></p></td><td>Indicates support for large files</td></tr><tr><td><p><span class="term"><code class="constant">NE_FEATURE_SOCKS</code></span></p></td><td>Indicates support for SOCKSv5</td></tr><tr><td><p><span class="term"><code class="constant">NE_FEATURE_TS_SSL</code></span></p></td><td>Indicates support for thread-safe SSL
           initialization — see <a class="xref" href="refsockinit.html#ne_sock_init">ne_sock_init</a></td></tr></tbody></table></div><p>
 
-    </p></div><div class="refsect1"><a name="idm45872383691712"></a><h2>Return value</h2><p><code class="function">ne_has_support</code> returns non-zero if 
-    the given feature is supported, or zero otherwise.</p></div><div class="refsect1"><a name="idm45872383690064"></a><h2>See also</h2><p><a class="xref" href="refvers.html" title="ne_version_match"><span class="refentrytitle">ne_version_match</span></a>, <a class="xref" href="refsockinit.html" title="ne_sock_init"><span class="refentrytitle">ne_sock_init</span></a></p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="refgetst.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ref.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="refi18n.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">ne_get_status </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> ne_i18n_init</td></tr></table></div></body></html>
+    </p></div><div class="refsect1"><a name="idm45167097690048"></a><h2>Return value</h2><p><code class="function">ne_has_support</code> returns non-zero if 
+    the given feature is supported, or zero otherwise.</p></div><div class="refsect1"><a name="idm45167097688400"></a><h2>See also</h2><p><a class="xref" href="refvers.html" title="ne_version_match"><span class="refentrytitle">ne_version_match</span></a>, <a class="xref" href="refsockinit.html" title="ne_sock_init"><span class="refentrytitle">ne_sock_init</span></a></p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="refgetst.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ref.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="refi18n.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">ne_get_status </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> ne_i18n_init</td></tr></table></div></body></html>

+ 2 - 2
libs/neon/doc/html/refgetst.html

@@ -1,10 +1,10 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>ne_get_status</title><link rel="stylesheet" type="text/css" href="../manual.css"><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"><link rel="home" href="index.html" title="neon HTTP/WebDAV client library"><link rel="up" href="ref.html" title="neon API reference"><link rel="prev" href="referr.html" title="ne_get_error"><link rel="next" href="reffeat.html" title="ne_has_support"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">ne_get_status</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="referr.html">Prev</a> </td><th width="60%" align="center">neon API reference</th><td width="20%" align="right"> <a accesskey="n" href="reffeat.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="refgetst"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>ne_get_status — retrieve HTTP response status for request</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="funcsynopsis"><pre class="funcsynopsisinfo">#include &lt;ne_request.h&gt;</pre><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">const ne_status *<b class="fsfunc">ne_get_status</b>(</code></td><td>const ne_request *<var class="pdparam">request</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1"><a name="idm45872383810960"></a><h2>Description</h2><p>The <code class="function">ne_get_status</code> function returns
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>ne_get_status</title><link rel="stylesheet" type="text/css" href="../manual.css"><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"><link rel="home" href="index.html" title="neon HTTP/WebDAV client library"><link rel="up" href="ref.html" title="neon API reference"><link rel="prev" href="referr.html" title="ne_get_error"><link rel="next" href="reffeat.html" title="ne_has_support"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">ne_get_status</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="referr.html">Prev</a> </td><th width="60%" align="center">neon API reference</th><td width="20%" align="right"> <a accesskey="n" href="reffeat.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="refgetst"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>ne_get_status — retrieve HTTP response status for request</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="funcsynopsis"><pre class="funcsynopsisinfo">#include &lt;ne_request.h&gt;</pre><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">const ne_status *<b class="fsfunc">ne_get_status</b>(</code></td><td>const ne_request *<var class="pdparam">request</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1"><a name="idm45167097809216"></a><h2>Description</h2><p>The <code class="function">ne_get_status</code> function returns
 a pointer to the HTTP status object giving the result of a request.
 The object returned only becomes valid once the request has been
 <span class="emphasis"><em>successfully</em></span> dispatched (the return value of
 <code class="function">ne_request_dispatch</code> or
 <code class="function">ne_begin_request</code> was zero).  The object remains
-valid until the associated request object is destroyed.</p></div><div class="refsect1"><a name="idm45872383734080"></a><h2>See also</h2><p><a class="xref" href="refstatus.html#ne_status">ne_status</a>, <a class="xref" href="refreq.html#ne_request_create">ne_request_create</a></p></div><div class="refsect1"><a name="idm45872383732192"></a><h2>Example</h2><p>Display the response status code of applying the
+valid until the associated request object is destroyed.</p></div><div class="refsect1"><a name="idm45167097732416"></a><h2>See also</h2><p><a class="xref" href="refstatus.html#ne_status">ne_status</a>, <a class="xref" href="refreq.html#ne_request_create">ne_request_create</a></p></div><div class="refsect1"><a name="idm45167097730528"></a><h2>Example</h2><p>Display the response status code of applying the
 <code class="literal">HEAD</code> method to some resource.</p><pre class="programlisting">ne_request *req = ne_request_create(sess, "HEAD", "/foo/bar");
 if (ne_request_dispatch(req))
    /* handle errors... */

+ 2 - 2
libs/neon/doc/html/refi18n.html

@@ -1,4 +1,4 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>ne_i18n_init</title><link rel="stylesheet" type="text/css" href="../manual.css"><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"><link rel="home" href="index.html" title="neon HTTP/WebDAV client library"><link rel="up" href="ref.html" title="neon API reference"><link rel="prev" href="reffeat.html" title="ne_has_support"><link rel="next" href="refiaddr.html" title="ne_iaddr_make"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">ne_i18n_init</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="reffeat.html">Prev</a> </td><th width="60%" align="center">neon API reference</th><td width="20%" align="right"> <a accesskey="n" href="refiaddr.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="refi18n"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>ne_i18n_init — functions to initialize internationalization support</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="funcsynopsis"><pre class="funcsynopsisinfo">#include &lt;ne_i18n.h&gt;</pre><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">void <b class="fsfunc">ne_i18n_init</b>(</code></td><td>const char *<var class="pdparam">encoding</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1"><a name="idm45872383653568"></a><h2>Description</h2><p>The <code class="function">ne_i18n_init</code> function can be used
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>ne_i18n_init</title><link rel="stylesheet" type="text/css" href="../manual.css"><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"><link rel="home" href="index.html" title="neon HTTP/WebDAV client library"><link rel="up" href="ref.html" title="neon API reference"><link rel="prev" href="reffeat.html" title="ne_has_support"><link rel="next" href="refiaddr.html" title="ne_iaddr_make"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">ne_i18n_init</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="reffeat.html">Prev</a> </td><th width="60%" align="center">neon API reference</th><td width="20%" align="right"> <a accesskey="n" href="refiaddr.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="refi18n"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>ne_i18n_init — functions to initialize internationalization support</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="funcsynopsis"><pre class="funcsynopsisinfo">#include &lt;ne_i18n.h&gt;</pre><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">void <b class="fsfunc">ne_i18n_init</b>(</code></td><td>const char *<var class="pdparam">encoding</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1"><a name="idm45167097651904"></a><h2>Description</h2><p>The <code class="function">ne_i18n_init</code> function can be used
     to enable support for translated messages in the neon library.
     The <code class="parameter">encoding</code> parameter, if non-<code class="literal">NULL</code>,
     specifies the character encoding required for generated translated
@@ -15,4 +15,4 @@
     will otherwise operate correctly.</p><p>Note that the encoding used is a process-global setting and
     so results may be unexpected if other users of neon within the
     process call <code class="function">ne_i18n_init</code> with a different
-    encoding parameter.</p></div><div class="refsect1"><a name="idm45872383644400"></a><h2>See also</h2><p><a class="xref" href="refsockinit.html#ne_sock_init">ne_sock_init</a></p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="reffeat.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ref.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="refiaddr.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">ne_has_support </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> ne_iaddr_make</td></tr></table></div></body></html>
+    encoding parameter.</p></div><div class="refsect1"><a name="idm45167097642736"></a><h2>See also</h2><p><a class="xref" href="refsockinit.html#ne_sock_init">ne_sock_init</a></p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="reffeat.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ref.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="refiaddr.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">ne_has_support </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> ne_iaddr_make</td></tr></table></div></body></html>

文件差异内容过多而无法显示
+ 0 - 0
libs/neon/doc/html/refiaddr.html


+ 15 - 14
libs/neon/doc/html/refneon.html

@@ -1,11 +1,11 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>neon</title><link rel="stylesheet" type="text/css" href="../manual.css"><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"><link rel="home" href="index.html" title="neon HTTP/WebDAV client library"><link rel="up" href="ref.html" title="neon API reference"><link rel="prev" href="ref.html" title="neon API reference"><link rel="next" href="refconfig.html" title="neon-config"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">neon</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ref.html">Prev</a> </td><th width="60%" align="center">neon API reference</th><td width="20%" align="right"> <a accesskey="n" href="refconfig.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="refneon"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>neon — HTTP and WebDAV client library</p></div><div class="refsect1"><a name="idm45872384385456"></a><h2>Description</h2><p>neon is an HTTP and WebDAV client library.  The major
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>neon</title><link rel="stylesheet" type="text/css" href="../manual.css"><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"><link rel="home" href="index.html" title="neon HTTP/WebDAV client library"><link rel="up" href="ref.html" title="neon API reference"><link rel="prev" href="ref.html" title="neon API reference"><link rel="next" href="refconfig.html" title="neon-config"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">neon</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ref.html">Prev</a> </td><th width="60%" align="center">neon API reference</th><td width="20%" align="right"> <a accesskey="n" href="refconfig.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="refneon"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>neon — HTTP and WebDAV client library</p></div><div class="refsect1"><a name="idm45167098385408"></a><h2>Description</h2><p>neon is an HTTP and WebDAV client library.  The major
     abstractions exposed are the HTTP <span class="emphasis"><em>session</em></span>,
     created by <a class="xref" href="refsess.html#ne_session_create">ne_session_create</a>; and the HTTP
     <span class="emphasis"><em>request</em></span>, created by <a class="xref" href="refreq.html#ne_request_create">ne_request_create</a>.  HTTP authentication is handled
     transparently for server and proxy servers, see <a class="xref" href="refauth.html#ne_set_server_auth">ne_set_server_auth</a>; complete SSL/TLS support is also
-    included, see <a class="xref" href="refsslvfy.html#ne_ssl_set_verify">ne_ssl_set_verify</a>.</p></div><div class="refsect1"><a name="idm45872384345680"></a><h2>Conventions</h2><p>Some conventions are used throughout the neon API, to
+    included, see <a class="xref" href="refsslvfy.html#ne_ssl_set_verify">ne_ssl_set_verify</a>.</p></div><div class="refsect1"><a name="idm45167098345584"></a><h2>Conventions</h2><p>Some conventions are used throughout the neon API, to
     provide a consistent and simple interface; these are documented
-    below.</p><div class="refsect2"><a name="idm45872384344512"></a><h3>Thread-safeness and global initialization</h3><p>neon itself is implemented to be thread-safe (avoiding any
+    below.</p><div class="refsect2"><a name="idm45167098344416"></a><h3>Thread-safeness and global initialization</h3><p>neon itself is implemented to be thread-safe (avoiding any
     use of global state), but relies on the operating system providing
     a thread-safe resolver interface.  Modern operating systems offer
     the thread-safe <code class="function">getaddrinfo</code> interface, which
@@ -35,11 +35,11 @@
     (and <a class="xref" href="refsockinit.html#ne_sock_exit">ne_sock_exit</a>); neon neither checks whether
     these functions are called nor calls them itself.</p><p>For some applications and configurations it may be necessary
     to call <a class="xref" href="refi18n.html#ne_i18n_init">ne_i18n_init</a> to initialize the support
-    for internationalization in neon.</p></div><div class="refsect2"><a name="idm45872384324016"></a><h3>Asynchronous signal safety</h3><p>No function in neon is defined to be <span class="quote">“<span class="quote">async-signal safe</span>”</span> -
+    for internationalization in neon.</p></div><div class="refsect2"><a name="idm45167098323856"></a><h3>Asynchronous signal safety</h3><p>No function in neon is defined to be <span class="quote">“<span class="quote">async-signal safe</span>”</span> -
     that is, no function is safe to call from a signal handler.  Any
     call into the neon library from a signal handler will have
     undefined behaviour - in other words, it may crash the
-    process.</p></div><div class="refsect2"><a name="idm45872384322144"></a><h3>Functions using global state</h3><p>Any function in neon may modify the
+    process.</p></div><div class="refsect2"><a name="idm45167098321984"></a><h3>Functions using global state</h3><p>Any function in neon may modify the
     <code class="literal">errno</code> global variable as a side-effect.  Except
     where explicitly documented, the value of <code class="literal">errno</code>
     is unspecified after any neon function call.</p><p>Other than in the use of <code class="literal">errno</code>, the only
@@ -51,7 +51,7 @@
       <code class="function">ne_debug</code>, if enabled at compile time; for
       debugging output</li><li class="listitem"><a class="xref" href="refalloc.html#ne_oom_callback">ne_oom_callback</a> for
       installing a process-global callback to be invoked on
-      <code class="function">malloc</code> failure</li></ul></div></div><div class="refsect2"><a name="idm45872384313200"></a><h3>Namespaces</h3><p>To avoid possible collisions between names used for symbols
+      <code class="function">malloc</code> failure</li></ul></div></div><div class="refsect2"><a name="idm45167098313040"></a><h3>Namespaces</h3><p>To avoid possible collisions between names used for symbols
     and preprocessor macros by an application and the libraries it
     uses, it is good practice for each library to reserve a particular
     <span class="emphasis"><em>namespace prefix</em></span>.  An application which
@@ -72,7 +72,7 @@
         dependencies thereof)</td></tr><tr><td><p><span class="term">XML_, Xml[A-Z]</span></p></td><td>Namespaces
 	used by the expat library.</td></tr><tr><td><p><span class="term">xml[A-Z], html[A-Z], docb[A-Z]</span></p></td><td>Namespaces used by the libxml2 library; a
 	relatively small number of symbols are used without these
-	prefixes.</td></tr><tr><td><p><span class="term">inflate, deflate, crc32, compress, uncompres, adler32,
+	prefixes.</td></tr><tr><td><p><span class="term">inflate, deflate, crc32, compress, uncompress, adler32,
         zlib</span></p></td><td>Namespaces used by the zlib library; a
 	relatively small number of symbols are used without these
 	prefixes.</td></tr><tr><td><p><span class="term">krb5, gss, GSS, asn1, decode_krb5, encode_krb5, profile,
@@ -80,28 +80,28 @@
         library and dependencies thereof; a number of symbols lie
         outside these prefixes.</td></tr><tr><td><p><span class="term">pakchois_</span></p></td><td>Namespace used by the pakchois 
          library.</td></tr><tr><td><p><span class="term">px_</span></p></td><td>Namespace used by the libproxy
-         library.</td></tr></tbody></table></div></div><div class="refsect2"><a name="idm45872384297600"></a><h3>Argument validation</h3><p>neon does not attempt to validate that the parameters
+         library.</td></tr></tbody></table></div></div><div class="refsect2"><a name="idm45167098297440"></a><h3>Argument validation</h3><p>neon does not attempt to validate that the parameters
     passed to functions conform to the API (for instance, checking
     that pointer arguments are not <code class="literal">NULL</code>).  Any use of the neon API
     which is not documented to produce a certain behaviour results is
     said to produce <span class="emphasis"><em>undefined behaviour</em></span>; it is
-    likely that neon will segfault under these conditions.</p></div><div class="refsect2"><a name="idm45872384294384"></a><h3>URI paths, WebDAV metadata</h3><p>The path strings passed to any function must be
+    likely that neon will segfault under these conditions.</p></div><div class="refsect2"><a name="idm45167098294224"></a><h3>URI paths, WebDAV metadata</h3><p>The path strings passed to any function must be
     <span class="emphasis"><em>URI-encoded</em></span> by the application; neon never
     performs any URI encoding or decoding internally.  WebDAV property
     names and values must be valid UTF-8 encoded Unicode
-    strings.</p></div><div class="refsect2"><a name="idm45872384291856"></a><h3>User interaction</h3><p>As a pure library interface, neon will never produce
+    strings.</p></div><div class="refsect2"><a name="idm45167098291696"></a><h3>User interaction</h3><p>As a pure library interface, neon will never produce
     output on <code class="constant">stdout</code> or
     <code class="constant">stderr</code>; all user interaction is the
-    responsibilty of the application.</p></div><div class="refsect2"><a name="idm45872384289744"></a><h3>Memory handling</h3><p>neon does not attempt to cope gracefully with an
+    responsibility of the application.</p></div><div class="refsect2"><a name="idm45167098289584"></a><h3>Memory handling</h3><p>neon does not attempt to cope gracefully with an
     out-of-memory situation; instead, by default, the
     <code class="function">abort</code> function is called to immediately
     terminate the process.  An application may register a custom
     function which will be called before <code class="function">abort</code> in
-    such a situation; see <a class="xref" href="refalloc.html#ne_oom_callback">ne_oom_callback</a>.</p></div><div class="refsect2"><a name="idm45872384286224"></a><h3>Callbacks and userdata</h3><p>Whenever a callback is registered, a
+    such a situation; see <a class="xref" href="refalloc.html#ne_oom_callback">ne_oom_callback</a>.</p></div><div class="refsect2"><a name="idm45167098286064"></a><h3>Callbacks and userdata</h3><p>Whenever a callback is registered, a
     <code class="literal">userdata</code> pointer is also used to allow the
     application to associate a context with the callback.  The
     userdata is of type <em class="type">void *</em>, allowing any pointer to
-    be used.</p></div><div class="refsect2"><a name="idm45872384283664"></a><h3>Large File Support</h3><p>Since version 0.27.0, neon transparently uses the "LFS
+    be used.</p></div><div class="refsect2"><a name="idm45167098283504"></a><h3>Large File Support</h3><p>Since version 0.27.0, neon transparently uses the "LFS
     transitional" interfaces in functions which use file descriptors.
     This allows use of files larger than 2GiB on platforms with a
     native 32-bit <code class="literal">off_t</code> type, where LFS support is
@@ -109,4 +109,5 @@
     type, which is defined to be either <code class="literal">off_t</code> or
     <code class="literal">off64_t</code> according to whether LFS support is
     detected at build time.  neon does not use or require the
-    <code class="literal">-D_FILE_OFFSET_BITS=64</code> macro definition.</p></div></div><div class="refsect1"><a name="idm45872384278544"></a><h2>See also</h2><p><a class="xref" href="refsess.html" title="ne_session_create"><span class="refentrytitle">ne_session_create</span></a>, <a class="xref" href="refalloc.html#ne_oom_callback">ne_oom_callback</a></p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ref.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ref.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="refconfig.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">neon API reference </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> neon-config</td></tr></table></div></body></html>
+    <code class="literal">-D_FILE_OFFSET_BITS=64</code> macro definition.</p></div></div><div class="refsect1"><a name="idm45167098278384"></a><h2>See also</h2><p><a class="xref" href="refsess.html" title="ne_session_create"><span class="refentrytitle">ne_session_create</span></a>, <a class="xref" href="refalloc.html#ne_oom_callback">ne_oom_callback</a>,
+    <a class="ulink" href="https://notroj.github.io/neon/" target="_top">https://notroj.github.io/neon/</a></p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ref.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ref.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="refconfig.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">neon API reference </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> neon-config</td></tr></table></div></body></html>

文件差异内容过多而无法显示
+ 0 - 0
libs/neon/doc/html/refopts.html


文件差异内容过多而无法显示
+ 0 - 0
libs/neon/doc/html/refproxy.html


文件差异内容过多而无法显示
+ 0 - 0
libs/neon/doc/html/refreq.html


文件差异内容过多而无法显示
+ 0 - 0
libs/neon/doc/html/refreqbody.html


文件差异内容过多而无法显示
+ 0 - 0
libs/neon/doc/html/refreqflags.html


文件差异内容过多而无法显示
+ 0 - 0
libs/neon/doc/html/refreqhdr.html


文件差异内容过多而无法显示
+ 0 - 0
libs/neon/doc/html/refresolve.html


文件差异内容过多而无法显示
+ 0 - 0
libs/neon/doc/html/refresphdr.html


文件差异内容过多而无法显示
+ 0 - 0
libs/neon/doc/html/refsess.html


文件差异内容过多而无法显示
+ 0 - 0
libs/neon/doc/html/refsessflags.html


+ 2 - 2
libs/neon/doc/html/refshave.html

@@ -1,7 +1,7 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>ne_shave</title><link rel="stylesheet" type="text/css" href="../manual.css"><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"><link rel="home" href="index.html" title="neon HTTP/WebDAV client library"><link rel="up" href="ref.html" title="neon API reference"><link rel="prev" href="refauth.html" title="ne_set_server_auth"><link rel="next" href="refsockinit.html" title="ne_sock_init"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">ne_shave</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="refauth.html">Prev</a> </td><th width="60%" align="center">neon API reference</th><td width="20%" align="right"> <a accesskey="n" href="refsockinit.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="refshave"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>ne_shave — trim whitespace from a string</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="funcsynopsis"><pre class="funcsynopsisinfo">#include &lt;ne_string.h&gt;</pre><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">char *<b class="fsfunc">ne_shave</b>(</code></td><td>char *<var class="pdparam">str</var>, </td></tr><tr><td> </td><td>const char *<var class="pdparam">whitespace</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1"><a name="idm45872382642288"></a><h2>Description</h2><p><code class="function">ne_shave</code> returns a portion of
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>ne_shave</title><link rel="stylesheet" type="text/css" href="../manual.css"><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"><link rel="home" href="index.html" title="neon HTTP/WebDAV client library"><link rel="up" href="ref.html" title="neon API reference"><link rel="prev" href="refauth.html" title="ne_set_server_auth"><link rel="next" href="refsockinit.html" title="ne_sock_init"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">ne_shave</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="refauth.html">Prev</a> </td><th width="60%" align="center">neon API reference</th><td width="20%" align="right"> <a accesskey="n" href="refsockinit.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="refshave"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>ne_shave — trim whitespace from a string</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="funcsynopsis"><pre class="funcsynopsisinfo">#include &lt;ne_string.h&gt;</pre><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">char *<b class="fsfunc">ne_shave</b>(</code></td><td>char *<var class="pdparam">str</var>, </td></tr><tr><td> </td><td>const char *<var class="pdparam">whitespace</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1"><a name="idm45167096639136"></a><h2>Description</h2><p><code class="function">ne_shave</code> returns a portion of
 <code class="parameter">str</code> with any leading or trailing characters in
 the <code class="parameter">whitespace</code> array removed.
 <code class="parameter">str</code> may be modified.  Note that the return
-value may not be equal to <code class="parameter">str</code>.</p></div><div class="refsect1"><a name="idm45872382638144"></a><h2>Examples</h2><p>The following code segment will output
+value may not be equal to <code class="parameter">str</code>.</p></div><div class="refsect1"><a name="idm45167096634992"></a><h2>Examples</h2><p>The following code segment will output
 	<code class="literal">"fish"</code>:</p><pre class="programlisting">char s[] = ".!.fish!.!";
 puts(ne_shave(s, ".!"));</pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="refauth.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ref.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="refsockinit.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">ne_set_server_auth </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> ne_sock_init</td></tr></table></div></body></html>

+ 5 - 5
libs/neon/doc/html/refsockinit.html

@@ -1,4 +1,4 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>ne_sock_init</title><link rel="stylesheet" type="text/css" href="../manual.css"><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"><link rel="home" href="index.html" title="neon HTTP/WebDAV client library"><link rel="up" href="ref.html" title="neon API reference"><link rel="prev" href="refshave.html" title="ne_shave"><link rel="next" href="refcert.html" title="ne_ssl_cert_identity"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">ne_sock_init</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="refshave.html">Prev</a> </td><th width="60%" align="center">neon API reference</th><td width="20%" align="right"> <a accesskey="n" href="refcert.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="refsockinit"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>ne_sock_init, ne_sock_exit — perform library initialization</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="funcsynopsis"><pre class="funcsynopsisinfo">#include &lt;ne_socket.h&gt;</pre><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">int <b class="fsfunc">ne_sock_init</b>(</code></td><td><code>void)</code>;</td><td> </td></tr></table><div class="funcprototype-spacer"> </div><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">void <b class="fsfunc">ne_sock_exit</b>(</code></td><td><code>void)</code>;</td><td> </td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1"><a name="idm45872382610400"></a><h2>Description</h2><p>In some platforms and configurations, neon may be using
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>ne_sock_init</title><link rel="stylesheet" type="text/css" href="../manual.css"><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"><link rel="home" href="index.html" title="neon HTTP/WebDAV client library"><link rel="up" href="ref.html" title="neon API reference"><link rel="prev" href="refshave.html" title="ne_shave"><link rel="next" href="refcert.html" title="ne_ssl_cert_identity"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">ne_sock_init</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="refshave.html">Prev</a> </td><th width="60%" align="center">neon API reference</th><td width="20%" align="right"> <a accesskey="n" href="refcert.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="refsockinit"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>ne_sock_init, ne_sock_exit — perform library initialization</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="funcsynopsis"><pre class="funcsynopsisinfo">#include &lt;ne_socket.h&gt;</pre><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">int <b class="fsfunc">ne_sock_init</b>(</code></td><td><code>void)</code>;</td><td> </td></tr></table><div class="funcprototype-spacer"> </div><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">void <b class="fsfunc">ne_sock_exit</b>(</code></td><td><code>void)</code>;</td><td> </td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1"><a name="idm45167096607504"></a><h2>Description</h2><p>In some platforms and configurations, neon may be using
     some socket or SSL libraries which require global initialization
     before use.  To perform this initialization, the
     <code class="function">ne_sock_init</code> function must be called before
@@ -25,7 +25,7 @@
     section.  Otherwise, it is not safe to use neon with SSL in a
     multi-threaded process.  The <a class="xref" href="reffeat.html#ne_has_support">ne_has_support</a>
     function can be used to determine whether neon is built to
-    enable thread-safety support in the SSL library.</p><div class="refsect2"><a name="idm45872382598928"></a><h3>Thread-safe SSL with OpenSSL</h3><p>neon follows two simple rules when dealing with the
+    enable thread-safety support in the SSL library.</p><div class="refsect2"><a name="idm45167096596032"></a><h3>Thread-safe SSL with OpenSSL</h3><p>neon follows two simple rules when dealing with the
       OpenSSL locking callbacks:
 
       </p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><code class="function">ne_sock_init</code> will set
@@ -37,7 +37,7 @@
 
       Applications and libraries should be able to co-operate to
       ensure that SSL use is always thread-safe if similar rules are
-      always followed.</p></div><div class="refsect2"><a name="idm45872382594336"></a><h3>Thread-safe SSL with GnuTLS</h3><p>The cryptography library used by GnuTLS, libgcrypt, only
+      always followed.</p></div><div class="refsect2"><a name="idm45167096591440"></a><h3>Thread-safe SSL with GnuTLS</h3><p>The cryptography library used by GnuTLS, libgcrypt, only
       supports an initialization operation to register thread-safety
       callbacks.  <code class="function">ne_sock_init</code> will register the
       thread-safe locking callbacks on first use;
@@ -46,6 +46,6 @@
       unsafe to dynamically unload neon from the process if neon
       is configured with thread-safe SSL support enabled (since the
       callbacks would be left pointing at unmapped memory once neon
-      is unloaded).</p></div></div><div class="refsect1"><a name="idm45872382591168"></a><h2>Return value</h2><p><code class="function">ne_sock_init</code> returns zero on success,
+      is unloaded).</p></div></div><div class="refsect1"><a name="idm45167096588176"></a><h2>Return value</h2><p><code class="function">ne_sock_init</code> returns zero on success,
     or non-zero on error.  If an error occurs, no further use of the
-    neon library should be attempted.</p></div><div class="refsect1"><a name="idm45872382589264"></a><h2>See also</h2><p><a class="xref" href="refneon.html" title="neon"><span class="refentrytitle">neon</span></a>, <a class="xref" href="reffeat.html" title="ne_has_support"><span class="refentrytitle">ne_has_support</span></a></p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="refshave.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ref.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="refcert.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">ne_shave </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> ne_ssl_cert_identity</td></tr></table></div></body></html>
+    neon library should be attempted.</p></div><div class="refsect1"><a name="idm45167096586272"></a><h2>See also</h2><p><a class="xref" href="refneon.html" title="neon"><span class="refentrytitle">neon</span></a>, <a class="xref" href="reffeat.html" title="ne_has_support"><span class="refentrytitle">ne_has_support</span></a></p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="refshave.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ref.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="refcert.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">ne_shave </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> ne_ssl_cert_identity</td></tr></table></div></body></html>

文件差异内容过多而无法显示
+ 0 - 0
libs/neon/doc/html/refsslca.html


文件差异内容过多而无法显示
+ 0 - 0
libs/neon/doc/html/refsslcert2.html


文件差异内容过多而无法显示
+ 0 - 0
libs/neon/doc/html/refsslcertio.html


文件差异内容过多而无法显示
+ 0 - 0
libs/neon/doc/html/refssldname.html


文件差异内容过多而无法显示
+ 0 - 0
libs/neon/doc/html/refsslvfy.html


+ 3 - 3
libs/neon/doc/html/refstatus.html

@@ -4,7 +4,7 @@ typedef struct {
     int major_version, minor_version;
     int code, klass;
     const char *reason_phrase;
-} <em class="type">ne_status</em>;</pre></div></div><div class="refsect1"><a name="idm45872382119280"></a><h2>Description</h2><p>An <em class="type">ne_status</em> type represents an HTTP
+} <em class="type">ne_status</em>;</pre></div></div><div class="refsect1"><a name="idm45167096115568"></a><h2>Description</h2><p>An <em class="type">ne_status</em> type represents an HTTP
 response status; used in response messages giving a result of request.
 The <em class="structfield"><code>major_version</code></em> and
 <em class="structfield"><code>minor_version</code></em> fields give the HTTP version
@@ -12,11 +12,11 @@ supported by the server issuing the response.  The
 <em class="structfield"><code>code</code></em> field gives the status code of the
 result (lying between 100 and 999 inclusive), and the
 <em class="structfield"><code>klass</code></em> field gives the
-class<a href="#ftn.idm45872382116240" class="footnote" name="idm45872382116240"><sup class="footnote">[2]</sup></a>, which is equal to the most significant digit
+class<a href="#ftn.idm45167096112528" class="footnote" name="idm45167096112528"><sup class="footnote">[2]</sup></a>, which is equal to the most significant digit
 of the status.</p><p>There are five classes of HTTP status code defined by
 	RFC2616:</p><div class="variablelist"><table border="0" class="variablelist"><colgroup><col align="left" valign="top"><col></colgroup><tbody><tr><td><p><span class="term"><code class="literal">1xx</code></span></p></td><td>Informational response.</td></tr><tr><td><p><span class="term"><code class="literal">2xx</code></span></p></td><td>Success: the operation was successful</td></tr><tr><td><p><span class="term"><code class="literal">3xx</code></span></p></td><td>Redirection</td></tr><tr><td><p><span class="term"><code class="literal">4xx</code></span></p></td><td>Client
 	    error: the request made was incorrect in some
-	    manner.</td></tr><tr><td><p><span class="term"><code class="literal">5xx</code></span></p></td><td>Server error</td></tr></tbody></table></div></div><div class="refsect1"><a name="idm45872382105152"></a><h2>See also</h2><p><a class="xref" href="refgetst.html#ne_get_status">ne_get_status</a>.</p></div><div class="footnotes"><br><hr style="width:100; text-align:left;margin-left: 0"><div id="ftn.idm45872382116240" class="footnote"><p><a href="#idm45872382116240" class="para"><sup class="para">[2] </sup></a>the field is named <span class="quote">“<span class="quote">klass</span>”</span> not
+	    manner.</td></tr><tr><td><p><span class="term"><code class="literal">5xx</code></span></p></td><td>Server error</td></tr></tbody></table></div></div><div class="refsect1"><a name="idm45167096101360"></a><h2>See also</h2><p><a class="xref" href="refgetst.html#ne_get_status">ne_get_status</a>.</p></div><div class="footnotes"><br><hr style="width:100; text-align:left;margin-left: 0"><div id="ftn.idm45167096112528" class="footnote"><p><a href="#idm45167096112528" class="para"><sup class="para">[2] </sup></a>the field is named <span class="quote">“<span class="quote">klass</span>”</span> not
 <span class="quote">“<span class="quote">class</span>”</span> so that the header can be used from a C++
 program, in which <span class="quote">“<span class="quote">class</span>”</span> is a reserved
 word)</p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="refclicert.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ref.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="reftok.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">ne_ssl_client_cert </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> ne_token</td></tr></table></div></body></html>

文件差异内容过多而无法显示
+ 0 - 0
libs/neon/doc/html/reftok.html


文件差异内容过多而无法显示
+ 0 - 0
libs/neon/doc/html/refvers.html


文件差异内容过多而无法显示
+ 0 - 0
libs/neon/doc/html/refxml.html


+ 5 - 5
libs/neon/doc/html/security.html

@@ -4,7 +4,7 @@
   application) can be tricked into accessing an HTTP server which is
   controlled by an attacker.  This section documents various types of
   possible attack and describes what mitigation is used in
-  neon.</p><div class="sect2"><div class="titlepage"><div><div><h3 class="title"><a name="idm45872389997936"></a>CPU or memory consumption attacks</h3></div></div></div><p>neon uses fixed resource limits to prevent the following
+  neon.</p><div class="sect2"><div class="titlepage"><div><div><h3 class="title"><a name="idm45167104003792"></a>CPU or memory consumption attacks</h3></div></div></div><p>neon uses fixed resource limits to prevent the following
     attacks:</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>memory/CPU consumption attack using an unbounded number
         of response header fields</p></li><li class="listitem"><p>memory consumption attack using an unbounded length of
         individual response header lines (or continuation
@@ -17,13 +17,13 @@
     must be mitigated at application level.  Memory consumption in
     neon itself is fixed and is not proportional to the response
     size.</p><p>Test cases for all the above attacks are present in the
-    neon test suite.</p></div><div class="sect2"><div class="titlepage"><div><div><h3 class="title"><a name="idm45872384518368"></a>SSL/TLS connection security</h3></div></div></div><p>When using a connection secured by SSL/TLS, it is necessary
+    neon test suite.</p></div><div class="sect2"><div class="titlepage"><div><div><h3 class="title"><a name="idm45167103995408"></a>SSL/TLS connection security</h3></div></div></div><p>When using a connection secured by SSL/TLS, it is necessary
     for clients to verify that the X.509 certificate presented by the
     server matches the server's expected identity.  The algorithm
     required for this purpose is described in RFC 2818 and RFC 3280,
     and is implemented by neon in the following manner:</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>the hostname argument passed to <a class="xref" href="refsess.html#ne_session_create">ne_session_create</a> is the expected identity of the
         server</p></li><li class="listitem"><p>the subjectAltName extension of the certificate is used
-        for comparision against the expected identity, in preference
+        for comparison against the expected identity, in preference
         to the Subject name's commonName attribute.</p></li><li class="listitem"><p>the dNSName, iPAddress, and uniformResourceIdentifier
         classes of GeneralName are supported in subjectAltName
         comparison.</p></li><li class="listitem"><p>if no subjectAltName is present in the certificate, the
@@ -35,14 +35,14 @@
     present the certificate details to a user for manual/off-line
     verification, if possible.</p><p>Test cases for the correctness of the implementation of the
     identity verification algorithm are present in the neon test
-    suite.</p></div><div class="sect2"><div class="titlepage"><div><div><h3 class="title"><a name="idm45872384510576"></a>Control character insertion in error messages</h3></div></div></div><p>Where error messages (as returned by
+    suite.</p></div><div class="sect2"><div class="titlepage"><div><div><h3 class="title"><a name="idm45167098510576"></a>Control character insertion in error messages</h3></div></div></div><p>Where error messages (as returned by
     (<a class="xref" href="referr.html#ne_get_error">ne_get_error</a>) contain data supplied by the
     server, the untrusted data is sanitised to remove both control
     characters and non-ASCII characters.  This prevents any attacks
     where such error messages are exposed to the user and can
     potentially distort the presentation of the interface (for
     example, through the use of a carriage return character in a text
-    user interface).</p></div><div class="sect2"><div class="titlepage"><div><div><h3 class="title"><a name="idm45872384508528"></a>Attacks against authentication credentials</h3></div></div></div><p>Authentication credentials can be compromised by a
+    user interface).</p></div><div class="sect2"><div class="titlepage"><div><div><h3 class="title"><a name="idm45167098508528"></a>Attacks against authentication credentials</h3></div></div></div><p>Authentication credentials can be compromised by a
     "downgrade attack" by an active attacker; for example, where a
     MITM presents a Basic authentication challenge in place of the
     server's Digest challenge.  neon mitigates these attacks by

+ 3 - 3
libs/neon/doc/man/ne_add_request_header.3

@@ -2,12 +2,12 @@
 .\"     Title: ne_add_request_header
 .\"    Author: 
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 11 March 2020
+.\"      Date: 17 April 2020
 .\"    Manual: neon API reference
-.\"    Source: neon 0.31.0
+.\"    Source: neon 0.31.1
 .\"  Language: English
 .\"
-.TH "NE_ADD_REQUEST_HEADE" "3" "11 March 2020" "neon 0.31.0" "neon API reference"
+.TH "NE_ADD_REQUEST_HEADE" "3" "17 April 2020" "neon 0.31.1" "neon API reference"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------

+ 3 - 3
libs/neon/doc/man/ne_addr_resolve.3

@@ -2,12 +2,12 @@
 .\"     Title: ne_addr_resolve
 .\"    Author: 
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 11 March 2020
+.\"      Date: 17 April 2020
 .\"    Manual: neon API reference
-.\"    Source: neon 0.31.0
+.\"    Source: neon 0.31.1
 .\"  Language: English
 .\"
-.TH "NE_ADDR_RESOLVE" "3" "11 March 2020" "neon 0.31.0" "neon API reference"
+.TH "NE_ADDR_RESOLVE" "3" "17 April 2020" "neon 0.31.1" "neon API reference"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------

+ 3 - 3
libs/neon/doc/man/ne_buffer.3

@@ -2,12 +2,12 @@
 .\"     Title: ne_buffer
 .\"    Author: 
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 11 March 2020
+.\"      Date: 17 April 2020
 .\"    Manual: neon API reference
-.\"    Source: neon 0.31.0
+.\"    Source: neon 0.31.1
 .\"  Language: English
 .\"
-.TH "NE_BUFFER" "3" "11 March 2020" "neon 0.31.0" "neon API reference"
+.TH "NE_BUFFER" "3" "17 April 2020" "neon 0.31.1" "neon API reference"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------

+ 3 - 3
libs/neon/doc/man/ne_buffer_append.3

@@ -2,12 +2,12 @@
 .\"     Title: ne_buffer_append
 .\"    Author: 
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 11 March 2020
+.\"      Date: 17 April 2020
 .\"    Manual: neon API reference
-.\"    Source: neon 0.31.0
+.\"    Source: neon 0.31.1
 .\"  Language: English
 .\"
-.TH "NE_BUFFER_APPEND" "3" "11 March 2020" "neon 0.31.0" "neon API reference"
+.TH "NE_BUFFER_APPEND" "3" "17 April 2020" "neon 0.31.1" "neon API reference"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------

+ 3 - 3
libs/neon/doc/man/ne_buffer_clear.3

@@ -2,12 +2,12 @@
 .\"     Title: ne_buffer_clear
 .\"    Author: 
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 11 March 2020
+.\"      Date: 17 April 2020
 .\"    Manual: neon API reference
-.\"    Source: neon 0.31.0
+.\"    Source: neon 0.31.1
 .\"  Language: English
 .\"
-.TH "NE_BUFFER_CLEAR" "3" "11 March 2020" "neon 0.31.0" "neon API reference"
+.TH "NE_BUFFER_CLEAR" "3" "17 April 2020" "neon 0.31.1" "neon API reference"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------

+ 3 - 3
libs/neon/doc/man/ne_buffer_create.3

@@ -2,12 +2,12 @@
 .\"     Title: ne_buffer_create
 .\"    Author: 
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 11 March 2020
+.\"      Date: 17 April 2020
 .\"    Manual: neon API reference
-.\"    Source: neon 0.31.0
+.\"    Source: neon 0.31.1
 .\"  Language: English
 .\"
-.TH "NE_BUFFER_CREATE" "3" "11 March 2020" "neon 0.31.0" "neon API reference"
+.TH "NE_BUFFER_CREATE" "3" "17 April 2020" "neon 0.31.1" "neon API reference"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------

+ 3 - 3
libs/neon/doc/man/ne_buffer_destroy.3

@@ -2,12 +2,12 @@
 .\"     Title: ne_buffer_destroy
 .\"    Author: 
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 11 March 2020
+.\"      Date: 17 April 2020
 .\"    Manual: neon API reference
-.\"    Source: neon 0.31.0
+.\"    Source: neon 0.31.1
 .\"  Language: English
 .\"
-.TH "NE_BUFFER_DESTROY" "3" "11 March 2020" "neon 0.31.0" "neon API reference"
+.TH "NE_BUFFER_DESTROY" "3" "17 April 2020" "neon 0.31.1" "neon API reference"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------

+ 3 - 3
libs/neon/doc/man/ne_get_error.3

@@ -2,12 +2,12 @@
 .\"     Title: ne_get_error
 .\"    Author: 
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 11 March 2020
+.\"      Date: 17 April 2020
 .\"    Manual: neon API reference
-.\"    Source: neon 0.31.0
+.\"    Source: neon 0.31.1
 .\"  Language: English
 .\"
-.TH "NE_GET_ERROR" "3" "11 March 2020" "neon 0.31.0" "neon API reference"
+.TH "NE_GET_ERROR" "3" "17 April 2020" "neon 0.31.1" "neon API reference"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------

+ 3 - 3
libs/neon/doc/man/ne_get_response_header.3

@@ -2,12 +2,12 @@
 .\"     Title: ne_get_response_header
 .\"    Author: 
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 11 March 2020
+.\"      Date: 17 April 2020
 .\"    Manual: neon API reference
-.\"    Source: neon 0.31.0
+.\"    Source: neon 0.31.1
 .\"  Language: English
 .\"
-.TH "NE_GET_RESPONSE_HEAD" "3" "11 March 2020" "neon 0.31.0" "neon API reference"
+.TH "NE_GET_RESPONSE_HEAD" "3" "17 April 2020" "neon 0.31.1" "neon API reference"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------

+ 3 - 3
libs/neon/doc/man/ne_get_status.3

@@ -2,12 +2,12 @@
 .\"     Title: ne_get_status
 .\"    Author: 
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 11 March 2020
+.\"      Date: 17 April 2020
 .\"    Manual: neon API reference
-.\"    Source: neon 0.31.0
+.\"    Source: neon 0.31.1
 .\"  Language: English
 .\"
-.TH "NE_GET_STATUS" "3" "11 March 2020" "neon 0.31.0" "neon API reference"
+.TH "NE_GET_STATUS" "3" "17 April 2020" "neon 0.31.1" "neon API reference"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------

+ 3 - 3
libs/neon/doc/man/ne_has_support.3

@@ -2,12 +2,12 @@
 .\"     Title: ne_has_support
 .\"    Author: 
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 11 March 2020
+.\"      Date: 17 April 2020
 .\"    Manual: neon API reference
-.\"    Source: neon 0.31.0
+.\"    Source: neon 0.31.1
 .\"  Language: English
 .\"
-.TH "NE_HAS_SUPPORT" "3" "11 March 2020" "neon 0.31.0" "neon API reference"
+.TH "NE_HAS_SUPPORT" "3" "17 April 2020" "neon 0.31.1" "neon API reference"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------

+ 3 - 3
libs/neon/doc/man/ne_i18n_init.3

@@ -2,12 +2,12 @@
 .\"     Title: ne_i18n_init
 .\"    Author: 
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 11 March 2020
+.\"      Date: 17 April 2020
 .\"    Manual: neon API reference
-.\"    Source: neon 0.31.0
+.\"    Source: neon 0.31.1
 .\"  Language: English
 .\"
-.TH "NE_I18N_INIT" "3" "11 March 2020" "neon 0.31.0" "neon API reference"
+.TH "NE_I18N_INIT" "3" "17 April 2020" "neon 0.31.1" "neon API reference"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------

+ 3 - 3
libs/neon/doc/man/ne_iaddr_make.3

@@ -2,12 +2,12 @@
 .\"     Title: ne_iaddr_make
 .\"    Author: 
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 11 March 2020
+.\"      Date: 17 April 2020
 .\"    Manual: neon API reference
-.\"    Source: neon 0.31.0
+.\"    Source: neon 0.31.1
 .\"  Language: English
 .\"
-.TH "NE_IADDR_MAKE" "3" "11 March 2020" "neon 0.31.0" "neon API reference"
+.TH "NE_IADDR_MAKE" "3" "17 April 2020" "neon 0.31.1" "neon API reference"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------

+ 3 - 3
libs/neon/doc/man/ne_malloc.3

@@ -2,12 +2,12 @@
 .\"     Title: ne_malloc
 .\"    Author: 
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 11 March 2020
+.\"      Date: 17 April 2020
 .\"    Manual: neon API reference
-.\"    Source: neon 0.31.0
+.\"    Source: neon 0.31.1
 .\"  Language: English
 .\"
-.TH "NE_MALLOC" "3" "11 March 2020" "neon 0.31.0" "neon API reference"
+.TH "NE_MALLOC" "3" "17 April 2020" "neon 0.31.1" "neon API reference"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------

+ 3 - 3
libs/neon/doc/man/ne_request_create.3

@@ -2,12 +2,12 @@
 .\"     Title: ne_request_create
 .\"    Author: 
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 11 March 2020
+.\"      Date: 17 April 2020
 .\"    Manual: neon API reference
-.\"    Source: neon 0.31.0
+.\"    Source: neon 0.31.1
 .\"  Language: English
 .\"
-.TH "NE_REQUEST_CREATE" "3" "11 March 2020" "neon 0.31.0" "neon API reference"
+.TH "NE_REQUEST_CREATE" "3" "17 April 2020" "neon 0.31.1" "neon API reference"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------

+ 3 - 3
libs/neon/doc/man/ne_session_create.3

@@ -2,12 +2,12 @@
 .\"     Title: ne_session_create
 .\"    Author: 
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 11 March 2020
+.\"      Date: 17 April 2020
 .\"    Manual: neon API reference
-.\"    Source: neon 0.31.0
+.\"    Source: neon 0.31.1
 .\"  Language: English
 .\"
-.TH "NE_SESSION_CREATE" "3" "11 March 2020" "neon 0.31.0" "neon API reference"
+.TH "NE_SESSION_CREATE" "3" "17 April 2020" "neon 0.31.1" "neon API reference"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------

+ 4 - 4
libs/neon/doc/man/ne_session_proxy.3

@@ -2,12 +2,12 @@
 .\"     Title: ne_session_proxy
 .\"    Author: 
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 11 March 2020
+.\"      Date: 17 April 2020
 .\"    Manual: neon API reference
-.\"    Source: neon 0.31.0
+.\"    Source: neon 0.31.1
 .\"  Language: English
 .\"
-.TH "NE_SESSION_PROXY" "3" "11 March 2020" "neon 0.31.0" "neon API reference"
+.TH "NE_SESSION_PROXY" "3" "17 April 2020" "neon 0.31.1" "neon API reference"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------
@@ -60,7 +60,7 @@ function configures use of an HTTP proxy server for the session, the location of
 \fIhostname\fR
 and
 \fIport\fR
-paramters\&. If the proxy requires authentication,
+parameters\&. If the proxy requires authentication,
 ne_set_proxy_auth
 should be used\&.
 .SS "System proxy configuration"

+ 3 - 3
libs/neon/doc/man/ne_set_request_body_buffer.3

@@ -2,12 +2,12 @@
 .\"     Title: ne_set_request_body_buffer
 .\"    Author: 
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 11 March 2020
+.\"      Date: 17 April 2020
 .\"    Manual: neon API reference
-.\"    Source: neon 0.31.0
+.\"    Source: neon 0.31.1
 .\"  Language: English
 .\"
-.TH "NE_SET_REQUEST_BODY_" "3" "11 March 2020" "neon 0.31.0" "neon API reference"
+.TH "NE_SET_REQUEST_BODY_" "3" "17 April 2020" "neon 0.31.1" "neon API reference"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------

+ 3 - 3
libs/neon/doc/man/ne_set_request_flag.3

@@ -2,12 +2,12 @@
 .\"     Title: ne_set_request_flag
 .\"    Author: 
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 11 March 2020
+.\"      Date: 17 April 2020
 .\"    Manual: neon API reference
-.\"    Source: neon 0.31.0
+.\"    Source: neon 0.31.1
 .\"  Language: English
 .\"
-.TH "NE_SET_REQUEST_FLAG" "3" "11 March 2020" "neon 0.31.0" "neon API reference"
+.TH "NE_SET_REQUEST_FLAG" "3" "17 April 2020" "neon 0.31.1" "neon API reference"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------

+ 3 - 3
libs/neon/doc/man/ne_set_server_auth.3

@@ -2,12 +2,12 @@
 .\"     Title: ne_set_server_auth
 .\"    Author: 
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 11 March 2020
+.\"      Date: 17 April 2020
 .\"    Manual: neon API reference
-.\"    Source: neon 0.31.0
+.\"    Source: neon 0.31.1
 .\"  Language: English
 .\"
-.TH "NE_SET_SERVER_AUTH" "3" "11 March 2020" "neon 0.31.0" "neon API reference"
+.TH "NE_SET_SERVER_AUTH" "3" "17 April 2020" "neon 0.31.1" "neon API reference"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------

+ 3 - 3
libs/neon/doc/man/ne_set_session_flag.3

@@ -2,12 +2,12 @@
 .\"     Title: ne_set_session_flag
 .\"    Author: 
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 11 March 2020
+.\"      Date: 17 April 2020
 .\"    Manual: neon API reference
-.\"    Source: neon 0.31.0
+.\"    Source: neon 0.31.1
 .\"  Language: English
 .\"
-.TH "NE_SET_SESSION_FLAG" "3" "11 March 2020" "neon 0.31.0" "neon API reference"
+.TH "NE_SET_SESSION_FLAG" "3" "17 April 2020" "neon 0.31.1" "neon API reference"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------

+ 3 - 3
libs/neon/doc/man/ne_set_useragent.3

@@ -2,12 +2,12 @@
 .\"     Title: ne_set_useragent
 .\"    Author: 
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 11 March 2020
+.\"      Date: 17 April 2020
 .\"    Manual: neon API reference
-.\"    Source: neon 0.31.0
+.\"    Source: neon 0.31.1
 .\"  Language: English
 .\"
-.TH "NE_SET_USERAGENT" "3" "11 March 2020" "neon 0.31.0" "neon API reference"
+.TH "NE_SET_USERAGENT" "3" "17 April 2020" "neon 0.31.1" "neon API reference"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------

+ 3 - 3
libs/neon/doc/man/ne_shave.3

@@ -2,12 +2,12 @@
 .\"     Title: ne_shave
 .\"    Author: 
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 11 March 2020
+.\"      Date: 17 April 2020
 .\"    Manual: neon API reference
-.\"    Source: neon 0.31.0
+.\"    Source: neon 0.31.1
 .\"  Language: English
 .\"
-.TH "NE_SHAVE" "3" "11 March 2020" "neon 0.31.0" "neon API reference"
+.TH "NE_SHAVE" "3" "17 April 2020" "neon 0.31.1" "neon API reference"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------

+ 3 - 3
libs/neon/doc/man/ne_sock_init.3

@@ -2,12 +2,12 @@
 .\"     Title: ne_sock_init
 .\"    Author: 
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 11 March 2020
+.\"      Date: 17 April 2020
 .\"    Manual: neon API reference
-.\"    Source: neon 0.31.0
+.\"    Source: neon 0.31.1
 .\"  Language: English
 .\"
-.TH "NE_SOCK_INIT" "3" "11 March 2020" "neon 0.31.0" "neon API reference"
+.TH "NE_SOCK_INIT" "3" "17 April 2020" "neon 0.31.1" "neon API reference"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------

+ 3 - 3
libs/neon/doc/man/ne_ssl_cert_cmp.3

@@ -2,12 +2,12 @@
 .\"     Title: ne_ssl_cert_cmp
 .\"    Author: 
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 11 March 2020
+.\"      Date: 17 April 2020
 .\"    Manual: neon API reference
-.\"    Source: neon 0.31.0
+.\"    Source: neon 0.31.1
 .\"  Language: English
 .\"
-.TH "NE_SSL_CERT_CMP" "3" "11 March 2020" "neon 0.31.0" "neon API reference"
+.TH "NE_SSL_CERT_CMP" "3" "17 April 2020" "neon 0.31.1" "neon API reference"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------

+ 3 - 3
libs/neon/doc/man/ne_ssl_cert_identity.3

@@ -2,12 +2,12 @@
 .\"     Title: ne_ssl_cert_identity
 .\"    Author: 
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 11 March 2020
+.\"      Date: 17 April 2020
 .\"    Manual: neon API reference
-.\"    Source: neon 0.31.0
+.\"    Source: neon 0.31.1
 .\"  Language: English
 .\"
-.TH "NE_SSL_CERT_IDENTITY" "3" "11 March 2020" "neon 0.31.0" "neon API reference"
+.TH "NE_SSL_CERT_IDENTITY" "3" "17 April 2020" "neon 0.31.1" "neon API reference"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------

+ 3 - 3
libs/neon/doc/man/ne_ssl_cert_read.3

@@ -2,12 +2,12 @@
 .\"     Title: ne_ssl_cert_read
 .\"    Author: 
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 11 March 2020
+.\"      Date: 17 April 2020
 .\"    Manual: neon API reference
-.\"    Source: neon 0.31.0
+.\"    Source: neon 0.31.1
 .\"  Language: English
 .\"
-.TH "NE_SSL_CERT_READ" "3" "11 March 2020" "neon 0.31.0" "neon API reference"
+.TH "NE_SSL_CERT_READ" "3" "17 April 2020" "neon 0.31.1" "neon API reference"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------

+ 3 - 3
libs/neon/doc/man/ne_ssl_clicert_read.3

@@ -2,12 +2,12 @@
 .\"     Title: ne_ssl_client_cert
 .\"    Author: 
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 11 March 2020
+.\"      Date: 17 April 2020
 .\"    Manual: neon API reference
-.\"    Source: neon 0.31.0
+.\"    Source: neon 0.31.1
 .\"  Language: English
 .\"
-.TH "NE_SSL_CLIENT_CERT" "3" "11 March 2020" "neon 0.31.0" "neon API reference"
+.TH "NE_SSL_CLIENT_CERT" "3" "17 April 2020" "neon 0.31.1" "neon API reference"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------

+ 3 - 3
libs/neon/doc/man/ne_ssl_readable_dname.3

@@ -2,12 +2,12 @@
 .\"     Title: ne_ssl_dname
 .\"    Author: 
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 11 March 2020
+.\"      Date: 17 April 2020
 .\"    Manual: neon API reference
-.\"    Source: neon 0.31.0
+.\"    Source: neon 0.31.1
 .\"  Language: English
 .\"
-.TH "NE_SSL_DNAME" "3" "11 March 2020" "neon 0.31.0" "neon API reference"
+.TH "NE_SSL_DNAME" "3" "17 April 2020" "neon 0.31.1" "neon API reference"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------

+ 3 - 3
libs/neon/doc/man/ne_ssl_set_verify.3

@@ -2,12 +2,12 @@
 .\"     Title: ne_ssl_set_verify
 .\"    Author: 
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 11 March 2020
+.\"      Date: 17 April 2020
 .\"    Manual: neon API reference
-.\"    Source: neon 0.31.0
+.\"    Source: neon 0.31.1
 .\"  Language: English
 .\"
-.TH "NE_SSL_SET_VERIFY" "3" "11 March 2020" "neon 0.31.0" "neon API reference"
+.TH "NE_SSL_SET_VERIFY" "3" "17 April 2020" "neon 0.31.1" "neon API reference"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------

+ 3 - 3
libs/neon/doc/man/ne_ssl_trust_cert.3

@@ -2,12 +2,12 @@
 .\"     Title: ne_ssl_trust_cert
 .\"    Author: 
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 11 March 2020
+.\"      Date: 17 April 2020
 .\"    Manual: neon API reference
-.\"    Source: neon 0.31.0
+.\"    Source: neon 0.31.1
 .\"  Language: English
 .\"
-.TH "NE_SSL_TRUST_CERT" "3" "11 March 2020" "neon 0.31.0" "neon API reference"
+.TH "NE_SSL_TRUST_CERT" "3" "17 April 2020" "neon 0.31.1" "neon API reference"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------

+ 3 - 3
libs/neon/doc/man/ne_status.3

@@ -2,12 +2,12 @@
 .\"     Title: ne_status
 .\"    Author: 
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 11 March 2020
+.\"      Date: 17 April 2020
 .\"    Manual: neon API reference
-.\"    Source: neon 0.31.0
+.\"    Source: neon 0.31.1
 .\"  Language: English
 .\"
-.TH "NE_STATUS" "3" "11 March 2020" "neon 0.31.0" "neon API reference"
+.TH "NE_STATUS" "3" "17 April 2020" "neon 0.31.1" "neon API reference"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------

+ 4 - 4
libs/neon/doc/man/ne_token.3

@@ -2,12 +2,12 @@
 .\"     Title: ne_token
 .\"    Author: 
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 11 March 2020
+.\"      Date: 17 April 2020
 .\"    Manual: neon API reference
-.\"    Source: neon 0.31.0
+.\"    Source: neon 0.31.1
 .\"  Language: English
 .\"
-.TH "NE_TOKEN" "3" "11 March 2020" "neon 0.31.0" "neon API reference"
+.TH "NE_TOKEN" "3" "17 April 2020" "neon 0.31.1" "neon API reference"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------
@@ -48,7 +48,7 @@ and
 tokenize the string at the location stored in the pointer
 \fIstr\fR\&. Each time the function is called, it returns the next token, and modifies the
 \fIstr\fR
-pointer to point to the remainer of the string, or
+pointer to point to the remainder of the string, or
 NULL
 if there are no more tokens in the string\&. A token is delimited by the separator character
 \fIsep\fR; if

+ 3 - 3
libs/neon/doc/man/ne_version_match.3

@@ -2,12 +2,12 @@
 .\"     Title: ne_version_match
 .\"    Author: 
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 11 March 2020
+.\"      Date: 17 April 2020
 .\"    Manual: neon API reference
-.\"    Source: neon 0.31.0
+.\"    Source: neon 0.31.1
 .\"  Language: English
 .\"
-.TH "NE_VERSION_MATCH" "3" "11 March 2020" "neon 0.31.0" "neon API reference"
+.TH "NE_VERSION_MATCH" "3" "17 April 2020" "neon 0.31.1" "neon API reference"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------

+ 3 - 3
libs/neon/doc/man/ne_xml_create.3

@@ -2,12 +2,12 @@
 .\"     Title: ne_xml_create
 .\"    Author: 
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 11 March 2020
+.\"      Date: 17 April 2020
 .\"    Manual: neon API reference
-.\"    Source: neon 0.31.0
+.\"    Source: neon 0.31.1
 .\"  Language: English
 .\"
-.TH "NE_XML_CREATE" "3" "11 March 2020" "neon 0.31.0" "neon API reference"
+.TH "NE_XML_CREATE" "3" "17 April 2020" "neon 0.31.1" "neon API reference"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------

+ 3 - 3
libs/neon/doc/man/neon-config.1

@@ -2,12 +2,12 @@
 .\"     Title: neon-config
 .\"    Author: 
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 11 March 2020
+.\"      Date: 17 April 2020
 .\"    Manual: neon API reference
-.\"    Source: neon 0.31.0
+.\"    Source: neon 0.31.1
 .\"  Language: English
 .\"
-.TH "NEON\-CONFIG" "1" "11 March 2020" "neon 0.31.0" "neon API reference"
+.TH "NEON\-CONFIG" "1" "17 April 2020" "neon 0.31.1" "neon API reference"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------

+ 7 - 6
libs/neon/doc/man/neon.3

@@ -2,12 +2,12 @@
 .\"     Title: neon
 .\"    Author: 
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 11 March 2020
+.\"      Date: 17 April 2020
 .\"    Manual: neon API reference
-.\"    Source: neon 0.31.0
+.\"    Source: neon 0.31.1
 .\"  Language: English
 .\"
-.TH "NEON" "3" "11 March 2020" "neon 0.31.0" "neon API reference"
+.TH "NEON" "3" "17 April 2020" "neon 0.31.1" "neon API reference"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------
@@ -187,7 +187,7 @@ xml[A\-Z], html[A\-Z], docb[A\-Z]
 Namespaces used by the libxml2 library; a relatively small number of symbols are used without these prefixes\&.
 .RE
 .PP
-inflate, deflate, crc32, compress, uncompres, adler32, zlib
+inflate, deflate, crc32, compress, uncompress, adler32, zlib
 .RS 4
 Namespaces used by the zlib library; a relatively small number of symbols are used without these prefixes\&.
 .RE
@@ -221,7 +221,7 @@ by the application; neon never performs any URI encoding or decoding internally\
 As a pure library interface, neon will never produce output on
 \fBstdout\fR
 or
-\fBstderr\fR; all user interaction is the responsibilty of the application\&.
+\fBstderr\fR; all user interaction is the responsibility of the application\&.
 .SS "Memory handling"
 .PP
 neon does not attempt to cope gracefully with an out\-of\-memory situation; instead, by default, the
@@ -254,7 +254,8 @@ macro definition\&.
 .SH "SEE ALSO"
 .PP
 ne_session_create(3),
-ne_oom_callback
+ne_oom_callback,
+\m[blue]\fB\%https://notroj.github.io/neon/\fR\m[]
 .SH "AUTHOR"
 .PP
 \fBJoe Orton\fR <\&[email protected]\&>

+ 4 - 3
libs/neon/doc/ref/neon.xml

@@ -170,7 +170,7 @@
       </varlistentry>
 
       <varlistentry>
-        <term>inflate, deflate, crc32, compress, uncompres, adler32,
+        <term>inflate, deflate, crc32, compress, uncompress, adler32,
         zlib</term>
 	<listitem><simpara>Namespaces used by the zlib library; a
 	relatively small number of symbols are used without these
@@ -231,7 +231,7 @@
     <para>As a pure library interface, &neon; will never produce
     output on <constant>stdout</constant> or
     <constant>stderr</constant>; all user interaction is the
-    responsibilty of the application.</para>
+    responsibility of the application.</para>
   </refsect2>
 
   <refsect2>
@@ -279,7 +279,8 @@
   <refsect1>
     <title>See also</title>
 
-    <para><xref linkend="refsess"/>, <xref linkend="ne_oom_callback"/></para>
+    <para><xref linkend="refsess"/>, <xref linkend="ne_oom_callback"/>,
+    <ulink url="https://notroj.github.io/neon/"/></para>
   </refsect1>
 
 </refentry>

+ 1 - 1
libs/neon/doc/ref/proxy.xml

@@ -72,7 +72,7 @@
           configures use of an HTTP proxy server for the session, the
           location of which is given by the
           <parameter>hostname</parameter> and
-          <parameter>port</parameter> paramters.  If the proxy
+          <parameter>port</parameter> parameters.  If the proxy
           requires authentication, <xref linkend="ne_set_proxy_auth"/>
           should be used.</para>
         </refsect2>

+ 1 - 1
libs/neon/doc/ref/tok.xml

@@ -43,7 +43,7 @@
 <function>ne_qtoken</function> tokenize the string at the location
 stored in the pointer <parameter>str</parameter>.  Each time the
 function is called, it returns the next token, and modifies the
-<parameter>str</parameter> pointer to point to the remainer of the
+<parameter>str</parameter> pointer to point to the remainder of the
 string, or &null; if there are no more tokens in the string.  A token
 is delimited by the separator character <parameter>sep</parameter>; if
 <function>ne_qtoken</function> is used any quoted segments of the

+ 1 - 1
libs/neon/doc/security.xml

@@ -70,7 +70,7 @@
       
       <listitem>
         <para>the subjectAltName extension of the certificate is used
-        for comparision against the expected identity, in preference
+        for comparison against the expected identity, in preference
         to the Subject name's commonName attribute.</para>
       </listitem>
 

+ 1 - 1
libs/neon/doc/version.xml

@@ -1 +1 @@
-0.31.0
+0.31.1

+ 2 - 2
libs/neon/macros/neon.m4

@@ -137,7 +137,7 @@ AC_DEFUN([NE_VERSIONS_BUNDLED], [
 # Define the current versions.
 NE_VERSION_MAJOR=0
 NE_VERSION_MINOR=31
-NE_VERSION_PATCH=0
+NE_VERSION_PATCH=1
 NE_VERSION_TAG=
 
 # 0.31.x is backwards-compatible to 0.27.x, so AGE=4
@@ -351,7 +351,7 @@ AC_SUBST(NEON_BUILD_BUNDLED)
 dnl AC_SEARCH_LIBS done differently. Usage:
 dnl   NE_SEARCH_LIBS(function, libnames, [extralibs], [actions-if-not-found],
 dnl                            [actions-if-found])
-dnl Tries to find 'function' by linking againt `-lLIB $NEON_LIBS' for each
+dnl Tries to find 'function' by linking against `-lLIB $NEON_LIBS' for each
 dnl LIB in libnames.  If link fails and 'extralibs' is given, will also
 dnl try linking against `-lLIB extralibs $NEON_LIBS`.
 dnl Once link succeeds, `-lLIB [extralibs]` is prepended to $NEON_LIBS, and

+ 3 - 3
libs/neon/src/ne_auth.c

@@ -549,7 +549,7 @@ static int continue_negotiate(auth_session *sess, const char *token,
     return ret;
 }
 
-/* Process a Negotiate challange CHALL in session SESS; returns zero
+/* Process a Negotiate challenge CHALL in session SESS; returns zero
  * if challenge is accepted. */
 static int negotiate_challenge(auth_session *sess, int attempt,
                                struct auth_challenge *chall,
@@ -824,7 +824,7 @@ static int digest_challenge(auth_session *sess, int attempt,
         /* Non-stale challenge: clear session and request credentials. */
         clean_session(sess);
 
-        /* The domain paramater must be parsed after the session is
+        /* The domain parameter must be parsed after the session is
          * cleaned; ignore domain for proxy auth. */
         if (parms->domain && sess->spec == &ah_server_class
             && parse_domain(sess, parms->domain)) {
@@ -1341,7 +1341,7 @@ static int auth_challenge(auth_session *sess, int attempt,
 
             if ((proto->flags & AUTH_FLAG_OPAQUE_PARAM) && sep == ' ') {
                 /* Cope with the fact that the unquoted base64
-                 * paramater token doesn't match the 2617 auth-param
+                 * parameter token doesn't match the 2617 auth-param
                  * grammar: */
                 chall->opaque = ne_shave(ne_token(&pnt, ','), " \t");
                 NE_DEBUG(NE_DBG_HTTPAUTH, "auth: %s opaque parameter '%s'\n",

+ 1 - 0
libs/neon/src/ne_dates.c

@@ -238,6 +238,7 @@ time_t ne_asctime_parse(const char *date)
                &gmt.tm_year) != 7)
         return (time_t)-1;
 
+    gmt.tm_year -= 1900;
     for (n=0; n<12; n++)
 	if (strcmp(mon, short_months[n]) == 0)
 	    break;

+ 5 - 1
libs/neon/src/ne_locks.h

@@ -127,7 +127,11 @@ int ne_lock(ne_session *sess, struct ne_lock *lock);
 /* Issue an UNLOCK request for the given lock */
 int ne_unlock(ne_session *sess, const struct ne_lock *lock);
 
-/* Refresh a lock. Updates lock->timeout appropriately. */
+/* Refresh a lock; returns an NE_* code.  If lock->timeout is non-zero
+ * on entry, the server is requested to update the lock timeout to the
+ * given value (per RFC4918§7.7, servers MAY ignore the requested
+ * timeout).  On success, lock->timeout is updated to the new timeout
+ * given by the server. */
 int ne_lock_refresh(ne_session *sess, struct ne_lock *lock);
 
 /* Callback for lock discovery.  If 'lock' is NULL, something went

+ 78 - 17
libs/neon/src/ne_md5.c

@@ -30,6 +30,10 @@
 # include <limits.h>
 #endif
 
+#ifdef HAVE_OPENSSL
+#include <openssl/md5.h>
+#endif
+
 #include "ne_md5.h"
 #include "ne_string.h" /* for NE_ASC2HEX */
 
@@ -48,7 +52,6 @@ typedef unsigned long md5_uint32;
 #define md5_stream ne_md5_stream
 #define md5_ctx ne_md5_ctx
 
-#ifndef HAVE_OPENSSL
 
 #ifdef WORDS_BIGENDIAN
 # define SWAP(n)							\
@@ -60,6 +63,9 @@ typedef unsigned long md5_uint32;
 /* Structure to save state of computation between the single steps.  */
 struct md5_ctx
 {
+#ifdef HAVE_OPENSSL
+  MD5_CTX ctx;
+#else
   md5_uint32 A;
   md5_uint32 B;
   md5_uint32 C;
@@ -68,8 +74,10 @@ struct md5_ctx
   md5_uint32 total[2];
   md5_uint32 buflen;
   char buffer[128];
+#endif
 };
 
+#ifndef HAVE_OPENSSL
 /* This array contains the bytes used to pad the buffer to the next
    64-byte boundary.  (RFC 1321, 3.1: Step 1)  */
 static const unsigned char fillbuf[64] = { 0x80, 0 /* , 0, 0, ...  */ };
@@ -115,22 +123,6 @@ ne_md5_destroy_ctx(struct ne_md5_ctx *ctx)
   ne_free(ctx);
 }
 
-/* Put result from CTX in first 16 bytes following RESBUF.  The result
-   must be in little endian byte order.
-
-   IMPORTANT: On some systems it is required that RESBUF is correctly
-   aligned for a 32 bits value.  */
-void *
-md5_read_ctx (const struct md5_ctx *ctx, void *resbuf)
-{
-  ((md5_uint32 *) resbuf)[0] = SWAP (ctx->A);
-  ((md5_uint32 *) resbuf)[1] = SWAP (ctx->B);
-  ((md5_uint32 *) resbuf)[2] = SWAP (ctx->C);
-  ((md5_uint32 *) resbuf)[3] = SWAP (ctx->D);
-
-  return resbuf;
-}
-
 /* Process the remaining bytes in the internal buffer and the usual
    prolog according to the standard and write the result to RESBUF.
 
@@ -376,9 +368,78 @@ md5_process_block (const void *buffer, size_t len, struct md5_ctx *ctx)
   ctx->C = C;
   ctx->D = D;
 }
+#else /* HAVE_OPENSSL */
 
+struct ne_md5_ctx *ne_md5_create_ctx(void)
+{
+    struct ne_md5_ctx *ctx = ne_malloc(sizeof *ctx);
+    
+    if (MD5_Init(&ctx->ctx) != 1) {
+        ne_free(ctx);
+        return NULL;
+    }
+    
+    return ctx;
+}
+
+void ne_md5_process_block(const void *buffer, size_t len,
+                          struct ne_md5_ctx *ctx)
+{
+    MD5_Update(&ctx->ctx, buffer, len);
+}
+
+void ne_md5_process_bytes(const void *buffer, size_t len,
+                          struct ne_md5_ctx *ctx)
+{
+    MD5_Update(&ctx->ctx, buffer, len);
+}
+
+void *ne_md5_finish_ctx(struct ne_md5_ctx *ctx, void *resbuf)
+{
+    MD5_Final(resbuf, &ctx->ctx);
+    
+    return resbuf;
+}
+
+struct ne_md5_ctx *ne_md5_dup_ctx(struct ne_md5_ctx *ctx)
+{
+    return memcpy(ne_malloc(sizeof *ctx), ctx, sizeof *ctx);
+}
+
+void ne_md5_reset_ctx(struct ne_md5_ctx *ctx)
+{
+    MD5_Init(&ctx->ctx);
+}
+    
+void ne_md5_destroy_ctx(struct ne_md5_ctx *ctx)
+{
+    ne_free(ctx);
+}
+#endif /* HAVE_OPENSSL */
+
+/* Put result from CTX in first 16 bytes following RESBUF.  The result
+   must be in little endian byte order.
+
+   IMPORTANT: On some systems it is required that RESBUF is correctly
+   aligned for a 32 bits value.  */
+void *
+md5_read_ctx (const struct md5_ctx *ctx, void *resbuf)
+{
+#ifdef HAVE_OPENSSL
+#define SWAP_CTX(x) (ctx->ctx.x)
+#else
+#define SWAP_CTX(x) (ctx->x)
 #endif
 
+  ((md5_uint32 *) resbuf)[0] = SWAP_CTX (A);
+  ((md5_uint32 *) resbuf)[1] = SWAP_CTX (B);
+  ((md5_uint32 *) resbuf)[2] = SWAP_CTX (C);
+  ((md5_uint32 *) resbuf)[3] = SWAP_CTX (D);
+
+  return resbuf;
+}
+
+
 /* Compute MD5 message digest for bytes read from STREAM.  The
    resulting message digest number will be written into the 16 bytes
    beginning at RESBLOCK.  */

+ 3 - 72
libs/neon/src/ne_openssl.c

@@ -368,7 +368,7 @@ static ne_ssl_certificate *populate_cert(ne_ssl_certificate *cert, X509 *x5)
 }
 
 /* OpenSSL cert verification callback.  This is invoked for *each*
- * error which is encoutered whilst verifying the cert chain; multiple
+ * error which is encountered whilst verifying the cert chain; multiple
  * invocations for any particular cert in the chain are possible. */
 static int verify_callback(int ok, X509_STORE_CTX *ctx)
 {
@@ -578,7 +578,7 @@ ne_ssl_context *ne_ssl_context_create(int mode)
         /* enable workarounds for buggy SSL server implementations */
         SSL_CTX_set_options(ctx->ctx, SSL_OP_ALL);
         SSL_CTX_set_verify(ctx->ctx, SSL_VERIFY_PEER, verify_callback);
-#if OPENSSL_VERSION_NUMBER >= 0x10101000L
+#if !defined(LIBRESSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER >= 0x10101000L
         SSL_CTX_set_post_handshake_auth(ctx->ctx, 1);
 #endif
     } else if (mode == NE_SSL_CTX_SERVER) {
@@ -1138,7 +1138,7 @@ int ne_ssl_cert_digest(const ne_ssl_certificate *cert, char *digest)
 }
 
 #if defined(NE_HAVE_TS_SSL) && OPENSSL_VERSION_NUMBER < 0x10100000L
-/* From OpenSSL 1.1.0 locking callbacks are no longer neede. */
+/* From OpenSSL 1.1.0 locking callbacks are no longer needed. */
 #define WITH_OPENSSL_LOCKING (1)
 
 /* Implementation of locking callbacks to make OpenSSL thread-safe.
@@ -1287,72 +1287,3 @@ void ne__ssl_exit(void)
     }
 #endif
 }
-
-struct ne_md5_ctx {
-    EVP_MD_CTX *ctx;
-};
-
-/* Returns zero on succes, non-zero on failure. */
-static int init_md5_ctx(struct ne_md5_ctx *ctx)
-{
-    ctx->ctx = EVP_MD_CTX_new();
-
-    if (EVP_DigestInit_ex(ctx->ctx, EVP_md5(), NULL) != 1) {
-        return 1;
-    }
-
-    return 0;
-}
-
-struct ne_md5_ctx *ne_md5_create_ctx(void)
-{
-    struct ne_md5_ctx *ctx = ne_malloc(sizeof *ctx);
-    
-    if (init_md5_ctx(ctx)) {
-        ne_free(ctx);
-        return NULL;
-    }
-    
-    return ctx;
-}
-
-void ne_md5_process_block(const void *buffer, size_t len,
-                          struct ne_md5_ctx *ctx)
-{
-    EVP_DigestUpdate(ctx->ctx, buffer, len);
-}
-
-void ne_md5_process_bytes(const void *buffer, size_t len,
-                          struct ne_md5_ctx *ctx)
-{
-    EVP_DigestUpdate(ctx->ctx, buffer, len);
-}
-
-void *ne_md5_finish_ctx(struct ne_md5_ctx *ctx, void *resbuf)
-{
-    EVP_DigestFinal(ctx->ctx, resbuf, NULL);
-    
-    return resbuf;
-}
-
-struct ne_md5_ctx *ne_md5_dup_ctx(struct ne_md5_ctx *ctx)
-{
-    struct ne_md5_ctx *r = ne_md5_create_ctx();
-
-    EVP_MD_CTX_copy_ex(r->ctx, ctx->ctx);
-    
-    return r;
-}
-
-void ne_md5_reset_ctx(struct ne_md5_ctx *ctx)
-{
-    EVP_MD_CTX_reset(ctx->ctx);
-
-    init_md5_ctx(ctx);    
-}
-    
-void ne_md5_destroy_ctx(struct ne_md5_ctx *ctx)
-{
-    EVP_MD_CTX_free(ctx->ctx);
-    ne_free(ctx);
-}

+ 1 - 1
libs/neon/src/ne_pkcs11.c

@@ -96,7 +96,7 @@ static RSA_METHOD *RSA_meth_new(const char *name, int flags)
 #define RSA_meth_set0_app_data(m, f) (m)->app_data = (void *)(f)
 #endif
 
-/* RSA_METHOD ->rsa_private_encrypt calback. */
+/* RSA_METHOD ->rsa_private_encrypt callback. */
 static int pk11_rsa_encrypt(int mlen, const unsigned char *m, 
                             unsigned char *sigret,
                             RSA *r, int padding)

+ 1 - 1
libs/neon/src/ne_props.c

@@ -69,7 +69,7 @@ struct ne_propfind_handler_s {
 /* We build up the results of one 'response' element in memory. */
 struct prop {
     char *name, *nspace, *value, *lang;
-    /* Store a ne_propname here too, for convienience.  pname.name =
+    /* Store a ne_propname here too, for convenience.  pname.name =
      * name, pname.nspace = nspace, but they are const'ed in pname. */
     ne_propname pname;
 };

+ 2 - 2
libs/neon/src/ne_request.c

@@ -759,7 +759,7 @@ void ne_request_destroy(ne_request *req)
 /* Reads a block of the response into BUFFER, which is of size
  * *BUFLEN.  Returns zero on success or non-zero on error.  On
  * success, *BUFLEN is updated to be the number of bytes read into
- * BUFFER (which will be 0 to indicate the end of the repsonse).  On
+ * BUFFER (which will be 0 to indicate the end of the response).  On
  * error, the connection is closed and the session error string is
  * set.  */
 static int read_response_block(ne_request *req, struct ne_response *resp, 
@@ -913,7 +913,7 @@ static void dump_request(const char *request)
 	/* Display everything mode */
 	NE_DEBUG(NE_DBG_HTTP, "Sending request headers:\n%s", request);
     } else if (ne_debug_mask & NE_DBG_HTTP) {
-	/* Blank out the Authorization paramaters */
+	/* Blank out the Authorization parameters */
 	char *reqdebug = ne_strdup(request), *pnt = reqdebug;
 	while ((pnt = strstr(pnt, "Authorization: ")) != NULL) {
 	    for (pnt += 15; *pnt != '\r' && *pnt != '\0'; pnt++) {

部分文件因为文件数量过多而无法显示