1
------------------------------------------------------------------------
2
r847 | joe | 2006-01-20 18:01:52 +0000 (Fri, 20 Jan 2006) | 1 line
5
------------------------------------------------------------------------
6
r846 | joe | 2006-01-16 13:58:14 +0000 (Mon, 16 Jan 2006) | 2 lines
10
------------------------------------------------------------------------
11
r845 | joe | 2006-01-11 12:58:20 +0000 (Wed, 11 Jan 2006) | 9 lines
13
Merge r838 from trunk:
15
Fix build on some AIX systems:
17
* src/ne_request.c: Include sys/limits.h if available. Define
18
LONG_LONG_MAX to LONGLONG_MAX if necessary.
20
* macros/neon.m4 (LIBNEON_SOURCE_CHECKS): Check for sys/limits.h.
22
------------------------------------------------------------------------
23
r844 | joe | 2006-01-11 12:53:07 +0000 (Wed, 11 Jan 2006) | 2 lines
25
* test/request.c (icy_protocol): Add test case.
27
------------------------------------------------------------------------
28
r843 | joe | 2006-01-11 12:46:29 +0000 (Wed, 11 Jan 2006) | 3 lines
30
* src/ne_request.c (read_status_line): Handle ICY protocol responses
33
------------------------------------------------------------------------
34
r841 | joe | 2006-01-10 23:25:14 +0000 (Tue, 10 Jan 2006) | 16 lines
36
Merge r837, r839, r840 from trunk:
38
Patch from Stefan Küng to fix endless authentication loop if the
41
* src/ne_sspi.c, src/ne_sspi.h:
42
New public function to tell the lib that an authentication was
44
Return an error if the authentication is restarted without a
45
successful authentication before.
47
Call the new public function to tell the library about a successful
50
* src/ne_auth.c (ah_post_send): Fix non-SSPI build.
52
------------------------------------------------------------------------
53
r762 | joe | 2005-11-28 11:04:31 +0000 (Mon, 28 Nov 2005) | 16 lines
55
Merge r759, r760, r761 from trunk:
57
* src/ne_openssl.c (ne_ssl_clicert_decrypt): Check that private
60
* test/makekeys.sh: Create a PKCS#12 client cert with embedded CA
63
* test/Makefile.in (clean): Clean all PKCS#12 certs.
65
* test/ssl.c (load_client_cert): Load the new cert.
67
* test/ssl.c (wildcard_init): Update error message now most hostname
68
commands should work OK.
71
------------------------------------------------------------------------
72
r756 | joe | 2005-11-25 00:28:32 +0000 (Fri, 25 Nov 2005) | 8 lines
74
Merge r746, r754 from trunk:
76
* src/ne_openssl.c (ne_d2i_uchar): Add typedef.
77
(ne_ssl_cert_import): Use ne_d2i_uchar as type of second
80
* test/makekeys.sh: Fix new domain extraction for multi-part domains.
82
------------------------------------------------------------------------
83
r738 | joe | 2005-10-20 18:58:28 +0100 (Thu, 20 Oct 2005) | 2 lines
87
------------------------------------------------------------------------
88
r737 | joe | 2005-10-14 13:55:01 +0100 (Fri, 14 Oct 2005) | 15 lines
90
Merge r735, r736 from trunk:
92
GSSAPI fixes for non-MIT Kerberos implementations, from Mikhail
95
* src/ne_auth.c (clean_session): Pass pointer to gssctx to
96
gss_delete_sec_context. Don't release stored gssmech.
97
(continue_negotiate): Pass sess->gssmech directly to
99
(free_auth): Pass pointer to stored name to gss_release_name.
101
* test/makekeys.sh: Begin octal escapes with \0; use sed to munge
102
hostname. (based on patch by Mikhail Teterin)
105
------------------------------------------------------------------------
106
r731 | joe | 2005-10-09 09:21:22 +0100 (Sun, 09 Oct 2005) | 8 lines
108
Merge r729, r730 from trunk:
110
* src/ne_request.c [!NE_LFS]: Define NE_OFFT_MAX correctly for
111
platforms with sizeof(off_t) == sizeof(long long).
113
* src/ne_private.h (struct ne_session_s): Use 512-byte buffer for
116
------------------------------------------------------------------------
117
r728 | joe | 2005-10-06 09:36:24 +0100 (Thu, 06 Oct 2005) | 8 lines
119
Merge r718, r719, r721 from trunk:
121
* doc/ref/iaddr.xml: Fix function name.
123
* doc/ref/reqopts.xml: Fix parameter type.
125
* config.hw.in (in_addr_t) [!USE_GETADDRINFO]: Define to unsigned int.
127
------------------------------------------------------------------------
128
r727 | joe | 2005-10-06 09:27:29 +0100 (Thu, 06 Oct 2005) | 12 lines
130
Merge r726 from trunk:
132
* src/ne_defs.h (NE_BUFSIZ): Define.
134
* src/ne_request.c (struct ne_request_s): Use NE_BUFSIZ for respbuf
136
(send_request_body): Use NE_BUFSIZ for buffer.
137
(ne_print_request_header): Use NE_BUFSIZ for stack buffer.
139
* src/ne_compress.c (struct ne_decompress_s): Use NE_BUFSIZ for outbuf
142
------------------------------------------------------------------------
143
r717 | joe | 2005-09-19 10:15:43 +0100 (Mon, 19 Sep 2005) | 6 lines
145
Merge r715, r716 from trunk:
147
* doc/ref/resphdr.xml: Fix typo in element name.
149
* src/ne_request.h (ne_get_response_header): Fix docco.
151
------------------------------------------------------------------------
152
r714 | joe | 2005-09-19 10:12:14 +0100 (Mon, 19 Sep 2005) | 14 lines
154
Merge r695, r696, r698 from trunk:
156
* doc/ref/opts.xml: Update for neon 0.25 API.
158
* doc/ref/reqopts.xml: Document ne_set_request_expect100.
160
* doc/ref/opts.xml: Remove ne_set_expect100 documentation.
162
* doc/manual.xml: Pull in reqopts.xml.
164
* doc/ref/resphdr.xml: New file; document response header handling.
166
* doc/manual.xml: Reference it.
168
------------------------------------------------------------------------
169
r700 | joe | 2005-09-17 10:10:51 +0100 (Sat, 17 Sep 2005) | 3 lines
171
* test/common/tests.h (ONCMP): Print actual/expected strings if other
174
------------------------------------------------------------------------
175
r683 | joe | 2005-08-20 09:39:28 +0100 (Sat, 20 Aug 2005) | 2 lines
177
* macros/neon.m4 (NE_VERSIONS_BUNDLED): Bump to 0.25.3.
179
------------------------------------------------------------------------
180
r681 | joe | 2005-08-19 10:40:16 +0100 (Fri, 19 Aug 2005) | 12 lines
182
Merge r678, r679 from trunk:
184
* src/ne_socket.c (ne_addr_resolve) [!USE_GETADDRINFO]: Use in_addr_t
185
not unsigned long for address; fix for LP64 platforms - patch by
188
* macros/neon.m4 (LIBNEON_SOURCE_CHECKS): Add check for in_addr_t.
189
Fix check for h_errno declaration.
191
* src/ne_socket.c (INADDR_NONE): Define using in_addr_t if system is
192
missing the definition.
194
------------------------------------------------------------------------
195
r672 | joe | 2005-08-14 18:24:19 +0100 (Sun, 14 Aug 2005) | 16 lines
197
Merge r652 to r671 from trunk:
199
* test/Makefile.in (VALGRIND): Update to work with modern valgrind.
201
* macros/neon.m4 (NE_MACOSX): Disable poll on Darwin.
205
* src/ne_redirect.c (post_send): Code cleanup.
207
* src/ne_locks.c (ne_lock, ne_unlock): Don't lose the NE_AUTH etc
208
return code for non-2xx responses.
210
* test/lock.c (fail_lockauth, no_creds): Add test case.
213
------------------------------------------------------------------------
214
r659 | joe | 2005-07-06 21:46:42 +0100 (Wed, 06 Jul 2005) | 1 line
217
------------------------------------------------------------------------
218
r658 | joe | 2005-07-06 21:45:12 +0100 (Wed, 06 Jul 2005) | 2 lines
222
------------------------------------------------------------------------
223
r653 | joe | 2005-07-02 12:17:31 +0100 (Sat, 02 Jul 2005) | 19 lines
225
Merge r637 to r651 from trunk:
227
* Makefile.in (install-tests): New target.
229
* configure.in: Add --enable-install-tests to support test suite
230
installation; only add -no-install to TEST_LDFLAGS if not given.
232
* test/Makefile.in (install, random.txt): New targets.
233
(LINK): Use TEST_LDFLAGS.
234
(ZLIB_HELPERS): Add random.txt.
236
* test/compress.c (init): Use random.txt in pwd rather than trying to
237
find NEWS from the srcdir.
239
* src/ne_xml.c: Omit BOM handling for recent releases of libxml2.
241
* configure.in: Disable tests-install mode by default.
244
------------------------------------------------------------------------
245
r637 | joe | 2005-06-22 14:22:08 +0100 (Wed, 22 Jun 2005) | 5 lines
247
Merge r635 to r636 from trunk:
249
* config.hw.in: Really fix the Win32 build.
252
------------------------------------------------------------------------
253
r631 | joe | 2005-06-21 11:31:29 +0100 (Tue, 21 Jun 2005) | 3 lines
255
* src/ne_auth.c (ah_post_send): Print auth_hdr safely.
256
Remove unused SAFELY macro.
258
------------------------------------------------------------------------
259
r629 | joe | 2005-06-21 10:45:52 +0100 (Tue, 21 Jun 2005) | 3 lines
261
* src/ne_xml.c (end_element): Use NE_DBG_XML debug channel for
264
------------------------------------------------------------------------
265
r628 | joe | 2005-06-21 07:37:05 +0100 (Tue, 21 Jun 2005) | 2 lines
267
* macros/neon.m4 (NE_VERSIONS_BUNDLED): Bump to 0.25.1.
269
------------------------------------------------------------------------
270
r627 | joe | 2005-06-21 07:32:52 +0100 (Tue, 21 Jun 2005) | 9 lines
272
* src/ne_compress.c (process_footer): Don't invoke reader callback
273
with len=0 here as well when end-of-response is really reached.
274
(do_inflate): Do pass on the reader callback return value.
276
* test/compress.c (reader): Catch multiple invocations with len=0.
277
(retry_accept): Reset the reader state.
278
(reader_abort, compress_abort): New functions.
281
------------------------------------------------------------------------
282
r626 | joe | 2005-06-01 10:28:28 +0100 (Wed, 01 Jun 2005) | 2 lines
286
------------------------------------------------------------------------
287
r625 | joe | 2005-06-01 10:19:15 +0100 (Wed, 01 Jun 2005) | 16 lines
289
Merge r620 to r624 from trunk:
291
* src/ne_xml.c (char_data): Tidy up debug message.
293
* src/ne_xml.c (start_element): Use NE_DBG_XML debug constant.
294
(ne_xml_parse): Use NE_DBG_XMLPARSE debug constant.
296
* src/ne_basic.c (ne_get_content_type): Ensure that ->charset is NULL
297
on exit (Johannes Schneider).
299
* test/basic.c (content_type): Test that all fields are set.
301
* src/ne_openssl.c (ne__negotiate_ssl): Replace the cached session
302
with the new one if they differ; based on patch by Robert Eiglmaier.
305
------------------------------------------------------------------------
306
r620 | joe | 2005-05-19 22:11:34 +0100 (Thu, 19 May 2005) | 25 lines
308
Merge r593 to r619 from trunk:
310
* neon-config.in: Remove idna support flag.
312
* src/ne_request.h: Fix nonsensical API requirement.
314
* src/ne_dates.c (rfc1123_weekdays, short_months): Mark pointers as
317
* src/ne_string.c (b64_alphabet): Use constant array; eliminate last
318
sizeof(pointer)'s worth of data section in libneon.
320
* INSTALL.win32: Update to reference 0.9.7g from confirmation from
323
* src/ne_auth.c: Fix Windows SSPI build.
325
* TODO: Credit Vladimir.
327
* src/ne_request.h (ne_hook_post_send): Clarify when the post_send
333
------------------------------------------------------------------------
334
r600 | joe | 2005-04-24 19:35:42 +0100 (Sun, 24 Apr 2005) | 6 lines
336
Merge r599 from trunk:
338
* macros/neon.m4 (NE_REQUIRE_VERSIONS): New macro, replacing
339
NEON_REQUIRE. (NEON_CHECK_VERSION): Just check version against that
340
reported by 'neon-config --version'; support multiple minor versions.
342
------------------------------------------------------------------------
343
r590 | joe | 2005-04-24 11:38:01 +0100 (Sun, 24 Apr 2005) | 2 lines
345
* macros/neon.m4 (NE_VERSIONS_BUNDLED): Bump to 0.25.0 final.
347
------------------------------------------------------------------------
348
r589 | joe | 2005-04-24 11:07:37 +0100 (Sun, 24 Apr 2005) | 5 lines
350
Merge r587 to r588 from trunk:
352
* test/stubs.c [!NE_HAVE_ZLIB] (sd_reader): Fix to match prototype.
355
------------------------------------------------------------------------
356
r587 | joe | 2005-04-24 09:16:26 +0100 (Sun, 24 Apr 2005) | 10 lines
358
Merge r583 to r586 from trunk:
360
* src/Makefile.in (c++.c): Fix to exclude ne_privssl.h too.
362
* macros/neon.m4 (NEON_WARNINGS): Tweak gcc warnings.
364
* test/request.c (send_bad_offset): Use an empty file and a negative
365
offset rather than /dev/null.
368
------------------------------------------------------------------------
369
r583 | joe | 2005-04-17 22:30:33 +0100 (Sun, 17 Apr 2005) | 4 lines
371
Merge r582 from trunk:
373
* Makefile.in (DIST_HEADERS): Do install ne_xmlreq.h.
375
------------------------------------------------------------------------
376
r580 | joe | 2005-04-17 21:55:06 +0100 (Sun, 17 Apr 2005) | 4 lines
378
Merge r579 from trunk:
380
* src/ne_stubssl.c (ne_ssl_clicert_name): Match new prototype.
382
------------------------------------------------------------------------
383
r576 | joe | 2005-04-17 17:03:14 +0100 (Sun, 17 Apr 2005) | 4 lines
385
* config.hw.in: Define the correct version macros.
387
* autogen.sh: Substitute release correctly.
389
------------------------------------------------------------------------
390
r575 | joe | 2005-04-17 16:53:31 +0100 (Sun, 17 Apr 2005) | 2 lines
392
* macros/neon.m4 (NE_VERSIONS_BUNDLED): Bump to 0.25.0-pre1.
394
------------------------------------------------------------------------
395
r573 | joe | 2005-04-17 16:30:20 +0100 (Sun, 17 Apr 2005) | 14 lines
397
Add back ne_compress pre_send hack in leiu of the more risky content
398
handler changes for 0.25.x:
400
* src/ne_private.h (ne__reqhook_pre_send): Declare function.
402
* src/ne_request.c (struct ne_request_s): Add per-request pre_send
404
(ne__reqhook_pre_send): New function.
405
(ne_request_destroy): Free per-request pre_send hooks.
406
(build_request): Run per-request pre_send hooks.
408
* src/ne_compress.c (gz_pre_send): New function.
409
(ne_decompress_reader): Register the hook.
411
------------------------------------------------------------------------
412
r572 | joe | 2005-04-16 17:37:19 +0100 (Sat, 16 Apr 2005) | 19 lines
414
Merge r567, r568, r569, r570, r571 from trunk:
416
* src/ne_request.h: Improve general comments.
417
(ne_request_dispatch, ne_set_request_expect100): Clarify.
418
(ne_get_session): Mark as const.
420
* src/ne_request.c (body_fd_send): Set session error string if seek
421
fails, per new interface requirement.
423
* test/request.c (send_bad_offset): New test.
425
* src/ne_openssl.c (check_identity): Destroy buffer on error path.
427
* test/request.c (iterate_many): Destroy temp buffer.
429
* src/ne_openssl.c (check_identity): Destroy buffer on error path.
431
* src/ne_alloc.c (ne_realloc_ml): Fix realloc tracking.
433
------------------------------------------------------------------------
434
r566 | joe | 2005-04-15 01:45:54 +0100 (Fri, 15 Apr 2005) | 2 lines
438
------------------------------------------------------------------------
439
r565 | joe | 2005-04-14 20:07:58 +0100 (Thu, 14 Apr 2005) | 7 lines
441
Merge r562, r563 from trunk:
443
* Makefile.in (DIST_HEADERS): Don't try to install non-existant
446
* neon-config.in: Fix syntax error.
448
------------------------------------------------------------------------
449
r564 | joe | 2005-04-14 20:06:41 +0100 (Thu, 14 Apr 2005) | 2 lines
451
Updates for 0.25.0 changes.
453
------------------------------------------------------------------------
454
r561 | joe | 2005-04-14 19:48:16 +0100 (Thu, 14 Apr 2005) | 22 lines
456
Merge r553, r554, r558, r559, r560 from trunk:
458
* src/Makefile.in: Add deps for ne_xmlreq.c.
460
* macros/neon.m4 (NE_DEFINE_VERSIONS): New macro.
461
(NE_VERSIONS_BUNDLED): Renamed from NEON_VERSIONS; use
463
(NEON_USE_EXTERNAL): Use NE_DEFINE_VERSIONS.
465
* configure.in: Use NE_VERSIONS_BUNDLED.
467
* src/ne_utils.c (ne_version_match): Update for new version macros;
468
make behaviour and docs match reference documentation.
470
* test/util-tests.c (versioning): Update for new macros, correct
473
* src/ne_ssl.h (ne_ssl_clicert_name): Take const clicert argument.
475
* src/ne_openssl.c, src/ne_gnutls.c: Adapt likewise.
478
------------------------------------------------------------------------
479
r552 | joe | 2005-04-05 11:20:35 +0100 (Tue, 05 Apr 2005) | 2 lines
481
Create 0.25.x branch.
483
------------------------------------------------------------------------
484
r551 | joe | 2005-04-05 11:19:42 +0100 (Tue, 05 Apr 2005) | 2 lines
488
------------------------------------------------------------------------
489
r550 | joe | 2005-04-05 11:19:16 +0100 (Tue, 05 Apr 2005) | 2 lines
491
* src/ne_request.h: Improve comment wording.
493
------------------------------------------------------------------------
494
r549 | joe | 2005-04-05 00:50:26 +0100 (Tue, 05 Apr 2005) | 2 lines
498
------------------------------------------------------------------------
499
r548 | joe | 2005-04-04 21:01:56 +0100 (Mon, 04 Apr 2005) | 2 lines
503
------------------------------------------------------------------------
504
r547 | joe | 2005-04-04 20:51:33 +0100 (Mon, 04 Apr 2005) | 3 lines
506
* test/uri-tests.c (leak_authinfo): Remove test; API now clarified
507
such that current implementation is valid.
509
------------------------------------------------------------------------
510
r546 | joe | 2005-04-04 20:50:36 +0100 (Mon, 04 Apr 2005) | 2 lines
512
* src/ne_uri.h (ne_uri_free, ne_uri_parse): Clarify API.
514
------------------------------------------------------------------------
515
r545 | joe | 2005-04-04 20:40:08 +0100 (Mon, 04 Apr 2005) | 4 lines
517
* src/ne_alloc.c, src/ne_alloc.h (ne_oom_callback): Use a typedef for
518
the callback argument, to fix warnings with OpenWatcom; patch by
521
------------------------------------------------------------------------
522
r544 | joe | 2005-04-04 20:34:26 +0100 (Mon, 04 Apr 2005) | 4 lines
524
* src/ne_request.c (add_fixed_headers): Send "close" token in
525
Connection header if persistent connections are disabled; patch by Tom
526
Hoefakker. Use ne_buffer_czappend throughout.
528
------------------------------------------------------------------------
529
r542 | joe | 2005-04-04 18:32:15 +0100 (Mon, 04 Apr 2005) | 6 lines
531
* test/xmlreq.c: New file.
533
* test/Makefile.in: Build it.
535
* test/utils.h: Include child.h.
537
------------------------------------------------------------------------
538
r541 | joe | 2005-04-04 18:30:50 +0100 (Mon, 04 Apr 2005) | 8 lines
540
* src/ne_xmlreq.h (ne_xml_parse_response, ne_xml_dispatch_request):
541
Specify that session error string is set for XML parse errors.
543
* src/ne_xmlreq.c (parse_error): New function.
544
(ne_xml_parse_response): On successful end-of-response, tell
545
the the XML parser the end of the document is reached. Use
546
parse_error() for error handling.
548
------------------------------------------------------------------------
549
r540 | joe | 2005-04-04 14:49:25 +0100 (Mon, 04 Apr 2005) | 2 lines
551
* src/ne_socket.c (ne_service_lookup): Remove function.
553
------------------------------------------------------------------------
554
r531 | joe | 2005-03-19 22:30:43 +0000 (Sat, 19 Mar 2005) | 2 lines
556
* test/request.c: Remove idna_hostname; missed in previous commit.
558
------------------------------------------------------------------------
559
r530 | joe | 2005-03-19 22:19:37 +0000 (Sat, 19 Mar 2005) | 7 lines
561
Avoid use of "read" and "write" since POSIX owns these names and
562
allows them to be macros.
564
* src/ne_socket.c (struct iofns): Rename read and write functions to
566
(ne_sock_read, ne_sock_peek, ne_sock_fullwrite, ne_sock_readline): Synch.
568
------------------------------------------------------------------------
569
r529 | joe | 2005-03-19 21:24:27 +0000 (Sat, 19 Mar 2005) | 2 lines
571
* src/ne_uri.c (uri_paths): Fix URI encoding default.
573
------------------------------------------------------------------------
574
r518 | joe | 2005-03-05 09:14:59 +0000 (Sat, 05 Mar 2005) | 11 lines
576
Remove support for IDNA: IDNA really needs to be done at application
579
* macros/neon.m4 (NEON_LIBIDN): Remove.
581
* src/ne_session.c (set_hostinfo): Remove IDNA support.
583
* src/ne_utils.c, src/ne_utils.h: Don't advertise IDNA feature.
585
* test/util-tests.c, test/request.c: Remove IDNA tests.
587
------------------------------------------------------------------------
588
r517 | joe | 2005-03-03 19:25:11 +0000 (Thu, 03 Mar 2005) | 3 lines
590
* src/ne_socket.c (NE_ISRESET): Also treat ENOTCONN as a "connection
593
------------------------------------------------------------------------
594
r516 | joe | 2005-03-03 19:20:03 +0000 (Thu, 03 Mar 2005) | 3 lines
596
* macros/neon-xml-parser.m4 (NEON_XML_PARSER): Default to detect
597
expat; fall back on libxml2.
599
------------------------------------------------------------------------
600
r515 | joe | 2005-03-03 19:11:45 +0000 (Thu, 03 Mar 2005) | 3 lines
602
* macros/neon.m4 (NEON_SSL): Disable GNU TLS support for the 0.25.0
603
release, since it's not complete yet.
605
------------------------------------------------------------------------
606
r512 | joe | 2005-02-28 14:17:09 +0000 (Mon, 28 Feb 2005) | 2 lines
608
Note string type changes.
610
------------------------------------------------------------------------
611
r511 | joe | 2005-02-28 14:16:24 +0000 (Mon, 28 Feb 2005) | 5 lines
613
Missed in previous commit:
615
* src/ne_ssl.h (ne_ssl_cert_identity, ne_ssl_cert_name): Define to
618
------------------------------------------------------------------------
619
r510 | joe | 2005-02-28 14:15:59 +0000 (Mon, 28 Feb 2005) | 9 lines
621
* src/ne_ssl.h (ne_ssl_cert_identity, ne_ssl_cert_name): Define to
624
* src/ne_openssl.c (append_dirstring): Factor out from
625
ne_ssl_readable_dname. (ne_ssl_readable_dname): Use factored-out
626
version. (dup_ia5string): New function.
627
(check_identity): Use append_dirstring to convert commonName
628
to UTF-8 if necessary; use dup_ia5string.
630
------------------------------------------------------------------------
631
r509 | joe | 2005-02-28 14:09:02 +0000 (Mon, 28 Feb 2005) | 9 lines
633
* src/ne_ssl.h (ne_ssl_cert_identity, ne_ssl_cert_name): Define to
636
* src/ne_openssl.c (append_dirstring): Factor out from
637
ne_ssl_readable_dname. (ne_ssl_readable_dname): Use factored-out
638
version. (dup_ia5string): New function.
639
(check_identity): Use append_dirstring to convert commonName
640
to UTF-8 if necessary; use dup_ia5string.
642
------------------------------------------------------------------------
643
r508 | joe | 2005-02-28 11:54:17 +0000 (Mon, 28 Feb 2005) | 2 lines
645
* test/xml.c (matches): Test that with-BOM without-prolog also parses.
647
------------------------------------------------------------------------
648
r507 | joe | 2005-02-28 11:53:39 +0000 (Mon, 28 Feb 2005) | 3 lines
650
* src/ne_xml.c (ne_xml_parser_s, ne_xml_parse): Conditionalize BOM
651
handling to expat <= 1.95.2 and all current versions of libxml2.
653
------------------------------------------------------------------------
654
r506 | joe | 2005-02-28 11:07:11 +0000 (Mon, 28 Feb 2005) | 2 lines
656
* test/compress.c: Fix signedness warning.
658
------------------------------------------------------------------------
659
r505 | joe | 2005-02-28 11:03:42 +0000 (Mon, 28 Feb 2005) | 3 lines
661
* test/socket.c (addr_compare): Fix to pass real raw addresses and
662
fixed signedness warnings.
664
------------------------------------------------------------------------
665
r504 | joe | 2005-02-28 10:54:28 +0000 (Mon, 28 Feb 2005) | 2 lines
667
Add ne_get_content_type change and reshuffle.
669
------------------------------------------------------------------------
670
r503 | joe | 2005-02-28 10:52:09 +0000 (Mon, 28 Feb 2005) | 3 lines
672
* src/ne_basic.h (ne_get_content_type): Clarify that all fields will
673
be non-NULL on success.
675
------------------------------------------------------------------------
676
r502 | joe | 2005-02-26 19:57:19 +0000 (Sat, 26 Feb 2005) | 2 lines
678
Note provider-callback error handling API change; fixed bug.
680
------------------------------------------------------------------------
681
r501 | joe | 2005-02-26 19:56:24 +0000 (Sat, 26 Feb 2005) | 14 lines
684
* src/ne_private.h (ne__pull_request_body): Remove prototype.
686
* src/ne_request.h: Require that request-body-provider callback sets
687
the session error string if returning errors.
689
* src/ne_request.c (struct ne_request_s): Remove body_progress field.
690
(send_request_body): Combine old ne__pull_request_body,
691
send_request_body and send_with_progress functions into one. Fix
692
error handling confusion between provider errors and socket errors;
693
move NE_RETRY handling here and take a retry flag. (send_request):
694
Update to pass retry flag to send_request_body and remove NE_RETRY
695
handling on errors from same.
697
------------------------------------------------------------------------
698
r500 | joe | 2005-02-26 19:24:49 +0000 (Sat, 26 Feb 2005) | 1 line
701
------------------------------------------------------------------------
702
r499 | joe | 2005-02-26 19:23:52 +0000 (Sat, 26 Feb 2005) | 3 lines
704
ne_lock_refresh does now DTRT, and D.J.'s cunningly borked proxy
705
should now be handled.
707
------------------------------------------------------------------------
708
r498 | joe | 2005-02-26 19:22:31 +0000 (Sat, 26 Feb 2005) | 6 lines
710
* src/ne_request.h: Remove EOL definition, namespace violation.
712
* test/stubs.c, test/lock.c, test/auth.c, src/ne_request.c,
713
src/ne_request.h, src/ne_props.c, src/ne_acl.c, src/ne_locks.c: Define
716
------------------------------------------------------------------------
717
r497 | joe | 2005-02-26 19:16:14 +0000 (Sat, 26 Feb 2005) | 3 lines
719
* src/ne_locks.c (ne_lock_refresh): Always update timeout of passed-in
720
lock structure, even if new timeout is unknown.
722
------------------------------------------------------------------------
723
r496 | joe | 2005-02-26 19:10:19 +0000 (Sat, 26 Feb 2005) | 2 lines
725
ne_uri_escape escaping rules updated.
727
------------------------------------------------------------------------
728
r495 | joe | 2005-02-26 19:09:52 +0000 (Sat, 26 Feb 2005) | 2 lines
730
* src/ne_uri.h (ne_path_escape): Fix grammar.
732
------------------------------------------------------------------------
733
r494 | joe | 2005-02-26 19:02:53 +0000 (Sat, 26 Feb 2005) | 4 lines
735
* ChangeLog.CVS: Renamed from ChangeLog.
737
* Makefile.in (ChangeLog): New target.
739
------------------------------------------------------------------------
740
r493 | joe | 2005-02-26 18:58:46 +0000 (Sat, 26 Feb 2005) | 2 lines
742
* macros/neon.m4 (NE_SNPRINTF): Use new trio URL.
744
------------------------------------------------------------------------
745
r492 | joe | 2005-02-26 18:57:32 +0000 (Sat, 26 Feb 2005) | 3 lines
747
* src/ne_socket.c (init_ssl): Call OpenSSL_add_all_algorithms instead
748
of the specific PKCS12_PBE_add.
750
------------------------------------------------------------------------
751
r488 | joe | 2005-02-24 14:42:09 +0000 (Thu, 24 Feb 2005) | 4 lines
753
* src/ne_auth.c (clean_session, make_gss_error, free_auth): Fixed
754
signdness mismatch warnings from GSSAPI code; always use unsigned
755
integers for error codes.
757
------------------------------------------------------------------------
758
r483 | joe | 2005-02-24 14:05:44 +0000 (Thu, 24 Feb 2005) | 2 lines
760
* macros/neon.m4 (NEON_FORMAT): Support type arguments with spaces.
762
------------------------------------------------------------------------
763
r481 | joe | 2005-02-14 16:07:35 +0000 (Mon, 14 Feb 2005) | 3 lines
765
* configure.in: Just AC_DEFINE NEON_IS_LIBRARY; update copyright
766
notice; be less noisy.
768
------------------------------------------------------------------------
769
r480 | joe | 2005-02-14 16:02:58 +0000 (Mon, 14 Feb 2005) | 2 lines
771
* Makefile.in (clean, subdirs, check): Be less noisy.
773
------------------------------------------------------------------------
774
r479 | joe | 2005-02-14 15:43:27 +0000 (Mon, 14 Feb 2005) | 10 lines
776
* common/tests.c (W): Suppress glibc warn_unused_result annoyance.
777
(W_RED): New macro. (child_segv): Use W_RED; do dump core.
778
(parent_segv): Rename from segv; don't call async-signal-unsafe
779
fflush(); use W_RED; sleep after kill();
780
(in_child, main): Install signal handlers for SIGABRT as well
783
* common/child.c (server_child, spawn_server_repeat): Suppress glibc
784
warn_unused_result annoyance; abort if write() fails.
786
------------------------------------------------------------------------
787
r477 | joe | 2005-02-11 13:15:22 +0000 (Fri, 11 Feb 2005) | 2 lines
789
* neon-config.in (--libs): Don't print -L$libdir if $prefix==/usr.
791
------------------------------------------------------------------------
792
r464 | joe | 2005-01-27 22:27:26 +0000 (Thu, 27 Jan 2005) | 3 lines
794
* test/uri-tests.c (leak_authinfo): Add expected-leaky test for
797
------------------------------------------------------------------------
798
r463 | joe | 2005-01-27 22:13:10 +0000 (Thu, 27 Jan 2005) | 3 lines
800
* src/ne_auth.c: Only include ne_private.h for GSSAPI code.
801
(digest_body): Remove function.
803
------------------------------------------------------------------------
804
r462 | joe | 2005-01-27 22:04:44 +0000 (Thu, 27 Jan 2005) | 7 lines
806
* src/ne_auth.c: Drop qop=auth-int support, sice it is universally
807
unimplemented by servers and comes with too much baggage. (struct
808
auth_challenge): Drop qop_auth_int field. (digest_challenge,
809
request_digest, verify_digest_response, auth_challenge, ah_pre_send):
810
Drop qop=auth-int support.
811
(auth_body_reader): Remove function.
813
------------------------------------------------------------------------
814
r461 | joe | 2005-01-27 21:56:19 +0000 (Thu, 27 Jan 2005) | 2 lines
816
* src/ne_locks.c (ne_lock): Use ne_xml_dispatch_request.
818
------------------------------------------------------------------------
819
r460 | joe | 2005-01-27 21:50:32 +0000 (Thu, 27 Jan 2005) | 1 line
822
------------------------------------------------------------------------
823
r459 | joe | 2005-01-27 20:05:25 +0000 (Thu, 27 Jan 2005) | 2 lines
825
* neon.mak: Conditionally enable SSPI support (Vladimir).
827
------------------------------------------------------------------------
828
r458 | joe | 2005-01-27 20:04:39 +0000 (Thu, 27 Jan 2005) | 2 lines
830
* test/cookies.c: Remove file.
832
------------------------------------------------------------------------
833
r457 | joe | 2005-01-27 20:03:53 +0000 (Thu, 27 Jan 2005) | 11 lines
835
Fix SSPI code so that it compiles for Win32 (Vladimir):
837
* src/ne_sspi.h (ne_sspi_deinit): fixed return type.
839
* src/ne_sspi.c: Added preprocessor check HAVE_SSPI to allow compilation
841
(getMaxTokenSize): removed const qualifier for package parameter because
842
it has to be passed to a function that takes a not const reference.
843
(ne_sspi_init, ne_sspi_deinit): Match the function names to the correct
846
------------------------------------------------------------------------
847
r456 | joe | 2005-01-27 20:01:48 +0000 (Thu, 27 Jan 2005) | 2 lines
849
* neon.mak: Don't build ne_cookies.c (Vladimir).
851
------------------------------------------------------------------------
852
r450 | joe | 2005-01-26 16:22:26 +0000 (Wed, 26 Jan 2005) | 2 lines
854
* src/ne_session.h (ne_set_persist): Clarify lifetime of addrs array.
856
------------------------------------------------------------------------
857
r449 | joe | 2005-01-26 14:36:02 +0000 (Wed, 26 Jan 2005) | 7 lines
859
* src/ne_uri.h (ne_path_escape): Define to percent-encode any
860
characters barring unreserved and forward-slash.
862
* src/ne_uri.c (uri_chars): Update to use RF3986 grammar productions.
863
(path_escape_ch): Replaces ESCAPE. (ne_path_escape): Clean up, use
866
------------------------------------------------------------------------
867
r448 | joe | 2005-01-26 09:23:36 +0000 (Wed, 26 Jan 2005) | 2 lines
869
* src/ne_auth.c (get_gss_name): Remove redundant buffer initilization.
871
------------------------------------------------------------------------
872
r446 | joe | 2005-01-22 00:00:54 +0000 (Sat, 22 Jan 2005) | 4 lines
874
* src/ne_request.c (read_message_header, read_response_headers):
875
Clarify that both functions guarantee to close the connection on
878
------------------------------------------------------------------------
879
r445 | joe | 2005-01-21 23:54:36 +0000 (Fri, 21 Jan 2005) | 3 lines
881
* test/request.c (fail_on_invalid): Test for chunk size overflow and
882
EOF-at-chunk-size cases.
884
------------------------------------------------------------------------
885
r444 | joe | 2005-01-21 23:47:55 +0000 (Fri, 21 Jan 2005) | 3 lines
887
* test/request.c (fail_on_invalid): Rename from fail_corrupt_chunks;
888
test for invalid C-L in response.
890
------------------------------------------------------------------------
891
r443 | joe | 2005-01-21 23:41:42 +0000 (Fri, 21 Jan 2005) | 4 lines
893
* src/ne_request.c (ne_begin_request): Reorder message-length logic to
894
avoid doing unnecessary work. Fail rather than ignore an invalid
895
Content-Length response header.
897
------------------------------------------------------------------------
898
r442 | joe | 2005-01-21 23:38:57 +0000 (Fri, 21 Jan 2005) | 3 lines
900
* Makefile.in (cover): Remove all .*da files before running coverage
901
testing to avoid gcda merge errors.
903
------------------------------------------------------------------------
904
r441 | joe | 2005-01-21 17:41:00 +0000 (Fri, 21 Jan 2005) | 1 line
907
------------------------------------------------------------------------
908
r440 | joe | 2005-01-21 17:28:19 +0000 (Fri, 21 Jan 2005) | 3 lines
910
* src/ne_request.h (ne_get_response_header,
911
ne_response_header_iterate): Clarify API guarantees.
913
------------------------------------------------------------------------
914
r439 | joe | 2005-01-21 17:23:06 +0000 (Fri, 21 Jan 2005) | 7 lines
916
Add a response-header iterator interface, needed by OpenOffice:
918
* src/ne_request.c (struct ne_request_s): Add current_index field.
919
(ne_response_header_iterate): New function.
921
* test/request.c (iterate_many, iterate_none): New tests.
923
------------------------------------------------------------------------
924
r438 | joe | 2005-01-21 16:28:52 +0000 (Fri, 21 Jan 2005) | 2 lines
926
* src/ne_request.c (struct field): Remove unused valloc field.
928
------------------------------------------------------------------------
929
r437 | joe | 2005-01-21 16:25:12 +0000 (Fri, 21 Jan 2005) | 5 lines
931
* src/ne_request.c (ne_begin_request): Fix a case where NE_RETRY could
932
be leaked to the caller if a connection was left open then
933
ne_set_persist(sess, 0) was called immediately before a request was
934
sent but suffered a persistent connection timeout.
936
------------------------------------------------------------------------
937
r436 | joe | 2005-01-21 16:19:05 +0000 (Fri, 21 Jan 2005) | 5 lines
939
* src/ne_request.c (HTTP_ERR, HTTP_EXPECT_*): Remove now-unused
940
macros. (ne_begin_request, ne_end_request, ne_request_dispatch):
941
Expand HTTP_ERR usage.
944
------------------------------------------------------------------------
945
r435 | joe | 2005-01-21 16:08:53 +0000 (Fri, 21 Jan 2005) | 3 lines
947
* test/compress.c (tests): retry_notcompress passes since
948
response-header-handling fixes.
950
------------------------------------------------------------------------
951
r434 | joe | 2005-01-21 16:07:05 +0000 (Fri, 21 Jan 2005) | 3 lines
953
* src/ne_request.c (send_request): Code cleanups, no functional
956
------------------------------------------------------------------------
957
r433 | joe | 2005-01-21 16:03:28 +0000 (Fri, 21 Jan 2005) | 2 lines
959
* src/ne_request.c (ne_request_create): Remove some debugging noise.
961
------------------------------------------------------------------------
962
r432 | joe | 2005-01-21 15:59:37 +0000 (Fri, 21 Jan 2005) | 3 lines
964
* src/ne_request.c (open_connection): Only call ne_close_connection in
965
ne__negotiate_ssl failure case.
967
------------------------------------------------------------------------
968
r431 | joe | 2005-01-21 15:54:26 +0000 (Fri, 21 Jan 2005) | 2 lines
970
* neon.mak: Build ne_xmlreq.c.
972
------------------------------------------------------------------------
973
r430 | joe | 2005-01-20 22:04:23 +0000 (Thu, 20 Jan 2005) | 15 lines
975
Windows SSPI NTLM/Negotiate implementation from Vladimir Berezniker:
977
* config.hw.in: Define HAVE_SSPI.
979
* src/ne_sspi.c, src/ne_sspi.h: New files.
981
* src/ne_auth.c (auth_scheme): Add new schemes to enum.
982
[HAVE_SSPI] (auth_session): Add sspi_token, sspi_context fields.
983
(clean_session): Clean up sspi fields.
984
(request_sspi, sspi_challenge): New functions.
985
(auth_challenge, ah_pre_send): Handle Negotiate/NTLM-using-SSPI schemes.
987
* src/ne_socket.c [HAVE_SSPI] (ne_sock_init, ne_sock_exit):
988
Initialize/de-initialize SSPI global state.
990
------------------------------------------------------------------------
991
r429 | joe | 2005-01-13 19:00:13 +0000 (Thu, 13 Jan 2005) | 2 lines
995
------------------------------------------------------------------------
996
r428 | joe | 2005-01-13 18:53:33 +0000 (Thu, 13 Jan 2005) | 6 lines
998
Re-drop ne_cookies.[ch], change lost in CVS conversion somehow:
1000
* ne_cookies.c, ne_cookies.h: Drop cookies support: used old spec
1001
revision and wasn't very complete anyway.
1004
------------------------------------------------------------------------
1005
r427 | joe | 2005-01-13 18:51:53 +0000 (Thu, 13 Jan 2005) | 2 lines
1007
* test/string-tests.c (append): Test ne_buffer_czappend.
1009
------------------------------------------------------------------------
1010
r426 | joe | 2005-01-13 18:44:00 +0000 (Thu, 13 Jan 2005) | 7 lines
1012
Fixes for some warnings from Solaris cc:
1014
* src/ne_openssl.c (ne_ssl_clicert_read): Pass an int not an unsigned
1015
int to X509_alias_get0.
1016
(ne_ssl_cert_export): Use a char * for the ne_base64 return value to fix
1017
signed-vs-unsigned mismatch.
1019
------------------------------------------------------------------------
1020
r425 | joe | 2005-01-09 13:45:09 +0000 (Sun, 09 Jan 2005) | 2 lines
1022
* src/ne_string.h (ne_buffer_czappend): New macro.
1024
------------------------------------------------------------------------
1025
r424 | joe | 2005-01-09 13:06:22 +0000 (Sun, 09 Jan 2005) | 3 lines
1027
* src/ne_request.c (free_response_headers): Adjust code style, no
1030
------------------------------------------------------------------------
1031
r414 | joe | 2005-01-07 15:12:17 +0000 (Fri, 07 Jan 2005) | 6 lines
1033
* src/ne_locks.c (lk_startelm): Set timeout of active lock to
1034
NE_TIMEOUT_INVALID. (ne_lock_free, ne_lock): Out-of-line NE_FREE.
1035
(ne_lock_refresh): Use ne_xml_dispatch_request; rejig error handling;
1036
really update timeout field of passed-in lock structure if returned
1039
------------------------------------------------------------------------
1040
r413 | joe | 2005-01-07 00:55:42 +0000 (Fri, 07 Jan 2005) | 4 lines
1042
* src/ne_locks.c (lk_startelm): Only retrive lock-token if not already
1043
known; set session error on abort.
1044
(ne_lock_refresh): Store lock-token in context, simplify error handling.
1046
------------------------------------------------------------------------
1047
r389 | joe | 2005-01-03 10:01:20 +0000 (Mon, 03 Jan 2005) | 3 lines
1049
* macros/neon.m4 (LIBNEON_SOURCE_CHECKS): Only look for gethostbyname
1050
if getaddrinfo is not available.
1052
------------------------------------------------------------------------
1053
r382 | joe | 2005-01-02 13:18:23 +0000 (Sun, 02 Jan 2005) | 4 lines
1055
* macros/neon-xml-parser.m4 (NEON_XML_PARSER, NE_XML_BUNDLED_EXPAT):
1056
Take srcdir, builddir arguments to support VPATH builds correctly.
1059
------------------------------------------------------------------------
1060
r373 | joe | 2004-12-31 17:55:39 +0000 (Fri, 31 Dec 2004) | 4 lines
1062
* src/ne_request.c (read_response_block): Read chunk size lines into
1063
req->respbuf to eliminate the "minimum buffer size" requirement of
1064
ne_read_response_block.
1066
------------------------------------------------------------------------
1067
r372 | joe | 2004-12-31 12:13:22 +0000 (Fri, 31 Dec 2004) | 3 lines
1069
* test/common/tests.h (ONCMP): Fix inverted expected/actual in failure
1072
------------------------------------------------------------------------
1073
r371 | joe | 2004-12-31 12:12:29 +0000 (Fri, 31 Dec 2004) | 7 lines
1075
* src/ne_request.c (free_response_headers): Factor out from
1076
ne_request_destroy. (ne_request_destroy): Use it.
1077
(ne_begin_request): Free response headers each time the response
1080
* test/request.c (retry_post_send, reset_headers): New functions.
1082
------------------------------------------------------------------------
1083
r370 | joe | 2004-12-31 11:19:57 +0000 (Fri, 31 Dec 2004) | 3 lines
1085
* src/ne_redirect.c (post_send): C89 compile fix from Vladimir
1088
------------------------------------------------------------------------
1089
r369 | joe | 2004-12-31 01:36:29 +0000 (Fri, 31 Dec 2004) | 1 line
1092
------------------------------------------------------------------------
1093
r368 | joe | 2004-12-31 01:11:23 +0000 (Fri, 31 Dec 2004) | 8 lines
1095
* src/ne_auth.c (tokenize): Optionally pass back the separator
1096
character to fix the Negotiate parameter handling.
1097
(auth_challenge): Only grab a Negotiate parameter if the separator
1100
* test/auth.c (basic): Test for a Negotiate challenge *without* a
1103
------------------------------------------------------------------------
1104
r367 | joe | 2004-12-30 11:55:13 +0000 (Thu, 30 Dec 2004) | 63 lines
1106
Remove callback-based response header handling in favour of
1107
ne_get_response_header interface:
1109
* src/ne_request.h (ne_get_response_header): New function, replacing
1110
ne_add_response_header_handler and ne_add_response_header_catcher.
1111
* src/ne_request.c (struct header_handler): Remove.
1112
(struct field): Add.
1113
(struct ne_request_s): Store a hash of header fields rather than
1114
a hash of callbacks.
1115
(te_hdr_handler, connection_hdr_handler, clength_hdr_handler,
1116
ne_add_response_header_catcher, ne_add_response_header_handler,
1117
ne_duplicate_header, ne_handle_numeric_header):
1119
(get_response_header_hv, ne_get_response_header,
1120
add_response_header, remove_response_header): New functions.
1121
(ne_request_create): Don't register the callbacks.
1122
(read_response_headers): Call add_response_header for each
1124
(ne_begin_request): Move handling of Connection, T-E and C-L headers
1125
here. Comply with 2616/14.10 w.r.t. Connection header handling in
1127
(ne_request_dispatch): Use ne_discard_response (unrelated).
1129
* src/ne_redirect.c (struct redirect): Remove location field.
1130
(post_send): Adjust to retrieve location header here.
1132
* src/ne_basic.h (ne_get_content_type): Replaces
1133
ne_content_type_handler.
1135
* src/ne_basic.c (dispatch_to_fd): New function.
1136
(get_to_fd, get_lastmodified, clength_hdr_handler, accept_206,
1137
content_range_hdr_handler): Remove functions.
1138
(ne_getmodtime): Adjust to use ne_get_response_header.
1139
(ne_get_range, ne_get, ne_post): Adjust to use dispatch_to_fd.
1140
(ne_get_content_type): Adjust for new API, use ne_get_response_header.
1141
(parse_dav_header, ne_options): Adjust to use ne_get_response_header.
1143
* src/ne_compress.c (struct ne_decompress_s): Add ne_request * field,
1144
remove enchdr field.
1145
(gz_reader): Retrieve C-E header on demand, here.
1146
(ne_decompress_reader, ne_decompress_destroy): Remove C-E response
1149
* src/ne_auth.c (auth_request): Remove auth_hdr, auth_info_hdr
1151
(ah_collect_header): Remove function.
1152
(ah_create, ah_destroy): Remove response-header callback handling.
1153
(ah_post_send): Retrieve -Authenticate header here; correctly handle
1154
the broken proxy which sends a 401 in response to CONNECT.
1156
* src/ne_locks.c (lk_startelm): Retrieve Lock-Token header here.
1157
(get_ltoken_hdr): Remove function.
1158
(ne_lock, ne_lock_refresh): Remove response-header handling.
1160
* test/basic.c (content_type): Test new interface.
1162
* test/request.c (expect_header_value): Adjust to accept NULL value,
1163
use ne_get_response_header interface.
1164
(multi_header): Test new ne_get_response_header multi-header handling.
1165
(multi_header2, strip_http10_connhdr, strip_http10_connhdr2): New
1169
------------------------------------------------------------------------
1170
r366 | joe | 2004-12-30 11:38:37 +0000 (Thu, 30 Dec 2004) | 2 lines
1172
* src/ne_compress.c: Debugging message tweaks.
1174
------------------------------------------------------------------------
1175
r365 | joe | 2004-12-30 10:58:08 +0000 (Thu, 30 Dec 2004) | 2 lines
1177
* test/socket.c (peek_expect): Add buffer overflow detection.
1179
------------------------------------------------------------------------
1180
r364 | joe | 2004-12-30 10:51:17 +0000 (Thu, 30 Dec 2004) | 2 lines
1182
* test/common/tests.c (main): Fix build for non-NEON_MEMLEAK.
1184
------------------------------------------------------------------------
1185
r363 | joe | 2004-12-30 10:50:20 +0000 (Thu, 30 Dec 2004) | 3 lines
1187
* test/common/tests.c (main): Print a message for tests which are
1190
------------------------------------------------------------------------
1191
r362 | joe | 2004-12-30 10:23:00 +0000 (Thu, 30 Dec 2004) | 3 lines
1193
* test/utils.c (any_2xx_request): Destroy the request object even if
1196
------------------------------------------------------------------------
1197
r361 | joe | 2004-12-30 00:11:53 +0000 (Thu, 30 Dec 2004) | 5 lines
1199
* src/ne_xmlreq.c (ne_xml_parse_response, ne_xml_dispatch_request):
1200
New file, new functions.
1202
* src/Makefile.in (NEON_DAVOBJS): Add ne_xmlreq.*o.
1204
------------------------------------------------------------------------
1205
r360 | joe | 2004-12-24 14:49:02 +0000 (Fri, 24 Dec 2004) | 3 lines
1207
* src/ne_request.c (ne_read_response_to_fd, ne_discard_response): New
1210
------------------------------------------------------------------------
1211
r359 | joe | 2004-12-13 14:13:27 +0000 (Mon, 13 Dec 2004) | 6 lines
1213
* src/ne_auth.c (auth_challenge): Fix previous commit; stop parsing if
1214
ne_token() reaches end-of-string.
1216
* test/auth.c (negotiate_regress): Add test.
1219
------------------------------------------------------------------------
1220
r358 | joe | 2004-12-09 22:22:26 +0000 (Thu, 09 Dec 2004) | 3 lines
1222
* src/ne_auth.c (auth_challenge): Grab the Negotiate parameter
1225
------------------------------------------------------------------------
1226
r357 | joe | 2004-12-01 08:42:49 +0000 (Wed, 01 Dec 2004) | 11 lines
1228
From Vladimir Berezniker: update Win32 make file to match the
1229
preprocessor definition changes applied to source code in r256:
1232
OpenSSL: Change NEON_SSL to NE_HAVE_SSL and add a missing HAVE_OPENSSL.
1233
ZLib: Change NEON_ZLIB to NE_HAVE_ZLIB.
1234
Expat: Replace NEON_NODAV with NE_HAVE_DAV
1236
* config.hw.in: Discard no longer used USE_DAV_LOCKS.
1239
------------------------------------------------------------------------
1240
r356 | joe | 2004-11-18 10:09:07 +0000 (Thu, 18 Nov 2004) | 11 lines
1242
Win32 build update from Branko Čibej:
1244
Change the Win32 build to compile ZLib from sources, and change the
1245
ZLib versin requirement. This doesn't change neon.mak's external
1248
* neon.mak: Add parameters and targets for building ZLib from source.
1250
* INSTALL.win32: Update the documentation, and note that the ZLib version
1251
must be at least 1.2.1.
1253
------------------------------------------------------------------------
1254
r355 | joe | 2004-11-18 09:50:27 +0000 (Thu, 18 Nov 2004) | 5 lines
1256
Win32 build fix from Vladimir Berezniker:
1258
* src/ne_dates.c: Add windows.h to the list of include files to provide
1259
definition of TIME_ZONE_INFORMATION on WIN32 platforms.
1261
------------------------------------------------------------------------
1262
r354 | joe | 2004-11-15 14:47:52 +0000 (Mon, 15 Nov 2004) | 7 lines
1264
Improve OpenSSL error handling, fixing "SSL error: (null)" errors from
1265
interrupted Subversion checkouts over SSL; now reported as
1266
"Interrupted system call" as expected:
1268
* src/ne_socket.c (error_ossl): Always check the OpenSSL error stack
1269
for SSL errors other than SSL_ERROR_ZERO_RETURN.
1271
------------------------------------------------------------------------
1272
r353 | joe | 2004-11-11 14:38:49 +0000 (Thu, 11 Nov 2004) | 3 lines
1274
* test/socket.c (begin) [SOCKET_SSL]: Update to pass third argument to
1275
ne_sock_connect_ssl.
1277
------------------------------------------------------------------------
1278
r352 | joe | 2004-10-31 22:33:28 +0000 (Sun, 31 Oct 2004) | 2 lines
1280
* macros/neon.m4 (NEON_SSL): Require GNU TLS 1.0.22 or later.
1282
------------------------------------------------------------------------
1283
r351 | joe | 2004-10-31 19:17:00 +0000 (Sun, 31 Oct 2004) | 3 lines
1285
* src/ne_openssl.c (ne__negotiate_ssl): Set freechain to fix
1286
certificate chain leak for an SSLv2 connection.
1288
------------------------------------------------------------------------
1289
r350 | joe | 2004-10-31 19:14:47 +0000 (Sun, 31 Oct 2004) | 1 line
1292
------------------------------------------------------------------------
1293
r349 | joe | 2004-10-31 19:13:43 +0000 (Sun, 31 Oct 2004) | 11 lines
1295
* src/ne_socket.c (ne_sock_connect_ssl): Take a userdata parameter;
1296
attach this as OpenSSL "app data" pointer and GNU TLS "session
1299
* src/ne_openssl.c (provide_client_cert): Adapt to use right app data
1300
pointer. (ne__negotiate_ssl): Pass session pointer to
1301
ne_sock_connect_ssl.
1303
* src/ne_gnutls.c (ne__negotiate_ssl): Pass session pointer to
1304
ne_sock_connect_ssl.
1306
------------------------------------------------------------------------
1307
r348 | joe | 2004-10-31 18:44:31 +0000 (Sun, 31 Oct 2004) | 3 lines
1309
* Makefile.in (uncover, cover): Remove all .*da files before
1310
re-running coverage testing.
1312
------------------------------------------------------------------------
1313
r347 | joe | 2004-10-31 18:43:41 +0000 (Sun, 31 Oct 2004) | 8 lines
1315
Improve ne_socket.c coverage:
1317
* test/socket.c (addr_make_v4, addr_make_v6): Test ne_iaddr_typeof.
1318
(addr_compare): Fix ne_iaddr_cmp tests with v6 addresses.
1319
(expect_close, expect_read): Fix error messages. (fullread_expect,
1320
line_overflow, line_long_chunked, expect_block_timeout, blocking,
1321
block_timeout): New functions.
1323
------------------------------------------------------------------------
1324
r346 | joe | 2004-10-31 15:03:54 +0000 (Sun, 31 Oct 2004) | 1 line
1327
------------------------------------------------------------------------
1328
r345 | joe | 2004-10-31 12:15:55 +0000 (Sun, 31 Oct 2004) | 7 lines
1330
* src/ne_compress.c (struct ne_decompress_s): Stop using a union to
1331
decode the gzip header; rename in.buf to header, incount to hdrcount.
1332
(HDR_ID1, HDR_ID2, HDR_CMETH, HDR_FLAGS, HDR_MTIME, HDR_XFLAGS,
1333
HDR_OS): New macros.
1334
(parse_header): Decode the header in-place using new macros.
1335
(gz_reader): Adjust for new field names.
1337
------------------------------------------------------------------------
1338
r344 | joe | 2004-10-31 12:01:06 +0000 (Sun, 31 Oct 2004) | 2 lines
1340
* test/compress.c (do_fetch): Do call ne_decompress_destroy still.
1342
------------------------------------------------------------------------
1343
r343 | joe | 2004-10-31 11:53:35 +0000 (Sun, 31 Oct 2004) | 7 lines
1345
* Makefile.in (uncover): New target.
1346
(cover): Adapt for modern gcc.
1348
* src/Makefile.in (clean): Clean more.
1350
* test/Makefile.in (clean): Clean more.
1352
------------------------------------------------------------------------
1353
r342 | joe | 2004-10-30 12:54:26 +0100 (Sat, 30 Oct 2004) | 3 lines
1355
* src/ne_utils.c (ne_has_support): Avoid a leading 'return 1' without
1356
a case statement when *no* features are supported.
1358
------------------------------------------------------------------------
1359
r339 | joe | 2004-10-30 12:41:53 +0100 (Sat, 30 Oct 2004) | 5 lines
1361
* src/ne_compress.c (ne_decompress_reader) [!HAVE_ZLIB]: Update
1364
* test/stubs.c (stub_decompress): Update for new interface.
1366
------------------------------------------------------------------------
1367
r337 | joe | 2004-10-25 21:17:32 +0100 (Mon, 25 Oct 2004) | 4 lines
1369
Missed in previous commit:
1371
* test/Makefile.in (ZLIB_HELPERS, empty.gz): New helper targets.
1373
------------------------------------------------------------------------
1374
r336 | joe | 2004-10-25 21:12:16 +0100 (Mon, 25 Oct 2004) | 15 lines
1376
Update ne_decompress interface to handle errors by aborting the
1377
response rather than returning errors via ne_decompress_destroy.
1379
* src/ne_compress.c (struct ne_decompress_s): Remove NE_Z_ERROR state.
1380
(parse_header, do_inflate): Don't set error state.
1381
(gz_reader): Do truncated response handling properly at
1382
end-of-response. Don't set state to NE_Z_ERROR on error cases, just
1383
return failure and abort the response.
1384
(ne_decompress_destroy): Return void, do no error handling here.
1386
* test/compress.c (reader): Abort on failure.
1387
(do_fetch): Handle errors returned via ne_request_dispatch rather
1388
than ne_decompress_destroy.
1389
(fail_trailing_1b, fail_empty, notcomp_empty): New tests.
1391
------------------------------------------------------------------------
1392
r335 | joe | 2004-10-25 20:34:34 +0100 (Mon, 25 Oct 2004) | 2 lines
1394
* test/ssl.c (cert_identities): Check the simplest case first.
1396
------------------------------------------------------------------------
1397
r334 | joe | 2004-10-25 20:11:55 +0100 (Mon, 25 Oct 2004) | 5 lines
1399
* src/ne_gnutls.c (ne_ssl_context_trustcert): Fix for GNU TLS 1.0
1401
(check_certificate): Less debugging noise
1402
(ne__negotiate_ssl): Remove unused variable, tweak debug message.
1404
------------------------------------------------------------------------
1405
r333 | joe | 2004-10-25 10:44:33 +0100 (Mon, 25 Oct 2004) | 3 lines
1407
* src/ne_gnutls.c (check_identity): Fix handling of multiple names in
1408
the subjectAltName extension (per the two_subject_altname2 test).
1410
------------------------------------------------------------------------
1411
r332 | joe | 2004-10-24 21:10:29 +0100 (Sun, 24 Oct 2004) | 1 line
1413
Note that expect100 is now sensible, and that ne_lock_refresh is not.
1414
------------------------------------------------------------------------
1415
r331 | joe | 2004-10-24 18:44:49 +0100 (Sun, 24 Oct 2004) | 4 lines
1417
* src/ne_gnutls.c (check_identity): Return -1 if no CN field found.
1418
(make_peers_chain, check_certificates): New function.
1419
(ne__negotiate_ssl): Retrieve and verify the peer certificate chain.
1421
------------------------------------------------------------------------
1422
r330 | joe | 2004-10-24 16:50:33 +0100 (Sun, 24 Oct 2004) | 7 lines
1424
* src/ne_gnutls.c (ne__negotiate_ssl): Mark pointers as const, prepare for
1425
doing cert verification.
1426
(ne_ssl_context_trustcert): Implement.
1427
(pkcs12_parse): Don't try and determine encryptedness here.
1428
(ne_ssl_clicert_read): Verify the MAC using an empty password.
1429
(ne_ssl_clicert_decrypt): Verify the MAC using the given password.
1431
------------------------------------------------------------------------
1432
r329 | joe | 2004-10-24 15:46:32 +0100 (Sun, 24 Oct 2004) | 2 lines
1434
* src/ne_gnutls.c (pkcs12_parse): Fix GCC warnings from unhandled enum fields.
1436
------------------------------------------------------------------------
1437
r328 | joe | 2004-10-24 13:55:14 +0100 (Sun, 24 Oct 2004) | 9 lines
1439
Based on patch from Aleix Conchillo Flaque:
1441
* src/ne_gnutls.c (ne_ssl_clicert_free): Conditionally free the pkey,
1443
(x509_crt_copy): New function.
1444
(dup_client_cert): Fix memory handling.
1445
(pkcs12_parse): Take pointers to pkey, crt, name.
1446
(ne_ssl_clicert_read, ne_ssl_clicert_decrypt): Adjust accordingly.
1448
------------------------------------------------------------------------
1449
r327 | joe | 2004-10-22 09:41:46 +0100 (Fri, 22 Oct 2004) | 6 lines
1451
From Aleix Conchillo Flaque:
1453
* src/ne_gnutls.c (ne_ssl_context_trustcert): Implement pending
1455
(pkcs12_parse): Fix certificate handling.
1457
------------------------------------------------------------------------
1458
r326 | joe | 2004-10-20 07:17:34 +0100 (Wed, 20 Oct 2004) | 6 lines
1460
PKCS#12 support for GnuTLS interface from Aleix Conchillo Flaque:
1462
* src/ne_gnutls.c (ne_ssl_clicert_free, dup_client_cert,
1463
ne_ssl_clicert_read, ne_ssl_clicert_encrypted, ne_ssl_clicert_decrypt,
1464
ne_ssl_clicert_owner, ne_ssl_clicert_owner, pkcs12_parse): New functions.
1466
------------------------------------------------------------------------
1467
r325 | joe | 2004-10-19 13:39:34 +0100 (Tue, 19 Oct 2004) | 8 lines
1469
* src/ne_xml.c (invalid_ncname): Factor out macro for NCName
1471
(declare_nspaces): Use invalid_ncname macro. Don't compare 'xmlns'
1473
(expand_qname): Use invalid_ncname macro.
1475
* test/xml.c (fail_match): Skip correct checks for the time being.
1477
------------------------------------------------------------------------
1478
r324 | joe | 2004-10-17 21:32:44 +0100 (Sun, 17 Oct 2004) | 7 lines
1480
* src/ne_gnutls.c (oid_find_highest_index): New function.
1481
(append_rdn): Use oid_find_highest_index to find all RDNs using given
1483
(ne_ssl_readable_dname): Add #if'd out better code which can be used
1484
once GnuTLS bugs are fixed.
1485
(check_identity): Use oid_find_highest_index.
1487
------------------------------------------------------------------------
1488
r323 | joe | 2004-10-17 21:07:29 +0100 (Sun, 17 Oct 2004) | 7 lines
1490
* test/openssl.conf [reqDN.twoOU]: New section.
1492
* test/makekeys.sh: Produce a twoou.cert certificate with two OU fields.
1494
* test/ssl.c (dname_readable): Test for printing of certificate with
1497
------------------------------------------------------------------------
1498
r322 | joe | 2004-10-17 19:18:20 +0100 (Sun, 17 Oct 2004) | 8 lines
1500
* test/utils.c (serve_infinite): Move from props.c
1502
* test/props.c (serve_infinite): Remove function.
1504
* test/request.c (serve_infinite_folds, serve_infinite_headers):
1505
Remove functions. (unbounded_headers, unbounded_folding): Adjust to
1508
------------------------------------------------------------------------
1509
r321 | joe | 2004-10-17 19:08:55 +0100 (Sun, 17 Oct 2004) | 3 lines
1511
* src/ne_request.c (debug_dump_request): Revert part of previous
1512
change: only print unsanitized request to debug channel by default.
1514
------------------------------------------------------------------------
1515
r320 | joe | 2004-10-17 19:07:06 +0100 (Sun, 17 Oct 2004) | 3 lines
1517
* src/ne_request.c (debug_dump_request): Only jump through
1518
request-sanitization debug hoops if really necessary.
1520
------------------------------------------------------------------------
1521
r319 | joe | 2004-10-17 18:58:31 +0100 (Sun, 17 Oct 2004) | 4 lines
1523
* src/ne_request.c (read_response_block): Update comments, style.
1524
Remove unnecessary early return for zero-length chunk. No functional
1527
------------------------------------------------------------------------
1528
r318 | joe | 2004-10-17 18:22:22 +0100 (Sun, 17 Oct 2004) | 1 line
1531
------------------------------------------------------------------------
1532
r317 | joe | 2004-10-17 18:19:37 +0100 (Sun, 17 Oct 2004) | 10 lines
1534
Prevent memory exhaustion in PROPFIND response parsing by a hostile
1537
* src/ne_props.c (struct ne_prop_result_set): Add counter field.
1538
(start_propstat, start_prop): Enforce a limit of 1024 properties per
1541
* test/props.c (serve_infinite, unbounded_response,
1542
unbounded_propstats, unbounded_props): New functions.
1544
------------------------------------------------------------------------
1545
r316 | joe | 2004-10-17 18:06:22 +0100 (Sun, 17 Oct 2004) | 5 lines
1547
* src/ne_207.h (ne_207_start_propstat): Specify that a NULL return
1548
value means that the parse is aborted.
1550
* src/ne_207.c (start_element): Abort parsing as above.
1552
------------------------------------------------------------------------
1553
r315 | joe | 2004-10-17 14:06:00 +0100 (Sun, 17 Oct 2004) | 10 lines
1555
* src/ne_xml.h (ne_xml_parse): Returns an error if parsing fails.
1556
(ne_xml_failed): Redefine in terms of ne_xml_parse return value.
1558
* src/ne_xml.c (ne_xml_parse): Return p->failure. (ne_xml_parse_v):
1559
Pass through return value from ne_xml_parse.
1561
* test/xml.c (parse_match): Check ne_xml_parse() return value; handle
1562
match_chunked test mode.
1563
(matches): Test for UTF-8 BOM handling in chunked mode.
1565
------------------------------------------------------------------------
1566
r314 | joe | 2004-10-17 13:59:26 +0100 (Sun, 17 Oct 2004) | 2 lines
1568
* doc/ref/iaddr.xml: Document ne_iaddr_typeof.
1570
------------------------------------------------------------------------
1571
r313 | joe | 2004-10-17 13:53:52 +0100 (Sun, 17 Oct 2004) | 2 lines
1573
* src/ne_socket.h: Docs tweaks.
1575
------------------------------------------------------------------------
1576
r312 | joe | 2004-10-17 13:22:07 +0100 (Sun, 17 Oct 2004) | 7 lines
1578
* src/ne_request.c (read_response_block): Document to always close the
1579
connection on error. (ne_read_response_block): Close the connection
1580
if the reader callback fails.
1582
* test/request.c (abort_reader): Check that the connection is closed
1585
------------------------------------------------------------------------
1586
r311 | joe | 2004-10-14 21:26:59 +0100 (Thu, 14 Oct 2004) | 3 lines
1588
* INSTALL.win32, neon.mak: Update to support ENABLE_IPV6 flag. (Kai
1591
------------------------------------------------------------------------
1592
r310 | joe | 2004-10-14 13:11:30 +0100 (Thu, 14 Oct 2004) | 4 lines
1594
* src/ne_socket.c: Include ws2tcpip.h if USE_GETADDRINFO is defined
1595
(Kai Sommerfeld). (ne_iaddr_print): Use getnameinfo/NI_NUMERICHOST if
1596
inet_ntop is not available.
1598
------------------------------------------------------------------------
1599
r308 | joe | 2004-10-11 20:59:58 +0100 (Mon, 11 Oct 2004) | 21 lines
1601
Allow response body callbacks to return an error:
1603
* src/ne_request.h (ne_block_reader): Return error code.
1605
* src/ne_request.c (ne_read_response_block): Fail with -1 if a reader
1606
callback returns an error.
1608
* src/ne_xml.c (ne_xml_parse_v): Return 0 (for the moment).
1610
* src/ne_basic.c (get_to_fd): Return error.
1612
* src/ne_compress.c (gz_reader): Return 0 (mostly), or pass through.
1614
* src/ne_auth.c (auth_body_reader): Return 0.
1616
* test/compress.c (reader): Return error.
1618
* test/request.c (collector): Return 0.
1619
(abortive_reader, abort_reader): New functions.
1622
------------------------------------------------------------------------
1623
r307 | joe | 2004-10-10 22:11:54 +0100 (Sun, 10 Oct 2004) | 4 lines
1625
* src/Makefile.in: Pick up top_builddir from autoconf.
1627
* configure.in: Let autoconf define top_builddir.
1629
------------------------------------------------------------------------
1630
r303 | joe | 2004-10-10 21:47:06 +0100 (Sun, 10 Oct 2004) | 9 lines
1632
* src/ne_openssl.c (check_identity): Only match iPAddress names
1633
against the hostname used for the session rather than the server IP
1635
(check_certificate, populate_cert): Update callers.
1637
* test/ssl.c (fail_ssl_request): Take hostname argument, update
1639
(fail_host_ipaltname): New test.
1641
------------------------------------------------------------------------
1642
r302 | joe | 2004-10-10 18:44:56 +0100 (Sun, 10 Oct 2004) | 2 lines
1644
* Makefile.in (distclean): Remove neon.pc.
1646
------------------------------------------------------------------------
1647
r301 | joe | 2004-10-09 11:38:46 +0100 (Sat, 09 Oct 2004) | 3 lines
1649
* src/ne_stubssl.c (ne_ssl_context_create): Take mode argument.
1650
(ne_ssl_context_set_verify): New function.
1652
------------------------------------------------------------------------
1653
r300 | joe | 2004-10-08 15:07:26 +0100 (Fri, 08 Oct 2004) | 4 lines
1655
* tests/common/tests.c (main): Print XFAIL in reverse video so it
1656
stands out better, and use a white foreground for SKIPPED so it's
1659
------------------------------------------------------------------------
1660
r299 | joe | 2004-10-08 08:14:45 +0100 (Fri, 08 Oct 2004) | 2 lines
1662
Compress THANKS, update copyright in README and AUTHORS.
1664
------------------------------------------------------------------------
1665
r298 | joe | 2004-10-07 21:25:00 +0100 (Thu, 07 Oct 2004) | 6 lines
1667
* test/ssl.c (fail_bad_ipaltname): New function.
1669
* test/openssl.conf, test/makekeys.sh: Create altname6.cert. Correct
1670
altname5.cert to have a bad CN field to prevent false positives if
1671
ipAddress altnames are not handled.
1673
------------------------------------------------------------------------
1674
r297 | joe | 2004-10-07 20:22:56 +0100 (Thu, 07 Oct 2004) | 4 lines
1676
* src/ne_gnutls.c (read_to_datum): New function.
1677
(mmap_file, munmap_file): Remove functions.
1678
(ne_ssl_cert_read): Use read_to_datum.
1680
------------------------------------------------------------------------
1681
r296 | joe | 2004-10-07 14:47:20 +0100 (Thu, 07 Oct 2004) | 3 lines
1683
* macros/neon.m4 (NEON_GSSAPI): Support --without-gssapi flag to
1684
disable Negotiate support.
1686
------------------------------------------------------------------------
1687
r295 | joe | 2004-10-07 13:57:44 +0100 (Thu, 07 Oct 2004) | 12 lines
1689
* src/ne_gnutls.c (struct ne_ssl_dname_s): Reference the cert and
1690
subject/issuer flag. (append_rdn): New function.
1691
(ne_ssl_readable_dname): Reimplement to generate dname on the fly,
1693
(ne_ssl_dname_cmp): Break.
1694
(check_identity): Check against commonName correctly.
1695
(ne_ssl_cert_write, ne_ssl_cert_export, ne_ssl_cert_digest):
1696
Remove unused variables.
1697
(populate_cert): Populate new dn structures correctly.
1698
(ne_ssl_cert_free): Don't free dnames.
1699
(ne_ssl_cert_import): Fix memory leak.
1701
------------------------------------------------------------------------
1702
r294 | joe | 2004-10-07 11:47:28 +0100 (Thu, 07 Oct 2004) | 2 lines
1704
* test/ssl.c (ccert_unencrypted): Fail if ne_ssl_clicert_read returns NULL.
1706
------------------------------------------------------------------------
1707
r293 | joe | 2004-10-07 08:13:54 +0100 (Thu, 07 Oct 2004) | 3 lines
1709
* src/ne_gnutls.c (ne_ssl_cert_import): Fix to import as DER not PEM.
1710
(ne_ssl_cert_export): Handle arbitrary length certificates.
1712
------------------------------------------------------------------------
1713
r292 | joe | 2004-10-07 08:06:20 +0100 (Thu, 07 Oct 2004) | 6 lines
1715
GNU TLS updates from Aleix:
1717
* src/ne_gnutls.c (match_hostname, check_identity): New functions.
1718
(ne_ssl_cert_cmp, ne_ssl_cert_digest): Simplify.
1719
(x509_get_dn): Fix buffer length handling.
1721
------------------------------------------------------------------------
1722
r291 | joe | 2004-10-07 08:00:15 +0100 (Thu, 07 Oct 2004) | 10 lines
1724
* src/ne_ssl.h (ne_ssl_context_set_verify): New function.
1725
(ne_ssl_context_create): Change flags argument to 'mode'.
1727
* src/ne_openssl.c (ne_ssl_context_create): Update to handle modes.
1728
(ne_ssl_context_set_verify): Implement.
1730
* src/ne_gnutls.c (ne_ssl_cert_validity): Fix date format and
1731
use correct buffers.
1732
(ne_ssl_context_set_verify): Implement.
1734
------------------------------------------------------------------------
1735
r290 | joe | 2004-10-06 22:46:01 +0100 (Wed, 06 Oct 2004) | 2 lines
1737
* test/socket.c: Remove OpenSSL includes (Aleix).
1739
------------------------------------------------------------------------
1740
r289 | joe | 2004-10-06 12:16:58 +0100 (Wed, 06 Oct 2004) | 8 lines
1742
Fix slow startup problems with GNU TLS:
1744
* src/ne_privssl.h (struct ne_ssl_context_s) [HAVE_GNUTLS]: Remove
1747
* src/ne_gnutls.c (ne_ssl_context_create, ne_ssl_context_destroy):
1748
Don't generate temporary RSA keys or DH paramaters.
1750
------------------------------------------------------------------------
1751
r288 | joe | 2004-10-06 11:58:53 +0100 (Wed, 06 Oct 2004) | 3 lines
1753
* src/ne_socket.c (ne_sock_accept_ssl) [HAVE_OPENSSL]: Fix to return 0
1754
for SSL_accept() success.
1756
------------------------------------------------------------------------
1757
r287 | joe | 2004-10-06 11:22:57 +0100 (Wed, 06 Oct 2004) | 3 lines
1759
* test/socket.c (read_reset, write_reset, line_closure, ssl_closure):
1760
Print socket error string for failure cases.
1762
------------------------------------------------------------------------
1763
r286 | joe | 2004-10-06 11:16:58 +0100 (Wed, 06 Oct 2004) | 2 lines
1765
* src/ne_socket.c (read_gnutls): Return NE_SOCK_CLOSED on EOF.
1767
------------------------------------------------------------------------
1768
r285 | joe | 2004-10-06 09:43:05 +0100 (Wed, 06 Oct 2004) | 8 lines
1770
Fix write handling with GNU TLS:
1772
* src/ne_socket.c (struct iofns): Redefine write semantics to allow
1774
(write_raw): Drop short write handling, return bytes written.
1775
(write_ossl, write_gnutls): Return bytes written.
1776
(ne_sock_fullwrite): Handle short writes here.
1778
------------------------------------------------------------------------
1779
r284 | joe | 2004-10-06 09:30:48 +0100 (Wed, 06 Oct 2004) | 31 lines
1781
Simplify and extend abstraction of SSL layer:
1783
* src/ne_privssl.h: Make ne_ssl_socket a typedef.
1784
[HAVE_GNUTLS]: Remove union cred, gnutls_session pointer.
1785
(ne__sock_sslsock): Add prototype.
1787
* src/ne_socket.h (ne_sock_accept_ssl): Replaces ne_sock_switch_ssl.
1788
Remove ne_sock_sslsock prototype.
1790
* src/ne_socket.c: Include ne_privssl.h later.
1791
(readable_ossl, error_ossl, write_ossl, readable_gnutls, error_gnutls,
1792
read_gnutls, write_gnutls, ne_sock_connect_ssl): Adjust for
1793
ne_ssl_socket change. (ne__sock_sslsock): Rename from
1794
ne_sock_sslsock. (ne_sock_accept_ssl): New function.
1795
(ne_sock_switch_ssl): Remove function.
1797
* src/ne_ssl.h (ne_ssl_context_create): Take flags argument.
1798
(ne_ssl_context_keypair): New prototype.
1799
(ne_ssl_context_trustcert): Renamed from ne_ssl_ctx_trustcert.
1801
* src/ne_openssl.c (ne_ssl_context_create): Take flags.
1802
(ne_ssl_context_keypair): Implement.
1803
(ne__negotiate_ssl): Adjust to use ne__sock_sslsock.
1805
* src/ne_gnutls.c (ne_ssl_context_create): Take flags, adjust
1806
for ctx->cred change.
1807
(ne_ssl_context_keypair): Implement.
1809
* test/socket.c (init_ssl): Switch to use ne_ssl_context for the
1810
server context rather than OpenSSL directly.
1812
------------------------------------------------------------------------
1813
r283 | joe | 2004-10-06 09:15:30 +0100 (Wed, 06 Oct 2004) | 2 lines
1815
* src/Makefile.in: Add deps for ne_gnutls.lo.
1817
------------------------------------------------------------------------
1818
r282 | joe | 2004-10-05 21:50:01 +0100 (Tue, 05 Oct 2004) | 3 lines
1820
* test/socket.c (serve_reset): New function.
1821
(write_reset, read_reset): Use it.
1823
------------------------------------------------------------------------
1824
r281 | joe | 2004-10-05 21:22:35 +0100 (Tue, 05 Oct 2004) | 1 line
1826
Suffer the aclocal noise for the time being.
1827
------------------------------------------------------------------------
1828
r280 | joe | 2004-10-05 21:21:40 +0100 (Tue, 05 Oct 2004) | 11 lines
1830
Continued work on GNU TLS support, from Aleix Conchillo Flaque:
1832
* src/ne_gnutls.c (ne__negotiate_ssl): Rename from ne_negotiate_ssl.
1834
* src/ne_socket.c [HAVE_GNUTLS] (init_ssl): Call gnutls_global_init.
1835
(ne_sock_exit): Call gnutls_global_deinit.
1836
(check_alert, readable_gnutls, error_gnutls, read_gnutls, write_gnutls):
1838
(ne_sock_switch_ssl, ne_sock_connect_ssl, ne_sock_close): Add GNU TLS
1839
specific implementations.
1841
------------------------------------------------------------------------
1842
r279 | joe | 2004-10-05 21:12:19 +0100 (Tue, 05 Oct 2004) | 6 lines
1846
* src/ne_socket.c (NE_ISRESET): Treat ECONNABORTED like ECONNRESET.
1847
(ne_sock_connect): Don't compare fd numbers to FD_SETSIZE on Win32, do
1850
------------------------------------------------------------------------
1851
r275 | joe | 2004-10-04 22:46:13 +0100 (Mon, 04 Oct 2004) | 6 lines
1853
* src/ne_request.c (ne_begin_request): Don't treat 205 like 204, per
1854
http-wg clarification:
1855
http://lists.w3.org/Archives/Public/ietf-http-wg/2004JulSep/0081.html
1857
* test/request.c (no_body_205): Remove test.
1859
------------------------------------------------------------------------
1860
r274 | joe | 2004-10-04 22:20:31 +0100 (Mon, 04 Oct 2004) | 17 lines
1862
Begin integration of GNU TLS support from Aleix Conchillo Flaque:
1864
* macros/neon.m4 (NE_CHECK_OPENSSLVER): Renamed from NE_CHECK_SSLVER.
1865
(NEON_SSL): Add detection support for GNU TLS. Define HAVE_GNUTLS or
1866
HAVE_OPENSSL as appropriate.
1868
* src/ne_utils.c (version_string): Update to include GNU TLS version
1871
* src/ne_privssl.h (HAVE_GNUTLS): Add alternative private structure
1874
* src/ne_auth.c (get_cnonce): Adjust to use HAVE_OPENSSL rather than
1877
* src/ne_gnutls.c: New file.
1879
------------------------------------------------------------------------
1880
r273 | joe | 2004-10-04 21:56:57 +0100 (Mon, 04 Oct 2004) | 3 lines
1882
* src/ne_socket.c (ne_sock_connect): Use htons not ntohs (Aleix
1885
------------------------------------------------------------------------
1886
r270 | joe | 2004-10-02 23:26:42 +0100 (Sat, 02 Oct 2004) | 1 line
1888
Add clog to svn:ignore.
1889
------------------------------------------------------------------------
1890
r269 | joe | 2004-10-02 23:25:13 +0100 (Sat, 02 Oct 2004) | 7 lines
1892
Merge r266, r267 from 0.24.x branch:
1894
* config.hw.in: Define HAVE_SETSOCKOPT to enable Nagle on Windows.
1896
* macros/neon.m4: Check for socket() in ws2_32 for CygWin.
1899
------------------------------------------------------------------------
1900
r268 | joe | 2004-10-02 23:19:52 +0100 (Sat, 02 Oct 2004) | 1 line
1902
Convert .cvsignore to svn:ignore.
1903
------------------------------------------------------------------------
1904
r256 | joe | 2004-10-02 20:38:59 +0100 (Sat, 02 Oct 2004) | 1 line
1906
Merge trunk up to current neon CVS HEAD.
1907
------------------------------------------------------------------------
1908
r255 | joe | 2004-10-02 20:34:48 +0100 (Sat, 02 Oct 2004) | 1 line
1910
Branch trunk from 0.24.4 on 0.24.x branch.
1911
------------------------------------------------------------------------
1912
r251 | joe | 2004-10-02 20:31:06 +0100 (Sat, 02 Oct 2004) | 1 line
1915
------------------------------------------------------------------------
1916
r249 | joe | 2004-10-02 20:29:59 +0100 (Sat, 02 Oct 2004) | 1 line
1919
------------------------------------------------------------------------
1920
r247 | joe | 2004-10-02 20:25:57 +0100 (Sat, 02 Oct 2004) | 1 line
1923
------------------------------------------------------------------------
1924
r244 | joe | 2004-10-02 20:15:53 +0100 (Sat, 02 Oct 2004) | 1 line
1927
------------------------------------------------------------------------
1928
r243 | joe | 2004-10-02 19:47:02 +0100 (Sat, 02 Oct 2004) | 2 lines
1930
Import neon 0.24.0 to begin 0.24.x branch.
1932
------------------------------------------------------------------------