diff options
-rw-r--r-- | .package | 2 | ||||
-rw-r--r-- | BUGS | 6 | ||||
-rw-r--r-- | Makefile.in | 2 | ||||
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | TODO | 2 | ||||
-rw-r--r-- | configure.in | 2 | ||||
-rw-r--r-- | doc/manual.xml | 4 | ||||
-rw-r--r-- | doc/using-neon.txt | 166 | ||||
-rw-r--r-- | macros/neon-test.m4 | 2 | ||||
-rw-r--r-- | macros/neon-xml-parser.m4 | 2 | ||||
-rw-r--r-- | macros/neon.m4 | 2 | ||||
-rw-r--r-- | src/README | 2 |
12 files changed, 17 insertions, 177 deletions
@@ -1 +1 @@ -announce-list=neon@webdav.org +announce-list=neon@lists.manyfish.co.uk @@ -36,3 +36,9 @@ Cache-Control: no-cache Pragma: no-cache Connection: close W8����s0�� + +* load_client_cert fails with: + + load_client_cert: (did not fail to load clicert without pkey) + + on RHEL4 openssl. diff --git a/Makefile.in b/Makefile.in index 36a173c..c14fe8d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -47,7 +47,7 @@ transform = @program_transform_name@ LIBTOOL = @LIBTOOL@ XMLTO = xmlto GCOV = gcov -XGETTEXT_OPTS = --keyword=_ --keyword=N_ --msgid-bugs-address=neon@webdav.org \ +XGETTEXT_OPTS = --keyword=_ --keyword=N_ --msgid-bugs-address=neon@lists.manyfish.co.uk \ --default-domain=neon --flag ne_print_request_header:3:c-format \ --flag ne_snprintf:3:c-format --flag ne_vsnprintf:3:c-format \ --flag ne_set_error:2:c-format @@ -1,7 +1,7 @@ neon is an HTTP and WebDAV client library, with a C language API. -Mailing list: neon@webdav.org || Web site: http://www.webdav.org/neon/ +Mailing list: neon@lists.manyfish.co.uk || 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 @@ -2,7 +2,7 @@ To Do List for neon -*- text -*- =================== -Please submit feature requests to <mailto:neon@webdav.org> +Please submit feature requests to <neon@lists.manyfish.co.uk> For one-point-oh ---------------- diff --git a/configure.in b/configure.in index 3664d55..04c7cc8 100644 --- a/configure.in +++ b/configure.in @@ -4,7 +4,7 @@ dnl Extract the version (sans LF) from .version, created at release-time. m4_define(ne_version, [m4_translit(m4_include(.version), [ ])]) -AC_INIT(neon, ne_version, [neon@webdav.org]) +AC_INIT(neon, ne_version, [neon@lists.manyfish.co.uk]) AC_COPYRIGHT([Copyright 2000-2008 Joe Orton and others This configure script may be copied, distributed and modified under the diff --git a/doc/manual.xml b/doc/manual.xml index 42b575e..e3f8a36 100644 --- a/doc/manual.xml +++ b/doc/manual.xml @@ -82,10 +82,10 @@ <author> <firstname>Joe</firstname><surname>Orton</surname> <affiliation> - <address><email>neon@webdav.org</email></address> + <address><email>neon@lists.manyfish.co.uk</email></address> </affiliation> </author> - <copyright><year>2001-2006</year><holder>Joe Orton</holder></copyright> + <copyright><year>2001-2008</year><holder>Joe Orton</holder></copyright> <legalnotice> diff --git a/doc/using-neon.txt b/doc/using-neon.txt deleted file mode 100644 index 45ddfc3..0000000 --- a/doc/using-neon.txt +++ /dev/null @@ -1,166 +0,0 @@ - -Guide to neon -============= - -Using libneon from applications -------------------------------- - -The neon source package is designed to be easily incorporated into -applications: - -- autoconf macros are distributed in the 'macros' subdirectory of the - neon distribution. Use NEON_LIBRARY from your configure.in to check - for the presence of the neon library installed on the system. The - macro adds an '--with-neon=...' argument to configure, which allows - the user to specify a location for the library (the standard /usr - and /usr/local directories are checked automatically without having - to be specified). - -- The 'src' directory of the neon package can be imported directly - into your application, if you do not wish to add an external - dependency. If you wish to bundle, use the NEON_BUNDLED macro - to configure neon in your application: here, the neon sources are - bundled in a directory called 'libneon': - - NEON_BUNDLED(libneon, ...) - - If your application supports builds where srcdir != builddir, you - should use the NEON_VPATH_BUNDLED macro like this: - - NEON_VPATH_BUNDLED(${srcdir}/libneon, libneon, ...) - - (thanks to Peter Moulder for getting this working properly). - - If you use this macro, a '--with-included-neon' option will - be added to the generated configure script. This allows the user - to force the bundled neon to be used in the application, rather than - any neon library found on the system. If you allow neon to be - configured this way, you must also configure an XML parser. Use - the NEON_XML_PARSER macro to do this. - -- The final argument to the _BUNDLED macros is a set of actions which - are executed if the bundled build *is* chosen (rather than an - external neon which might have been found on the user's system). - In here, use either the NEON_LIBTOOL_BUILD or NEON_NORMAL_BUILD - macro to set up the neon Makefile appropriately: including adding - the neon source directory to the recursive make. - -- A full fragment might be: - - NEON_BUNDLED(libneon, [ - NEON_NORMAL_BUILD - NEON_XML_PARSER - SUBDIRS="libneon $SUBDIRS" - ]) - - This means the bundled neon source directory (called 'libneon') is - used if no neon is found on the system, and the standard XML parser - search is used. - -The neon API -============ - -neon offers two levels of API for use in applications: - -- Low-level HTTP request/response handling -- High-level method invocation - -The low-level interface allows for easily designing new method -handlers, taking care of things like persistent connections, -authentication, and proxy servers. The high-level interface allows -you to easily integrate existing HTTP (and WebDAV) methods into your -application. This document details both interfaces. - -N.B.: Documentation is always WRONG. The definitive API reference is in -src/*.c, with src/*.h is hopefully fairly similar. - -PLEASE NOTE: the neon API is NOT STABLE, and is not considered to be -stable or backwards-compatible until version 1.0 is reached. If -you are not happy with this constraint, then please either: - -1. pick a version of neon and never upgrade -2. don't use neon (yet). -3. contribute sufficient development resources to neon that all - bugs are fixed yesterday, features added tomorrow, and 1.0 is - reached on by the end of the week. - -An Important Note ------------------ - -Most neon functions which allocate memory with malloc() will call -abort() if malloc() returns NULL. This is a design decision, the -rationale being: - -- it makes the interfaces cleaner. - -- if malloc() DOES return NULL there is not much you can do about it. - -- Apparently, malloc() won't return NULL on systems which over-commit - memory (e.g. Linux), so it doesn't make any real difference anyway. - -The author is open to persuasion on this: mail neon@webdav.org. - -Namespaces ----------- - -neon reserves these namespaces: - ne_* - uri_* - sock_* - -Eventually all symbols globally defined by the library should fall -within a reserved namespace. The author is considering moving -all symbols into the ne_* namespace. - -Note that the XML parser used will also reserve a namespace: -expat takes XML_*, libxml takes xml* - -The http_session type ---------------------- - -The http_session type is used whether you are writing to the low-level -or the high-level interface. An http_session object is created to -store data which persists beyond a single HTTP request: - - - Protocol options, e.g. (proxy) server details - - Authentication information - - Persistent connection - -A session is created with the 'ne_session_create' call. Before -creating a request for the session, the server details must be set, as -follows: - - ne_session *sess; - /* Initialize the socket library */ - sock_init(); - /* Create the session */ - sess = ne_session_create(); - /* Optionally, set a proxy server */ - ne_session_proxy(sess, "proxy.myisp.com", 8080); - /* Set the server */ - ne_session_server(sess, "my.server.com", 80); - -The proxy server should be set BEFORE the origin server; otherwise a -DNS lookup will be performed on the origin server by the -ne_session_server call, which may well fail if the client is -firewalled. ne_session_{proxy,server} will return NE_LOOKUP if -the DNS lookup fails; otherwise NE_OK. - -The 'ne_set_persist' call can be used to turn off persistent -connection handling: it is on by default. - -The 'ne_set_useragent' call can be used to set the User-Agent header -to be sent with requests. A product token of the form -"myhttpclient/0.1.2" should be passed, and will have "neon/x.y.z" -appended in the actual header sent. - -When a session has been finished with, it should be destroyed using -ne_session_destroy. Any subsequent operations on the session object -will have undefined results (i.e. will segfault). - -Low-level HTTP Request/Response Handling ----------------------------------------- - -... - - diff --git a/macros/neon-test.m4 b/macros/neon-test.m4 index 944646e..8957a6f 100644 --- a/macros/neon-test.m4 +++ b/macros/neon-test.m4 @@ -13,7 +13,7 @@ # This file is part of the neon HTTP/WebDAV client library. # See http://www.webdav.org/neon/ for the latest version. -# Please send any feedback to <neon@webdav.org> +# Please send any feedback to <neon@lists.manyfish.co.uk> # Tests needed for the neon-test common test code. diff --git a/macros/neon-xml-parser.m4 b/macros/neon-xml-parser.m4 index 1cb21cf..dbcb899 100644 --- a/macros/neon-xml-parser.m4 +++ b/macros/neon-xml-parser.m4 @@ -13,7 +13,7 @@ # This file is part of the neon HTTP/WebDAV client library. # See http://www.webdav.org/neon/ for the latest version. -# Please send any feedback to <neon@webdav.org> +# Please send any feedback to <neon@lists.manyfish.co.uk> # Check for XML parser, supporting libxml 2.x and expat 1.95.x, # or a bundled copy of expat. diff --git a/macros/neon.m4 b/macros/neon.m4 index bf0273d..71f840d 100644 --- a/macros/neon.m4 +++ b/macros/neon.m4 @@ -14,7 +14,7 @@ # This file is part of the neon HTTP/WebDAV client library. # See http://www.webdav.org/neon/ for the latest version. -# Please send any feedback to <neon@webdav.org> +# Please send any feedback to <neon@lists.manyfish.co.uk> # # Usage: @@ -12,4 +12,4 @@ COPYING.LIB. Please send questions, bug reports, feature requests, etc, regarding the neon library, to the mailing list at: - neon@webdav.org + neon@lists.manyfish.co.uk |