diff options
author | joe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845> | 2010-03-29 09:19:04 +0000 |
---|---|---|
committer | joe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845> | 2010-03-29 09:19:04 +0000 |
commit | 8db8a9c8588ec2acea12fbc3740c35922d5f0bfd (patch) | |
tree | 5da2af9df2d7c3527e93416d04cb4f4c3f92cd84 | |
parent | 895b85d9749faa43f4db44652648bf5396bffb5d (diff) | |
download | neon-8db8a9c8588ec2acea12fbc3740c35922d5f0bfd.tar.gz |
Merge r1792, r1793, r1795 from trunk:
* src/ne_request.c (do_connect): Tweak debugging.
* doc/ref/: Fix some refpurposes.
* doc/ref/reqflags.xml: Doc tweak.
git-svn-id: http://svn.webdav.org/repos/projects/neon/branches/0.29.x@1796 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
-rw-r--r-- | doc/ref/bufcr.xml | 2 | ||||
-rw-r--r-- | doc/ref/bufutil.xml | 2 | ||||
-rw-r--r-- | doc/ref/reqflags.xml | 9 | ||||
-rw-r--r-- | src/ne_request.c | 5 |
4 files changed, 12 insertions, 6 deletions
diff --git a/doc/ref/bufcr.xml b/doc/ref/bufcr.xml index 0c572a6..9b881b4 100644 --- a/doc/ref/bufcr.xml +++ b/doc/ref/bufcr.xml @@ -8,7 +8,7 @@ <refnamediv> <refname id="ne_buffer_create">ne_buffer_create</refname> <refname id="ne_buffer_create_sized">ne_buffer_ncreate</refname> - <refpurpose>general purpose of group of functions</refpurpose> + <refpurpose>create a string buffer</refpurpose> </refnamediv> <refsynopsisdiv> diff --git a/doc/ref/bufutil.xml b/doc/ref/bufutil.xml index 3f3f3c5..a484786 100644 --- a/doc/ref/bufutil.xml +++ b/doc/ref/bufutil.xml @@ -9,7 +9,7 @@ <refname id="ne_buffer_clear">ne_buffer_clear</refname> <refname id="ne_buffer_grow">ne_buffer_grow</refname> <refname id="ne_buffer_altered">ne_buffer_altered</refname> - <refpurpose>general purpose of group of functions</refpurpose> + <refpurpose>clear, grow, or mark as altered a string buffer</refpurpose> </refnamediv> <refsynopsisdiv> diff --git a/doc/ref/reqflags.xml b/doc/ref/reqflags.xml index 9ac698a..ede0fb4 100644 --- a/doc/ref/reqflags.xml +++ b/doc/ref/reqflags.xml @@ -48,8 +48,13 @@ <varlistentry> <term><constant>NE_REQFLAG_EXPECT100</constant></term> <listitem> - <simpara>enables this flag to use the "Expect: - 100-continue" feature of HTTP/1.1</simpara> + <simpara>enable this flag to use the "Expect: + 100-continue" feature of HTTP/1.1, which allows the + server to process request headers without reading the + entire request body. This saves time and bandwidth if + the server gives an authentication challenge (requiring + the request to be resent), but has interoperability + problems with some older servers.</simpara> </listitem> </varlistentry> <varlistentry> diff --git a/src/ne_request.c b/src/ne_request.c index 6eaacde..8cab832 100644 --- a/src/ne_request.c +++ b/src/ne_request.c @@ -1481,8 +1481,9 @@ static int do_connect(ne_session *sess, struct host_info *host) #ifdef NE_DEBUGGING if (ne_debug_mask & NE_DBG_HTTP) { char buf[150]; - NE_DEBUG(NE_DBG_HTTP, "Connecting to %s\n", - ne_iaddr_print(host->current, buf, sizeof buf)); + NE_DEBUG(NE_DBG_HTTP, "req: Connecting to %s:%u\n", + ne_iaddr_print(host->current, buf, sizeof buf), + host->port); } #endif ret = ne_sock_connect(sess->socket, host->current, host->port); |