| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/ne_openssl.c (parse_client_cert): Factor out from
ne_ssl_clicert_read.
(ne_ssl_clicert_read): Reimplement using above.
(ne_ssl_clicert_import): New function.
* src/ne_gnutls.c (ne_ssl_clicert_import): Factor out from
ne_ssl_clicert_read.
(ne_ssl_clicert_import): Reimplement using above.
* test/utils.c (file_to_buffer): Move to here...
* test/compress.c (file2buf): ... from here.
(do_fetch): Use it.
* test/ssl.c (clicert_import): New test.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1847 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
|
| |
* test/compress.c (retry_notcompress, retry_compress_helper,
retry_compress):Use double_serve_sstring.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1439 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
functions:
* src/ne_compress.c (gz_pre_send): New function.
(ne_decompress_reader): Don't initialize all context state here;
register pre_send hook.
(ne_decompress_destroy): Unregister hook; move function lower in
module.
* test/compress.c: retry_compress is no longer XFAIL.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@942 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.in: Add --enable-install-tests to support test suite
installation; only add -no-install to TEST_LDFLAGS if not given.
* test/Makefile.in (install, random.txt): New targets.
(LINK): Use TEST_LDFLAGS.
(ZLIB_HELPERS): Add random.txt.
* test/compress.c (init): Use random.txt in pwd rather than trying to
find NEWS from the srcdir.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@648 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/ne_auth.c (ah_post_send): Print auth_hdr safely.
Remove unused SAFELY macro.
* src/ne_compress.c (process_footer): Don't invoke reader callback
with len=0 here as well when end-of-response is really reached.
(do_inflate): Do pass on the reader callback return value.
* test/compress.c (reader): Catch multiple invocations with len=0.
(retry_accept): Reset the reader state.
(reader_abort, compress_abort): New functions.
* src/ne_xml.c (end_element): Use NE_DBG_XML debug channel for
consistency.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@636 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
| |
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@506 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
| |
response-header-handling fixes.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@435 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
| |
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@344 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
response rather than returning errors via ne_decompress_destroy.
* src/ne_compress.c (struct ne_decompress_s): Remove NE_Z_ERROR state.
(parse_header, do_inflate): Don't set error state.
(gz_reader): Do truncated response handling properly at
end-of-response. Don't set state to NE_Z_ERROR on error cases, just
return failure and abort the response.
(ne_decompress_destroy): Return void, do no error handling here.
* test/compress.c (reader): Abort on failure.
(do_fetch): Handle errors returned via ne_request_dispatch rather
than ne_decompress_destroy.
(fail_trailing_1b, fail_empty, notcomp_empty): New tests.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@336 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/ne_request.h (ne_block_reader): Return error code.
* src/ne_request.c (ne_read_response_block): Fail with -1 if a reader
callback returns an error.
* src/ne_xml.c (ne_xml_parse_v): Return 0 (for the moment).
* src/ne_basic.c (get_to_fd): Return error.
* src/ne_compress.c (gz_reader): Return 0 (mostly), or pass through.
* src/ne_auth.c (auth_body_reader): Return 0.
* test/compress.c (reader): Return error.
* test/request.c (collector): Return 0.
(abortive_reader, abort_reader): New functions.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@308 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
| |
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@256 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
| |
git-svn-id: http://svn.webdav.org/repos/projects/neon/branches/0.24.x@244 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
git-svn-id: http://svn.webdav.org/repos/projects/neon/branches/0.24.x@243 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|