Debian Codegraph @

deps/libneon/ChangeLog

raw
1 ------------------------------------------------------------------------
2 r1843 | joe | 2011-05-03 13:15:08 +0100 (Tue, 03 May 2011) | 1 line
3
4 Tag release 0.29.6.
5 ------------------------------------------------------------------------
6 r1842 | joe | 2011-05-03 13:14:56 +0100 (Tue, 03 May 2011) | 2 lines
7
8 * macros/neon.m4: Bump to .6.
9
10 ------------------------------------------------------------------------
11 r1841 | joe | 2011-05-03 13:09:46 +0100 (Tue, 03 May 2011) | 2 lines
12
13 * NEWS: Tweak ordering.
14
15 ------------------------------------------------------------------------
16 r1840 | joe | 2011-05-03 13:09:18 +0100 (Tue, 03 May 2011) | 2 lines
17
18 * More news.
19
20 ------------------------------------------------------------------------
21 r1839 | joe | 2011-05-03 13:07:08 +0100 (Tue, 03 May 2011) | 22 lines
22
23 Merge r1836, r1837, r1838 from trunk:
24
25 * src/ne_gnutls.c (ne__ssl_init): Fix for GnuTLS with Nettle.
26
27 * src/ne_auth.c (get_cnonce): Likewise.
28
29 Submitted by: Arfrever Frehtes Taifersar Arahesis <arfrever.fta gmail.com>
30
31 * src/ne_auth.c
32 (ah_post_send): Clear SSPI context only after successful authentication.
33
34 Submitted by: Ivan Zhakov <ivan visualsvn.com>
35
36 Fix some errors flagged by a Coverity scan:
37
38 * src/ne_auth.c (verify_negotiate_response): Check for NULL pointer.
39
40 * src/ne_gnutls.c (check_certificate): Initiatialize 'failures'.
41 (pkcs12_parse): Check for _crt_init failure.
42
43 * src/ne_session.c (ne__ssl_set_verify_err): Pass size-1 to strncat.
44
45 ------------------------------------------------------------------------
46 r1835 | joe | 2011-03-01 13:28:28 +0000 (Tue, 01 Mar 2011) | 2 lines
47
48 * NEWS: Update.
49
50 ------------------------------------------------------------------------
51 r1834 | joe | 2011-03-01 13:26:04 +0000 (Tue, 01 Mar 2011) | 6 lines
52
53 Merge r1833 from trunk:
54
55 * src/ne_request.c (ne_request_create): Pass copied method to
56 pre_send hooks to avoid lifetime issues (Patrick Ohly).
57
58
59 ------------------------------------------------------------------------
60 r1832 | joe | 2010-11-11 12:32:11 +0000 (Thu, 11 Nov 2010) | 2 lines
61
62 * macros/neon.m4: Really bump to -dev.
63
64 ------------------------------------------------------------------------
65 r1831 | joe | 2010-11-11 12:31:39 +0000 (Thu, 11 Nov 2010) | 2 lines
66
67 * macros/neon.m4, NEWS: Bump to .6-dev.
68
69 ------------------------------------------------------------------------
70 r1830 | joe | 2010-11-11 12:29:51 +0000 (Thu, 11 Nov 2010) | 5 lines
71
72 Merge r1827 from trunk:
73
74 * doc/ref/iaddr.xml: Update ne_iaddr_* docs.
75
76
77 ------------------------------------------------------------------------
78 r1829 | joe | 2010-11-11 12:26:45 +0000 (Thu, 11 Nov 2010) | 7 lines
79
80 Merge r1828 from trunk:
81
82 * src/ne_gnutls.c (provide_client_cert): Return success with no cert
83 if no cert is available; match behaviour with OpenSSL. Thanks to
84 Patrick Ohly.
85
86
87 ------------------------------------------------------------------------
88 r1825 | joe | 2010-10-14 16:04:44 +0100 (Thu, 14 Oct 2010) | 2 lines
89
90 * NEWS: Tweak.
91
92 ------------------------------------------------------------------------
93 r1824 | joe | 2010-10-14 16:03:02 +0100 (Thu, 14 Oct 2010) | 2 lines
94
95 * NEWS: Update with GnuTLS fix.
96
97 ------------------------------------------------------------------------
98 r1823 | joe | 2010-10-14 16:02:41 +0100 (Thu, 14 Oct 2010) | 10 lines
99
100 Merge r1818 from trunk:
101
102 * test/socket.c (addr_reverse) [HAVE_GETHOSTNAME]: Accept system
103 hostname as reverse of 127.0.0.1.
104
105 * macros/neon-test.m4 (NEON_TEST): Check for gethostname().
106
107 Submitted by: joe
108 Reviewed by: jorton
109
110 ------------------------------------------------------------------------
111 r1822 | joe | 2010-10-14 16:01:53 +0100 (Thu, 14 Oct 2010) | 2 lines
112
113 * NEWS, macros/neon.m4: Prepare for 0.29.5.
114
115 ------------------------------------------------------------------------
116 r1821 | joe | 2010-10-14 16:00:53 +0100 (Thu, 14 Oct 2010) | 6 lines
117
118 Merge r1797 from trunk:
119
120 * src/ne_auth.c: Add handling of 2xx responses in SSPI code.
121 (Danil Shopyrin <danil visualsvn.com>)
122
123
124 ------------------------------------------------------------------------
125 r1820 | joe | 2010-10-09 17:07:17 +0100 (Sat, 09 Oct 2010) | 6 lines
126
127 Merge r1819 from trunk:
128
129 * src/ne_socket.c (ne_sock_connect_ssl): Ignore TLS warnings
130 during handshake (Bryan Cain).
131
132
133 ------------------------------------------------------------------------
134 r1816 | joe | 2010-10-01 13:00:02 +0100 (Fri, 01 Oct 2010) | 2 lines
135
136 * po/: make update-po.
137
138 ------------------------------------------------------------------------
139 r1814 | joe | 2010-09-28 13:02:37 +0100 (Tue, 28 Sep 2010) | 2 lines
140
141 * NEWS: Update.
142
143 ------------------------------------------------------------------------
144 r1813 | joe | 2010-09-28 13:00:48 +0100 (Tue, 28 Sep 2010) | 10 lines
145
146 Merge r1811 from trunk:
147
148 * src/ne_session.c (ne__ssl_match_hostname): Deny a wildcard match
149 against anything which parses as an IP address.
150
151 * test/ssl.c (fail_wildcard_ip): Add test case.
152
153 * test/makekeys.sh: Generate test wildcard IP cert.
154
155
156 ------------------------------------------------------------------------
157 r1812 | joe | 2010-09-28 12:57:26 +0100 (Tue, 28 Sep 2010) | 8 lines
158
159 Merge r1809 from trunk:
160
161 * src/ne_request.c (open_connection): If SOCKS proxy fails, set return
162 value to NE_ERROR.
163
164 * test/request.c (socks_fail): Add test case.
165
166
167 ------------------------------------------------------------------------
168 r1808 | joe | 2010-09-22 21:42:08 +0100 (Wed, 22 Sep 2010) | 2 lines
169
170 * NEWS: Update for 0.29.4.
171
172 ------------------------------------------------------------------------
173 r1807 | joe | 2010-09-22 20:33:36 +0100 (Wed, 22 Sep 2010) | 9 lines
174
175 Merge r1801 from trunk:
176
177 * src/ne_request.c (body_fd_send): Handle read() errors; thanks to Lou
178 Montulli.
179
180 * test/request.c (serve_mirror, send_length): Add test case.
181
182 * test/Makefile.in (foobar.txt): Create test file.
183
184 ------------------------------------------------------------------------
185 r1806 | joe | 2010-09-22 20:25:52 +0100 (Wed, 22 Sep 2010) | 8 lines
186
187 Merge r1802, r1805 from trunk:
188
189 * macros/neon.m4 (NE_CHECK_FUNCS): Fix AI_ADDRCONFIG detection.
190
191 * src/ne_auth.c (ah_post_send): Always clear the SSPI context.
192 (Danil Shopyrin)
193
194
195 ------------------------------------------------------------------------
196 r1800 | joe | 2010-05-05 09:13:00 +0100 (Wed, 05 May 2010) | 5 lines
197
198 Merge r1794 from trunk:
199
200 * src/ne_session.c (ne_session_create): Fix to enable SNI by default again.
201 (Tobias Gruetzmacher)
202
203 ------------------------------------------------------------------------
204 r1796 | joe | 2010-03-29 10:19:04 +0100 (Mon, 29 Mar 2010) | 9 lines
205
206 Merge r1792, r1793, r1795 from trunk:
207
208 * src/ne_request.c (do_connect): Tweak debugging.
209
210 * doc/ref/: Fix some refpurposes.
211
212 * doc/ref/reqflags.xml: Doc tweak.
213
214
215 ------------------------------------------------------------------------
216 r1790 | joe | 2010-02-08 09:52:54 +0000 (Mon, 08 Feb 2010) | 2 lines
217
218 * macros/neon-test.m4: Test for signal.h
219
220 ------------------------------------------------------------------------
221 r1787 | joe | 2010-01-11 22:59:31 +0000 (Mon, 11 Jan 2010) | 2 lines
222
223 * macros/neon.m4, NEWS: Missed a backport :(
224
225 ------------------------------------------------------------------------
226 r1786 | joe | 2010-01-11 22:57:34 +0000 (Mon, 11 Jan 2010) | 6 lines
227
228 Merge r1777 from trunk:
229
230 * src/ne_defs.h: Only define NE_PRIVATE if undefined.
231
232 * configure.in: Define NE_PRIVATE to 'extern' for a static build.
233
234 ------------------------------------------------------------------------
235 r1784 | joe | 2010-01-11 20:21:21 +0000 (Mon, 11 Jan 2010) | 2 lines
236
237 * macros/neon.m4: Bump to 0.29.3.
238
239 ------------------------------------------------------------------------
240 r1783 | joe | 2010-01-11 20:21:06 +0000 (Mon, 11 Jan 2010) | 2 lines
241
242 * NEWS: Tweaks.
243
244 ------------------------------------------------------------------------
245 r1782 | joe | 2010-01-11 10:40:42 +0000 (Mon, 11 Jan 2010) | 2 lines
246
247 * NEWS: Document ne_sock_close() changes.
248
249 ------------------------------------------------------------------------
250 r1781 | joe | 2010-01-11 10:36:14 +0000 (Mon, 11 Jan 2010) | 8 lines
251
252 Merge r1780 from trunk:
253
254 * src/ne_socket.c (ne_sock_close): Do not wait for the peer's
255 close_notify alert with either GnuTLS or OpenSSL.
256 [HAVE_GNUTLS]: Fix memory leak: free the session object.
257
258 * src/ne_socket.h (ne_sock_close): Clarify close_notify handling.
259
260 ------------------------------------------------------------------------
261 r1775 | joe | 2009-12-30 21:31:55 +0000 (Wed, 30 Dec 2009) | 2 lines
262
263 * po/: make update-po.
264
265 ------------------------------------------------------------------------
266 r1774 | joe | 2009-12-30 21:31:30 +0000 (Wed, 30 Dec 2009) | 2 lines
267
268 * macros/neon.m4: Bump version.
269
270 ------------------------------------------------------------------------
271 r1773 | joe | 2009-12-30 21:30:55 +0000 (Wed, 30 Dec 2009) | 2 lines
272
273 * NEWS: 0.29.2 news.
274
275 ------------------------------------------------------------------------
276 r1772 | joe | 2009-12-30 21:29:30 +0000 (Wed, 30 Dec 2009) | 10 lines
277
278 Merge r1748 from trunk:
279
280 Clear sspi_token buffer after each request.
281
282 * src/ne_auth.c (request_sspi): Return NULL if sspi_token is not present.
283
284 * src/ne_auth.c (ah_post_send): Clear the buffered sspi_token.
285
286 Submitted by: Danil Shopyrin <danil visualsvn.com>
287
288 ------------------------------------------------------------------------
289 r1771 | joe | 2009-12-30 21:28:48 +0000 (Wed, 30 Dec 2009) | 7 lines
290
291 Merge r1770 from trunk:
292
293 * src/ne_openssl.c (verify_callback): Handle OpenSSL error code
294 X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT as an untrusted cert.
295
296 Submitted by: Tom C <tomc.neon pnl.gov>
297
298 ------------------------------------------------------------------------
299 r1767 | joe | 2009-12-15 22:24:26 +0000 (Tue, 15 Dec 2009) | 2 lines
300
301 * po/: make update-po.
302
303 ------------------------------------------------------------------------
304 r1753 | joe | 2009-12-14 20:45:16 +0000 (Mon, 14 Dec 2009) | 2 lines
305
306 * macros/neon.m4, NEWS: Prepare for 0.29.1.
307
308 ------------------------------------------------------------------------
309 r1751 | joe | 2009-12-02 21:40:41 +0000 (Wed, 02 Dec 2009) | 4 lines
310
311 Merge r1750 from trunk:
312
313 * src/ne_gnutls.c (map_verify_failures): Fix build for GnuTLS < 2.8.
314
315 ------------------------------------------------------------------------
316 r1749 | joe | 2009-12-02 21:27:34 +0000 (Wed, 02 Dec 2009) | 13 lines
317
318 Merge r1739, r1744, r1746, r1747 from trunk:
319
320 * config.hw.in: Fix socklen_t with recent SDKs, thanks to Stefan Kung.
321
322 * src/ne_socket.c: Fixed 'missing symbol' win2k runtime problem.
323
324 * src/ne_ntlm.c (ne__ntlm_authenticate)
325 * src/ne_auth.c (ntlm_challenge):
326 In case of session timeout, do not call auth callback; use
327 existing credentials.
328
329 * src/ne_ntlm.c (mkhash): Fix buffer overflow ([email protected]).
330
331 ------------------------------------------------------------------------
332 r1743 | joe | 2009-10-25 11:25:24 +0000 (Sun, 25 Oct 2009) | 5 lines
333
334 Merge r1742 from trunk:
335
336 * src/ne_session.c (ne_session_create): Only enable SNI by default if
337 the server hostname does not parse as a numeric IP address.
338
339 ------------------------------------------------------------------------
340 r1740 | joe | 2009-09-26 20:58:08 +0100 (Sat, 26 Sep 2009) | 9 lines
341
342 Merge r1738, r1739 from trunk:
343
344 * src/ne_socket.c (ne_iaddr_parse): Fix Win32 build for both
345 USE_GETADDRINFO and !USE_GETADDRINFO cases.
346
347 * config.hw.in: Fix socklen_t with recent SDKs, thanks to Stefan Kung.
348
349 Reviewed by: jorton
350
351 ------------------------------------------------------------------------
352 r1735 | joe | 2009-09-13 13:12:27 +0100 (Sun, 13 Sep 2009) | 2 lines
353
354 * macros/neon.m4: Don't ABI-tag LFS builds.
355
356 ------------------------------------------------------------------------
357 r1733 | joe | 2009-09-13 12:57:58 +0100 (Sun, 13 Sep 2009) | 2 lines
358
359 * po/: make update-po.
360
361 ------------------------------------------------------------------------
362 r1732 | joe | 2009-09-13 12:57:18 +0100 (Sun, 13 Sep 2009) | 2 lines
363
364 * test/ssl.c (simple_sslv2): Skip better.
365
366 ------------------------------------------------------------------------
367 r1731 | joe | 2009-09-13 12:56:25 +0100 (Sun, 13 Sep 2009) | 2 lines
368
369 * test/ssl.c (simple_sslv2): Skip for OpenSSL.
370
371 ------------------------------------------------------------------------
372 r1730 | joe | 2009-09-13 12:56:10 +0100 (Sun, 13 Sep 2009) | 2 lines
373
374 * macros/neon.m4: Prep for 0.29.0.
375
376 ------------------------------------------------------------------------
377 r1729 | joe | 2009-09-13 12:43:01 +0100 (Sun, 13 Sep 2009) | 2 lines
378
379 * NEWS: Tweak wording.
380
381 ------------------------------------------------------------------------
382 r1728 | joe | 2009-09-13 12:41:22 +0100 (Sun, 13 Sep 2009) | 2 lines
383
384 * NEWS: Note OpenSSL 1.0 beta build fix.
385
386 ------------------------------------------------------------------------
387 r1727 | joe | 2009-09-13 12:40:59 +0100 (Sun, 13 Sep 2009) | 5 lines
388
389 Merge r1726 from trunk:
390
391 * src/ne_socket.c (ne_sock_close) [HAVE_OPENSSL]: Ensure SSL
392 connection is shut down cleanly.
393
394 ------------------------------------------------------------------------
395 r1725 | joe | 2009-09-13 12:26:52 +0100 (Sun, 13 Sep 2009) | 10 lines
396
397 Merge r1724 from trunk:
398
399 * src/ne_openssl.c: Include opensslv.h.
400 (SSL_SESSION_cmp): Define if not available, for OpenSSL >= 1.0.
401
402 * src/ne_socket.c (ne_sock_accept_ssl): Add debug log output if
403 session is resumed.
404
405 * macros/neon.m4 (NEON_SSL): Check for SSL_SESSION_cmp.
406
407 ------------------------------------------------------------------------
408 r1723 | joe | 2009-09-04 08:36:26 +0100 (Fri, 04 Sep 2009) | 6 lines
409
410 Merge r1722 from trunk:
411
412 * Makefile.in, README: Collect copyright notices from po/*.
413
414 * po/: Update copyright notices.
415
416 ------------------------------------------------------------------------
417 r1721 | joe | 2009-09-04 08:29:23 +0100 (Fri, 04 Sep 2009) | 2 lines
418
419 * po/pl.po, NEWS: Update Polish translation (Arfrever Frehtes Taifersar Arahesis).
420
421 ------------------------------------------------------------------------
422 r1720 | joe | 2009-09-04 08:27:49 +0100 (Fri, 04 Sep 2009) | 2 lines
423
424 * NEWS: Update.
425
426 ------------------------------------------------------------------------
427 r1717 | joe | 2009-09-02 21:44:08 +0100 (Wed, 02 Sep 2009) | 2 lines
428
429 * po/: make update-po.
430
431 ------------------------------------------------------------------------
432 r1716 | joe | 2009-09-02 21:43:09 +0100 (Wed, 02 Sep 2009) | 2 lines
433
434 * NEWS: Update.
435
436 ------------------------------------------------------------------------
437 r1715 | joe | 2009-09-02 21:29:42 +0100 (Wed, 02 Sep 2009) | 10 lines
438
439 Merge r1713, r1714 from trunk:
440
441 * src/ne_request.c (socks_origin_lookup): New function.
442 (open_connection): Use it to fix support for SOCKSv4 servers.
443
444 * test/request.c (socks_v4_proxy): Add test case.
445
446 * macros/neon.m4 (LIBNEON_SOURCE_CHECKS): Require inet_pton for
447 getaddrinfo support.
448
449 ------------------------------------------------------------------------
450 r1712 | joe | 2009-09-02 20:43:05 +0100 (Wed, 02 Sep 2009) | 22 lines
451
452 Merge r1709, r1710, r1711 from trunk:
453
454 * test/util-socks.c (read_socks_0string): Pass through context string.
455 (socks_server): Fail for v4 server without expected address.
456 Don't write "ok" message for v4 server without say_hello flag.
457
458 * src/ne_socket.c (ne_iaddr_parse): New function.
459
460 * test/socket.c (check_is_raw127): Factored out from addr_make_v4.
461 (parse_v4): New function.
462 (addr_make_v6): Test ne_iaddr_parse for IPv6 addresses.
463 (socks_proxy): Fix for non-v6-enabled builds.
464
465 * src/ne_socket.c (ne_iaddr_parse) [!USE_GETADDRINFO]: Fail for IPv6
466 addresses.
467
468 * test/socket.c (addr_make_v6) [!TEST_IPV6]: Test for failure.
469
470 Also:
471
472 * src/neon.vers: Add ne_iaddr_parse.
473
474 ------------------------------------------------------------------------
475 r1708 | joe | 2009-09-02 15:51:26 +0100 (Wed, 02 Sep 2009) | 2 lines
476
477 * macros/neon.m4: Set libtool versions as backwards-compat to 0.27.x.
478
479 ------------------------------------------------------------------------
480 r1707 | joe | 2009-09-02 15:50:59 +0100 (Wed, 02 Sep 2009) | 2 lines
481
482 * po/: make update-po.
483
484 ------------------------------------------------------------------------
485 r1706 | joe | 2009-09-02 15:40:47 +0100 (Wed, 02 Sep 2009) | 2 lines
486
487 Branch for 0.29.x.
488
489 ------------------------------------------------------------------------
490 r1705 | joe | 2009-09-02 15:40:13 +0100 (Wed, 02 Sep 2009) | 2 lines
491
492 * macros/neon.m4: Import from gnulib.
493
494 ------------------------------------------------------------------------
495 r1704 | joe | 2009-09-02 15:39:40 +0100 (Wed, 02 Sep 2009) | 5 lines
496
497 * configure.in: Use a GNU linker script if supported, to enable
498 symbol versioning.
499
500 * src/neon.vers: Add linker script.
501
502 ------------------------------------------------------------------------
503 r1703 | joe | 2009-09-02 15:04:43 +0100 (Wed, 02 Sep 2009) | 5 lines
504
505 * src/ne_defs.h: Define NE_PRIVATE.
506
507 * src/ne_privssl.h, src/ne_ntlm.h, src/ne_private.h: Mark all
508 functions with NE_PRIVATE.
509
510 ------------------------------------------------------------------------
511 r1702 | joe | 2009-09-02 14:51:05 +0100 (Wed, 02 Sep 2009) | 2 lines
512
513 * NEWS: Update.
514
515 ------------------------------------------------------------------------
516 r1701 | joe | 2009-09-01 21:49:56 +0100 (Tue, 01 Sep 2009) | 12 lines
517
518 Minor cleanups to NTLM code:
519
520 * src/ne_ntlm.c: Rename ne_ntlm_* to ne__ntlm_*.
521 (mkhash): Use ne_malloc/ne_free. Avoid shadowing MD4 global.
522 (ne_output_ntlm): Use ne_snprintf; cast size to size_t.
523 (ne__ntlm_create_context): Return context pointer, don't fail.
524 (ne__ntlm_destroy_context): Remove error path.
525 (ne__ntlm_getRequestToken): Reflow.
526 (ne_ntlm_clear_context): Remove noop function.
527
528 * src/ne_ntlm.h, src/ne_auth.c: Adjust accordingly.
529
530 ------------------------------------------------------------------------
531 r1700 | joe | 2009-09-01 21:13:12 +0100 (Tue, 01 Sep 2009) | 7 lines
532
533 Split NE_AUTH_NEGOTIATE into NE_AUTH_GSSAPI and NE_AUTH_NTLM:
534
535 * src/ne_auth.h (NE_AUTH_GSSAPI, NE_AUTH_NTLM): New constants.
536
537 * src/ne_auth.c (auth_register): Map NE_AUTH_NEGOTIATE into
538 NE_AUTH_GSSAPI | NE_AUTH_NTLM.
539
540 ------------------------------------------------------------------------
541 r1699 | joe | 2009-09-01 16:09:13 +0100 (Tue, 01 Sep 2009) | 3 lines
542
543 * src/ne_auth.c (digest_challenge): Simpler check for initial
544 challenge.
545
546 ------------------------------------------------------------------------
547 r1698 | joe | 2009-09-01 15:56:59 +0100 (Tue, 01 Sep 2009) | 2 lines
548
549 * macros/neon.m4 (NEON_SSL): Define NTLM for OpenSSL builds.
550
551 ------------------------------------------------------------------------
552 r1697 | joe | 2009-09-01 15:56:18 +0100 (Tue, 01 Sep 2009) | 2 lines
553
554 * src/Makefile.in: Build ne_ntlm.c.
555
556 ------------------------------------------------------------------------
557 r1696 | joe | 2009-09-01 15:44:59 +0100 (Tue, 01 Sep 2009) | 2 lines
558
559 * src/ne_auth.c: Whitespace changes.
560
561 ------------------------------------------------------------------------
562 r1695 | joe | 2009-09-01 15:27:20 +0100 (Tue, 01 Sep 2009) | 2 lines
563
564 * NEWS: Update.
565
566 ------------------------------------------------------------------------
567 r1694 | joe | 2009-09-01 15:27:02 +0100 (Tue, 01 Sep 2009) | 2 lines
568
569 * README: Remove dupe.
570
571 ------------------------------------------------------------------------
572 r1693 | joe | 2009-09-01 15:26:32 +0100 (Tue, 01 Sep 2009) | 9 lines
573
574 Fix handling of stale=true in a RFC2069-style Digest challenge:
575
576 * src/ne_auth.c (digest_challenge): Relax check for stale=true to cover
577 2069-style Digest auth.
578
579 * test/auth.c (make_digest_header, digest_failure): Check for
580 handling of stale=true with 2069 Digest.
581
582
583 ------------------------------------------------------------------------
584 r1692 | joe | 2009-08-19 14:19:41 +0100 (Wed, 19 Aug 2009) | 2 lines
585
586 * doc/security.xml: Wording fix.
587
588 ------------------------------------------------------------------------
589 r1687 | joe | 2009-08-18 15:18:53 +0100 (Tue, 18 Aug 2009) | 12 lines
590
591 Security fix for CVE-2009-2473: prevent the "billion laughs" attack
592 against expat:
593
594 * src/ne_xml.c (ne_xml_create) [HAVE_EXPAT]: Register entity
595 decl handler.
596 [HAVE_LIBXML]: Use xmlCtxtUseOptions interface.
597 (entity_declaration): New function.
598
599 * test/xml.c (fail_parse): Add billion laughs test case.
600
601 * test/run.sh: Limit run-time CPU use to 120 seconds.
602
603 ------------------------------------------------------------------------
604 r1686 | joe | 2009-08-18 14:50:29 +0100 (Tue, 18 Aug 2009) | 2 lines
605
606 * test/ssl.c (fail_nul_*): Fix for VPATH builds.
607
608 ------------------------------------------------------------------------
609 r1681 | joe | 2009-08-18 14:12:29 +0100 (Tue, 18 Aug 2009) | 27 lines
610
611 Security fix for CVE-2009-2474, handling of "NUL" bytes in certificate
612 names:
613
614 * src/ne_private.h (ne__ssl_match_hostname): Take cn len, make cn
615 const.
616
617 * src/ne_session.c (ne__ssl_match_hostname): Drop handling of
618 unqualified hostnames; check CN length matches.
619
620 * src/ne_gnutls.c (check_identity): Adjust accordingly.
621
622 * src/ne_openssl.c (append_dirstring): Use a quoted append for ASCII
623 data. Check for embedded NUL bytes in UTF-8 data.
624 (dup_ia5string): Use quoted append.
625
626 * test/ssl.c (struct ssl_server_args): Add key field.
627 (ssl_server): Use key field from args.
628 (fail_ssl_request_with_error2): Rename from
629 fail_ssl_request_with_error, add host, fakehost
630 parameters.
631 (fail_ssl_request_with_error): Reimplement using
632 fail_ssl_request_with_error2.
633 (fail_nul_cn, fail_nul_san, nulcn_identity): New tests.
634
635 * test/nulca.pem, test/nulcn.pem, test/nulsan.pem, test/nulsrv.key:
636 Add test cases, thanks to Tomas Hoger <thoger redhat.com>.
637
638 ------------------------------------------------------------------------
639 r1680 | joe | 2009-08-11 16:50:33 +0100 (Tue, 11 Aug 2009) | 8 lines
640
641 * src/ne_string.c (qappend_count, quoted_append): Factor out from
642 ne_buffer_qappend.
643 (ne_strnqdup): New function.
644
645 * src/ne_string.h (ne_strnqdup): New prototype.
646
647 * test/string-tests.c (qappend): Test for it.
648
649 ------------------------------------------------------------------------
650 r1679 | joe | 2009-08-11 15:15:33 +0100 (Tue, 11 Aug 2009) | 6 lines
651
652 * src/ne_string.c (ne_buffer_qappend): New function.
653
654 * src/ne_string.h (ne_buffer_qappend): New prototype.
655
656 * test/string-tests.c (qappend): New test case.
657
658 ------------------------------------------------------------------------
659 r1678 | joe | 2009-08-11 15:08:20 +0100 (Tue, 11 Aug 2009) | 2 lines
660
661 * Makefile.in: Avoid dupes in copyright notices.
662
663 ------------------------------------------------------------------------
664 r1677 | joe | 2009-08-07 10:54:36 +0100 (Fri, 07 Aug 2009) | 2 lines
665
666 * test/openssl.conf: Sign certs using SHA1 since GnuTLS fails MD5-signed certs.
667
668 ------------------------------------------------------------------------
669 r1676 | joe | 2009-08-05 14:58:52 +0100 (Wed, 05 Aug 2009) | 6 lines
670
671 * src/ne_string.c (ne_buffer_qappend): New function.
672
673 * src/ne_string.h (ne_buffer_qappend): New prototype.
674
675 * test/string-tests.c (qappend): New test case.
676
677 ------------------------------------------------------------------------
678 r1675 | joe | 2009-08-05 14:01:26 +0100 (Wed, 05 Aug 2009) | 2 lines
679
680 * src/ne_socket.c (ne_sock_peer): Fix strict-aliasing issue.
681
682 ------------------------------------------------------------------------
683 r1671 | joe | 2009-07-02 22:15:24 +0100 (Thu, 02 Jul 2009) | 2 lines
684
685 * README: "make update-copyright"
686
687 ------------------------------------------------------------------------
688 r1670 | joe | 2009-07-02 22:14:33 +0100 (Thu, 02 Jul 2009) | 3 lines
689
690 * src/ne_session.c: Updata copyright notices; Tommi's code
691 was long-since replaced.
692
693 ------------------------------------------------------------------------
694 r1669 | joe | 2009-07-02 22:12:36 +0100 (Thu, 02 Jul 2009) | 3 lines
695
696 * src/ne_openssl.c, src/ne_socket.c: Update copyright notices;
697 Tommi's code was long-since replaced.
698
699 ------------------------------------------------------------------------
700 r1668 | joe | 2009-07-02 22:03:44 +0100 (Thu, 02 Jul 2009) | 2 lines
701
702 * macros/neon.m4 (NEON_LIBPROXY): Correctly handle --without-libproxy.
703
704 ------------------------------------------------------------------------
705 r1667 | joe | 2009-07-02 22:01:16 +0100 (Thu, 02 Jul 2009) | 2 lines
706
707 * test/util-socks.c: Remove unnecessary #include.
708
709 ------------------------------------------------------------------------
710 r1666 | joe | 2009-07-02 10:07:18 +0100 (Thu, 02 Jul 2009) | 3 lines
711
712 * macros/neon.m4 (LIBNEON_SOURCE_CHECKS): Silence warnings with autoconf
713 2.6x; use AC_USE_SYSTEM_EXTENSIONS.
714
715 ------------------------------------------------------------------------
716 r1665 | joe | 2009-07-02 10:05:48 +0100 (Thu, 02 Jul 2009) | 2 lines
717
718 * configure.in: Reorder to prevent autoconf 2.6x warnings.
719
720 ------------------------------------------------------------------------
721 r1662 | joe | 2009-06-09 14:30:51 +0100 (Tue, 09 Jun 2009) | 6 lines
722
723 * src/ne_socket.c (timed_connect): Only enable O_NONBLOCK if it
724 is not already enabled.
725 (ne_sock_connect): Use SOCK_NONBLOCK if available, and
726 use of SOCK_CLOEXEC has not previously failed, and a
727 connect timeout is configured.
728
729 ------------------------------------------------------------------------
730 r1661 | joe | 2009-06-09 11:33:43 +0100 (Tue, 09 Jun 2009) | 2 lines
731
732 * README, Makefile.in: Update copyright-notice-collector.
733
734 ------------------------------------------------------------------------
735 r1658 | joe | 2009-06-09 11:17:55 +0100 (Tue, 09 Jun 2009) | 3 lines
736
737 * src/ne_socket.c (raw_connect): New function.
738 (timed_connect): Use it to correctly handle EINTR.
739
740 ------------------------------------------------------------------------
741 r1657 | joe | 2009-06-09 11:01:42 +0100 (Tue, 09 Jun 2009) | 2 lines
742
743 * src/ne_socket.c (ne_sock_connect): Fix FD_CLOEXEC for !SOCK_CLOEXEC builds.
744
745 ------------------------------------------------------------------------
746 r1656 | joe | 2009-06-09 10:54:54 +0100 (Tue, 09 Jun 2009) | 5 lines
747
748 * src/ne_socket.c (ne_sock_connect): Fix forward compat with
749 new-glibc/ old kernel cases - use SOCK_CLOEXEC only if no previous
750 socket() call has failed with EINVAL. Retry such a failed socket()
751 call.
752
753 ------------------------------------------------------------------------
754 r1655 | joe | 2009-05-29 15:18:03 +0100 (Fri, 29 May 2009) | 9 lines
755
756 * src/ne_session.c (ne__ssl_set_verify_err): Add error strings for
757 NE_SSL_BADCHAIN, NE_SSL_REVOKED.
758
759 * test/ssl.c (fail_ssl_request_with_error): Renamed from
760 fail_ssl_request; take error string and test for it.
761 (fail_ssl_request): Reimplment as wrapper for above.
762 (fail_expired, fail_wrongCN, fail_untrusted_ca,
763 fail_ca_expired): Use _with_error to test error strings.
764
765 ------------------------------------------------------------------------
766 r1654 | joe | 2009-05-29 15:09:21 +0100 (Fri, 29 May 2009) | 3 lines
767
768 * src/ne_gnutls.c (ne_ssl_context_create): Enable support for
769 X.509v1 CA certs.
770
771 ------------------------------------------------------------------------
772 r1653 | joe | 2009-04-30 14:44:52 +0100 (Thu, 30 Apr 2009) | 3 lines
773
774 * test/makekeys.sh: Fix to ensure the "bad CAs" do assert the
775 CA constraint as true.
776
777 ------------------------------------------------------------------------
778 r1652 | joe | 2009-04-30 14:34:20 +0100 (Thu, 30 Apr 2009) | 3 lines
779
780 * src/ne_gnutls.c (check_certificate): Correctly check validity times of certs
781 within chain.
782
783 ------------------------------------------------------------------------
784 r1651 | joe | 2009-04-30 14:19:59 +0100 (Thu, 30 Apr 2009) | 2 lines
785
786 * test/ssl.c: Fix typos, no functional change.
787
788 ------------------------------------------------------------------------
789 r1650 | kso | 2009-03-26 12:24:32 +0000 (Thu, 26 Mar 2009) | 1 line
790
791 initial support for platform-independent NTLM auth
792 ------------------------------------------------------------------------
793 r1648 | joe | 2009-03-11 13:08:34 +0000 (Wed, 11 Mar 2009) | 3 lines
794
795 * macros/neon.m4 (NEON_LIBPROXY): Mark feature as disabled if
796 built with --without-libproxy.
797
798 ------------------------------------------------------------------------
799 r1647 | joe | 2009-03-05 11:49:54 +0000 (Thu, 05 Mar 2009) | 2 lines
800
801 * test/uri-tests.c (resolve): Test API guarantee for resolved ->path.
802
803 ------------------------------------------------------------------------
804 r1646 | joe | 2009-03-05 11:48:42 +0000 (Thu, 05 Mar 2009) | 2 lines
805
806 * src/ne_ssl.h: Improve ne_ssl_clicert_* docs, specify object state.
807
808 ------------------------------------------------------------------------
809 r1645 | joe | 2009-03-05 11:48:02 +0000 (Thu, 05 Mar 2009) | 9 lines
810
811 Be strict in parsing C-L response header:
812
813 * src/ne_request.c (ne_begin_request): Fail for a C-L with trailing
814 non-numeric chars, or is an empty string.
815
816 * test/request.c (no_body_empty_clength, no_body_bad_clength): Remove tests.
817 (fail_on_invalid): Add tests for invalid C-L.
818
819
820 ------------------------------------------------------------------------
821 r1644 | joe | 2009-03-04 14:31:40 +0000 (Wed, 04 Mar 2009) | 2 lines
822
823 * test/common/tests.c: Remove sys/signal.h include.
824
825 ------------------------------------------------------------------------
826 r1643 | joe | 2009-03-03 21:50:21 +0000 (Tue, 03 Mar 2009) | 3 lines
827
828 * src/ne_session.h: Define NE_SSL_REVOKED; bump NE_SSL_FAILMASK, reflow
829 NE_SSL_* text.
830
831 ------------------------------------------------------------------------
832 r1642 | joe | 2009-03-03 21:45:19 +0000 (Tue, 03 Mar 2009) | 2 lines
833
834 * test/: Ignore more.
835
836 ------------------------------------------------------------------------
837 r1641 | joe | 2009-03-03 21:44:05 +0000 (Tue, 03 Mar 2009) | 23 lines
838
839 Expose the cert verification failure case where a cert higher in the
840 validation chain is outside its validity-period; test cases and thanks
841 to Ludwig Nussel:
842
843 * src/ne_session.h (NE_SSL_BADCHAIN): New constant.
844 (NE_SSL_FAILMASK): Bumped up.
845
846 * src/ne_gnutls.c (check_certificate): Check validity period of all
847 certs in the chain; flag NE_SSL_BADCHAIN appropriately.
848
849 * src/ne_openssl.c (verify_cert): New function.
850 (check_certificate): Rely on failure bits collected via
851 verify_cert invocations.
852 (ne_ssl_context_create): Install verify_cert as OpenSSL
853 verify callback.
854 (ne__negotiate_ssl): Clear ctx->failures.
855
856 * test/makekeys.sh, test/openssl.conf: Create ca[1-3] with ca1, ca3
857 being expired and not-yet-valid respectively; create
858 ca[13]server.cert signed by these CAs.
859
860 * test/ssl.c (fail_ca_notyetvalid, fail_ca_expired): New test cases.
861
862 ------------------------------------------------------------------------
863 r1640 | joe | 2009-03-03 21:34:25 +0000 (Tue, 03 Mar 2009) | 2 lines
864
865 * NEWS: Sync with 0.28.x.
866
867 ------------------------------------------------------------------------
868 r1639 | joe | 2009-03-03 21:33:34 +0000 (Tue, 03 Mar 2009) | 2 lines
869
870 * doc/feat.xml: Update for trunk.
871
872 ------------------------------------------------------------------------
873 r1633 | joe | 2009-02-25 14:04:42 +0000 (Wed, 25 Feb 2009) | 3 lines
874
875 * doc/man.xsl, doc/manual.xml: Fix <author> and quieten
876 newer docbook-xsl man page generation.
877
878 ------------------------------------------------------------------------
879 r1630 | joe | 2009-02-25 13:50:12 +0000 (Wed, 25 Feb 2009) | 2 lines
880
881 * install-sh: Remove; rely on provided version.
882
883 ------------------------------------------------------------------------
884 r1628 | joe | 2009-02-25 13:45:09 +0000 (Wed, 25 Feb 2009) | 7 lines
885
886 Fix ne_forget_auth():
887
888 * src/ne_auth.c (clean_session): Clear ->protocol field; patch frm Kai
889 Sommerfeld.
890
891 * test/auth.c (serve_forgotten, forget): New test case.
892
893 ------------------------------------------------------------------------
894 r1626 | joe | 2009-01-29 01:18:00 +0000 (Thu, 29 Jan 2009) | 2 lines
895
896 * macros/neon.m4: Add the hash back into PKCS#11 in output messages.
897
898 ------------------------------------------------------------------------
899 r1622 | joe | 2009-01-29 01:13:07 +0000 (Thu, 29 Jan 2009) | 2 lines
900
901 * doc/ref/neon.xml: Add pakchois and libproxy namespaces.
902
903 ------------------------------------------------------------------------
904 r1621 | joe | 2009-01-29 01:06:30 +0000 (Thu, 29 Jan 2009) | 3 lines
905
906 * doc/ref/neon.xml: Add note on lack of async-signal-safety, and
907 fix a typo.
908
909 ------------------------------------------------------------------------
910 r1620 | joe | 2009-01-21 14:01:22 +0000 (Wed, 21 Jan 2009) | 3 lines
911
912 * src/ne_socket.c (read_gnutls): Perform a new handshake if required
913 and indicated by a gnutls_record_recv() failure.
914
915 ------------------------------------------------------------------------
916 r1619 | joe | 2009-01-21 13:39:44 +0000 (Wed, 21 Jan 2009) | 2 lines
917
918 * src/ne_basic.h: Docs updates.
919
920 ------------------------------------------------------------------------
921 r1618 | joe | 2009-01-14 15:17:11 +0000 (Wed, 14 Jan 2009) | 2 lines
922
923 * THANKS: Convert to UTF-8.
924
925 ------------------------------------------------------------------------
926 r1617 | joe | 2008-12-10 08:22:49 +0000 (Wed, 10 Dec 2008) | 3 lines
927
928 * macros/neon.m4 (LIBNEON_SOURCE_CHECKS): Check for
929 socket functions in -lnetwork, for Haiku.
930
931 ------------------------------------------------------------------------
932 r1616 | joe | 2008-11-21 20:45:48 +0000 (Fri, 21 Nov 2008) | 2 lines
933
934 * Makefile.in: Fix Makefile/neon-config generation in VPATH builds.
935
936 ------------------------------------------------------------------------
937 r1614 | joe | 2008-11-20 21:42:44 +0000 (Thu, 20 Nov 2008) | 2 lines
938
939 * src/ne_pkcs11.c (pk11_provide): Fix memory leak.
940
941 ------------------------------------------------------------------------
942 r1613 | joe | 2008-11-20 21:30:25 +0000 (Thu, 20 Nov 2008) | 2 lines
943
944 * NEWS: More news is good news.
945
946 ------------------------------------------------------------------------
947 r1612 | joe | 2008-11-20 21:28:54 +0000 (Thu, 20 Nov 2008) | 2 lines
948
949 * configure.in: Add notice for forced PIC usage.
950
951 ------------------------------------------------------------------------
952 r1611 | joe | 2008-11-20 21:27:24 +0000 (Thu, 20 Nov 2008) | 2 lines
953
954 * macros/neon.m4: Drop SOCKS tests.
955
956 ------------------------------------------------------------------------
957 r1610 | joe | 2008-11-20 20:59:09 +0000 (Thu, 20 Nov 2008) | 2 lines
958
959 * NEWS: Synch with 0.28.x, update to trunk.
960
961 ------------------------------------------------------------------------
962 r1609 | joe | 2008-11-20 20:56:15 +0000 (Thu, 20 Nov 2008) | 3 lines
963
964 * src/ne_alloc.c, src/ne_alloc.h (ne_free): Implement as function on Win32,
965 thanks to Helge Hess.
966
967 ------------------------------------------------------------------------
968 r1599 | joe | 2008-11-04 20:49:35 +0000 (Tue, 04 Nov 2008) | 3 lines
969
970 * src/ne_socket.c (ne_sock_connect): Use SOCK_CLOEXEC in place of
971 setting the O_CLOEXEC flag, where available.
972
973 ------------------------------------------------------------------------
974 r1597 | joe | 2008-11-04 18:24:19 +0000 (Tue, 04 Nov 2008) | 2 lines
975
976 * test/request.c (status, status_chunked): Fix memory leak.
977
978 ------------------------------------------------------------------------
979 r1594 | joe | 2008-10-31 08:59:02 +0000 (Fri, 31 Oct 2008) | 3 lines
980
981 * macros/neon.m4 (NEON_SSL): Configure GnuTLS support via pkg-config
982 data if possible.
983
984 ------------------------------------------------------------------------
985 r1589 | joe | 2008-10-30 20:10:40 +0000 (Thu, 30 Oct 2008) | 6 lines
986
987 * src/ne_gnutls.c (pkcs12_parse): Ignore any but the first key or cert
988 encountered. Should fix issues with PKCS#12 files with embedded CA
989 certs, see Debian bug 480041.
990
991 * test/ssl.c (client_cert_ca): Add test case.
992
993 ------------------------------------------------------------------------
994 r1587 | joe | 2008-10-28 20:56:16 +0000 (Tue, 28 Oct 2008) | 3 lines
995
996 * src/ne_session.c (ne_session_sysproxy): Don't use ne_free for memory
997 not allocated by neon.
998
999 ------------------------------------------------------------------------
1000 r1586 | joe | 2008-10-24 16:14:40 +0100 (Fri, 24 Oct 2008) | 5 lines
1001
1002 * test/makekeys.sh, test/openssl.conf: Missed in previous commit; update
1003 for new altname test cases.
1004
1005 Submitted by: Ludwig Nussel <[email protected]>
1006
1007 ------------------------------------------------------------------------
1008 r1585 | joe | 2008-10-24 16:13:11 +0100 (Fri, 24 Oct 2008) | 4 lines
1009
1010 * test/ssl.c (wildcard_match_altname, fail_wildcard): New test cases.
1011
1012 Submitted by: Ludwig Nussel <[email protected]>
1013
1014 ------------------------------------------------------------------------
1015 r1584 | joe | 2008-10-24 16:10:44 +0100 (Fri, 24 Oct 2008) | 4 lines
1016
1017 * test/makekeys.sh: Create useful certs for standalone testing.
1018
1019 Submitted by: Ludwig Nussel <[email protected]>
1020
1021 ------------------------------------------------------------------------
1022 r1583 | joe | 2008-10-24 16:09:35 +0100 (Fri, 24 Oct 2008) | 2 lines
1023
1024 * test/common/tests.c (print_prefix): Fix for non-quiet mode.
1025
1026 ------------------------------------------------------------------------
1027 r1582 | joe | 2008-10-24 16:06:30 +0100 (Fri, 24 Oct 2008) | 3 lines
1028
1029 * test/common/tests.c (print_prefix): New function, factored out of main.
1030 (main): Use it.
1031
1032 ------------------------------------------------------------------------
1033 r1581 | joe | 2008-10-24 12:54:23 +0100 (Fri, 24 Oct 2008) | 2 lines
1034
1035 * src/ne_session.c (ne_session_sysproxy): Free returned proxy array.
1036
1037 ------------------------------------------------------------------------
1038 r1579 | joe | 2008-10-24 11:01:33 +0100 (Fri, 24 Oct 2008) | 3 lines
1039
1040 * doc/ref/sessflags.xml: Document _EXPECT100 flag, add xref to
1041 reqflags document.
1042
1043 ------------------------------------------------------------------------
1044 r1578 | joe | 2008-10-24 10:56:37 +0100 (Fri, 24 Oct 2008) | 7 lines
1045
1046 * src/ne_session.h (ne_session_flag_e): Add NE_SESSFLAG_EXPECT100.
1047
1048 * src/ne_request.c (build_request): Only add Expect header if
1049 req->body_length is non-zero.
1050 (ne_request_create): Set NE_REQFLAG_EXPECT100 according to
1051 NE_SESSFLAG_EXPECT100 value.
1052
1053 ------------------------------------------------------------------------
1054 r1570 | joe | 2008-10-14 21:50:24 +0100 (Tue, 14 Oct 2008) | 2 lines
1055
1056 * src/ne_acl.h: Add deprecation notice.
1057
1058 ------------------------------------------------------------------------
1059 r1569 | joe | 2008-10-14 20:53:52 +0100 (Tue, 14 Oct 2008) | 2 lines
1060
1061 * test/: Ignore more.
1062
1063 ------------------------------------------------------------------------
1064 r1568 | joe | 2008-10-14 20:21:04 +0100 (Tue, 14 Oct 2008) | 2 lines
1065
1066 * Makefile.in (DIST_HEADERS): Add new ACL interface.
1067
1068 ------------------------------------------------------------------------
1069 r1567 | joe | 2008-10-14 20:19:41 +0100 (Tue, 14 Oct 2008) | 23 lines
1070
1071 Introduce new ACL interface under separate header, function name, and
1072 restore API/ABI backwards-compat with old ACL interface:
1073
1074 * src/ne_acl3744.c, src/ne_acl3744.h: Renamed from ne_acl.c, ne_acl.h.
1075 (ne_acl3744_set): Renamed from ne_acl_set.
1076
1077 * src/ne_oldacl.c, src/ne_acl.h: Copied from old ne_acl.c, ne_acl.h on
1078 0.28.x branch.
1079
1080 * src/Makefile.in: Update deps.
1081
1082 * test/acl3744.c: Renamed from acl.c.
1083 (test_acl): Call new function name.
1084
1085 * test/oldacl.c: Copied from acl.c on 0.28.x branch.
1086
1087 * test/Makefile.in: Update accordingly.
1088
1089 * macros/neon.m4 (LIBNEON_SOURCE_CHECKS): Update for new source file
1090 names.
1091
1092 * neon.mak: Update for new source file names.
1093
1094 ------------------------------------------------------------------------
1095 r1561 | joe | 2008-10-10 08:35:16 +0100 (Fri, 10 Oct 2008) | 2 lines
1096
1097 * src/ne_session.c (ne_session_system_proxy): Fix "direct" proxy.
1098
1099 ------------------------------------------------------------------------
1100 r1560 | joe | 2008-10-09 21:58:58 +0100 (Thu, 09 Oct 2008) | 11 lines
1101
1102 Add support for use of a system-provided default set of proxy servers;
1103 implemented using libproxy:
1104
1105 * macros/neon.m4 (NEON_LIBPROXY): New macro.
1106 (LIBNEON_SOURCE_CHECKS): Use it.
1107 (NE_PKG_CONFIG): Fix for non-alpha characters.
1108
1109 * src/ne_session.c (ne_session_system_proxy): New function.
1110
1111 * src/ne_session.h (ne_session_system_proxy): New prototype.
1112
1113 ------------------------------------------------------------------------
1114 r1559 | joe | 2008-10-09 21:18:52 +0100 (Thu, 09 Oct 2008) | 14 lines
1115
1116 Add support for configuring a SOCKS proxy for the HTTP session:
1117
1118 * src/ne_request.c (open_connection): Fix non-proxy error path.
1119 Establish connection via SOCKS proxy.
1120
1121 * src/ne_session.c (ne_session_socks_proxy): New function.
1122
1123 * src/ne_session.h (ne_session_socks_proxy): New prototype.
1124
1125 * src/ne_private.h (struct ne_session_s): Add socks_ver, socks_user,
1126 socks_password fields.
1127
1128 * test/request.c (socks_session, socks_proxy): New functions.
1129
1130 ------------------------------------------------------------------------
1131 r1558 | joe | 2008-10-09 21:10:50 +0100 (Thu, 09 Oct 2008) | 17 lines
1132
1133 Factor SOCKS server out test/socket.c to be usable throughout test
1134 suite:
1135
1136 * test/util-socks.c: New file, extracted from socket.c.
1137
1138 * test/utils.h (socks_server, full_write): New prototypes.
1139 (struct socks_server): Moved here from socket.c; added
1140 say_hello flag.
1141
1142 * test/utils.c (full_write): Moved here from socket.c.
1143
1144 * test/socket.c (full_write, read_socks_string, read_socks_byte,
1145 expect_socks_byte, read_socks_0string, socks_server): Removed.
1146 (begin_socks): Set say_hello flag.
1147
1148 * test/Makefile.in: Build util-socks.lo.
1149
1150 ------------------------------------------------------------------------
1151 r1557 | joe | 2008-10-09 19:48:31 +0100 (Thu, 09 Oct 2008) | 40 lines
1152
1153 Add support for multiple proxies and differentiate between a SOCKS and
1154 HTTP proxy (though the former cannot yet be configured or used).
1155 Reimplement addrlist support as a "direct" proxy type.
1156
1157 * src/ne_private.h (struct host_info): Add proxy enum, network field,
1158 next pointer.
1159 (struct ne_session_s): Remove addrlist, numaddr, curaddr.
1160 Remove proxy field, add proxies, prev_proxy, nexthop fields.
1161 Remove use_proxy, add any_proxy_http flag.
1162
1163 * src/ne_session.c (free_hostinfo, free_proxies): New functions.
1164 (ne_session_destroy): Use the above.
1165 (set_hostinfo): Take type argument, set in structure.
1166 (ne_session_create): Pass PROXY_NONE to set_hostinfo.
1167 (ne_session_proxy): Call free_proxies, set sess->any_proxy_http
1168 flag, and adjust for new sess->proxies structure.
1169 (ne_set_addrlist): Adjust to set up a "direct" proxy.
1170 (ne_fill_proxy_uri): Adjust for proxies structure.
1171 (ne_close_connection): Use nexthop hostname for disconnect notifier.
1172
1173 * src/ne_session.h (ne_session_proxy, ne_set_addrlist,
1174 ne_fill_proxy_uri): Adjust for multi-proxy semantics.
1175
1176 * src/ne_request.c (aborted): Use sess->nexthop.
1177 (add_fixed_headers): Use new any_proxy_http flag. Reflow
1178 code. Set Host header here.
1179 (ne_request_create): Use any_proxy_http flag.
1180 (build_request): Don't add Host header here.
1181 (lookup_host): Don't check addrlist.
1182 (ne_begin_request): Use sess->nexthop in place of proxy flag.
1183 (resolve_first, resolve_next): Use ->network in place of
1184 addrlist; drop session paramater.
1185 (do_connect): Do DNS lookup here; adjust for resolve_*;
1186 set error message appropriately based on host type, drop
1187 error parameter.
1188 (open_connection): Support multiple proxies; adjust to use
1189 sess->nexthop.
1190
1191 * test/request.c (addrlist): New test case.
1192
1193 ------------------------------------------------------------------------
1194 r1556 | joe | 2008-10-06 10:43:06 +0100 (Mon, 06 Oct 2008) | 2 lines
1195
1196 * src/ne_gnutls.c (make_peers_chain): Fix potential segfault.
1197
1198 ------------------------------------------------------------------------
1199 r1544 | joe | 2008-09-11 15:39:43 +0100 (Thu, 11 Sep 2008) | 3 lines
1200
1201 * src/ne_pkcs11.c (pk11_rsa_method): Remove redundant flag
1202 from the RSA_METHOD flags bitfield, and update comment.
1203
1204 ------------------------------------------------------------------------
1205 r1543 | joe | 2008-09-08 20:20:22 +0100 (Mon, 08 Sep 2008) | 2 lines
1206
1207 * macros/neon.m4 (NEON_SSL): Fix pakchois/GnuTLS support.
1208
1209 ------------------------------------------------------------------------
1210 r1542 | joe | 2008-09-01 09:31:52 +0100 (Mon, 01 Sep 2008) | 2 lines
1211
1212 * src/ne_pkcs11.c: Revert debugging change in previous commit.
1213
1214 ------------------------------------------------------------------------
1215 r1541 | joe | 2008-08-31 10:56:10 +0100 (Sun, 31 Aug 2008) | 13 lines
1216
1217 Support PKCS#11 in OpenSSL builds:
1218
1219 * src/ne_openssl.c (ne__ssl_clicert_exkey_import): New function.
1220
1221 * src/ne_privssl.h (ne__ssl_clicert_exkey_import): New prototype.
1222
1223 * src/ne_pkcs11.c [HAVE_OPENSSL] (pk11_rsa_sign, pk11_rsa_init,
1224 pk11_rsa_finish, pk11_rsa_method): New functions.
1225 (pk11_find_pkey): Ignore DSA privkeys if using OpenSSL.
1226 (ne_ssl_set_pkcs11_provider): Omit GnuTLS code for OpenSSL.
1227
1228 * macros/neon.m4 (NEON_SSL): Support pakchois with OpenSSL too.
1229
1230 ------------------------------------------------------------------------
1231 r1540 | joe | 2008-08-22 12:43:28 +0100 (Fri, 22 Aug 2008) | 2 lines
1232
1233 * po/: make update-po.
1234
1235 ------------------------------------------------------------------------
1236 r1539 | joe | 2008-08-22 12:40:26 +0100 (Fri, 22 Aug 2008) | 2 lines
1237
1238 * po/pl.po: Update from Arfrever Frehtes Taifersar Arahesis.
1239
1240 ------------------------------------------------------------------------
1241 r1532 | joe | 2008-08-20 19:45:19 +0100 (Wed, 20 Aug 2008) | 11 lines
1242
1243 SECURITY (CVE-2008-3746):
1244
1245 Fix a possible NULL pointer dereference in the Digest domain parameter
1246 support, which allows a malicious server to crash the library,
1247 resulting in a possible denial of service attack.
1248
1249 * src/ne_auth.c (parse_domain): Ensure that URI ->path fields passed
1250 to ne_uri_resolve are non-NULL.
1251
1252 * test/auth.c (CVE_2008_3746): Add test case.
1253
1254 ------------------------------------------------------------------------
1255 r1531 | joe | 2008-08-08 14:26:10 +0100 (Fri, 08 Aug 2008) | 2 lines
1256
1257 * test/request.c (send_bad_offset): Tweak error message.
1258
1259 ------------------------------------------------------------------------
1260 r1530 | joe | 2008-08-07 10:03:37 +0100 (Thu, 07 Aug 2008) | 3 lines
1261
1262 * test/request.c (status_chunked, status): Cope with systems where
1263 'localhost' resolves to ::1 not 127.0.0.1.
1264
1265 ------------------------------------------------------------------------
1266 r1529 | joe | 2008-08-06 11:00:07 +0100 (Wed, 06 Aug 2008) | 3 lines
1267
1268 * test/common/child.c (await_server): Describe failure better.
1269 (spawn_server_addr): Print exit code to debug log.
1270
1271 ------------------------------------------------------------------------
1272 r1528 | joe | 2008-08-06 10:53:38 +0100 (Wed, 06 Aug 2008) | 2 lines
1273
1274 * doc/security.xml: Update intro and auth sections.
1275
1276 ------------------------------------------------------------------------
1277 r1527 | joe | 2008-08-05 16:32:47 +0100 (Tue, 05 Aug 2008) | 3 lines
1278
1279 * src/ne_uri.h (ne_uri_parse, ne_uri_resolve): Clarify API constraints
1280 and guarantees on path being non-NULL on success.
1281
1282 ------------------------------------------------------------------------
1283 r1524 | joe | 2008-08-05 13:19:30 +0100 (Tue, 05 Aug 2008) | 2 lines
1284
1285 * src/ne_session.h: Clarify that progress increments.
1286
1287 ------------------------------------------------------------------------
1288 r1522 | joe | 2008-08-03 20:17:23 +0100 (Sun, 03 Aug 2008) | 10 lines
1289
1290 * src/ne_socket.c (struct iofns): Add swritev member.
1291 (writev_raw, writev_dummy, ne_sock_fullwritev): New functions.
1292
1293 * src/ne_socket.h (struct ne_iovec): New structure.
1294 (ne_sock_fullwritev): New prototype.
1295
1296 * test/socket.c (full_writev, large_writev): New test case.
1297
1298 Submitted by: [email protected], Joe
1299
1300 ------------------------------------------------------------------------
1301 r1517 | joe | 2008-07-25 16:37:27 +0100 (Fri, 25 Jul 2008) | 2 lines
1302
1303 * BUGS: Note ca-bundle feature/bug.
1304
1305 ------------------------------------------------------------------------
1306 r1514 | joe | 2008-07-25 00:02:36 +0100 (Fri, 25 Jul 2008) | 7 lines
1307
1308 * src/ne_session.c [NE_HAVE_SSL] (ne__ssl_match_hostname): New
1309 function, merged from duplicate copies in ne_openssl.c/ne_gnutls.c.
1310
1311 * src/ne_private.h (ne__ssl_match_hostname): New prototype.
1312
1313 * src/ne_openssl.c, src/ne_gnutls.c (match_hostname): Remove function.
1314
1315 ------------------------------------------------------------------------
1316 r1513 | joe | 2008-07-24 16:42:24 +0100 (Thu, 24 Jul 2008) | 4 lines
1317
1318 * src/ne_request.c (body_fd_send): Fix compiler warnings.
1319
1320 Submitted by: Henrik Holst
1321
1322 ------------------------------------------------------------------------
1323 r1512 | joe | 2008-07-20 21:10:11 +0100 (Sun, 20 Jul 2008) | 5 lines
1324
1325 * src/ne_gnutls.c (provide_client_cert): Set ssl_cc_requested flag
1326 if no client cert is provided.
1327 (ne__negotiate_ssl): Give useful error message if handshake fails
1328 and ssl_cc_requested flag is set.
1329
1330 ------------------------------------------------------------------------
1331 r1509 | joe | 2008-07-19 22:52:35 +0100 (Sat, 19 Jul 2008) | 4 lines
1332
1333 Update mailing list address throughout.
1334
1335 * doc/using-neon.txt: Remove stale doc.
1336
1337 ------------------------------------------------------------------------
1338 r1507 | joe | 2008-07-19 22:40:57 +0100 (Sat, 19 Jul 2008) | 6 lines
1339
1340 * src/ne_auth.c (tokenize): NUL terminate at a closing quote, ignore
1341 any trailing characters.
1342
1343 * test/auth.c (basic): Add test case for trailing characters after
1344 quoted value token.
1345
1346 ------------------------------------------------------------------------
1347 r1506 | joe | 2008-07-19 22:29:57 +0100 (Sat, 19 Jul 2008) | 4 lines
1348
1349 * src/ne_openssl.c (ne__negotiate_ssl),
1350 src/ne_gnutls.c (ne__negotiate_ssl): Use phrase "handshake" rather
1351 than "negotiation" in error message.
1352
1353 ------------------------------------------------------------------------
1354 r1505 | joe | 2008-07-19 22:23:13 +0100 (Sat, 19 Jul 2008) | 16 lines
1355
1356 Fail with a useful error message in the case where a client cert is
1357 requested during handshake, none can be provided, and the handshake
1358 fails:
1359
1360 * src/ne_private.h (struct ne_session_s): Add ssl_cc_requested field.
1361
1362 * src/ne_openssl.c (provide_client_cert): Set ssl_cc_requested if
1363 no cert is provided.
1364 (ne__negotiate_ssl): Clear ssl_cc_requested before handshake.
1365 Use different, more useful error message if handshake fails and flag
1366 is now set.
1367
1368 * test/ssl.c (struct ssl_server_args): Add fail_silently flag.
1369 (ssl_server): Exit with success if handshake fails and above flag set.
1370 (no_client_cert): New test case.
1371
1372 ------------------------------------------------------------------------
1373 r1500 | joe | 2008-07-19 21:06:06 +0100 (Sat, 19 Jul 2008) | 4 lines
1374
1375 * src/ne_defs.h (ne_attribute_sentinel): New macro.
1376
1377 * src/ne_string.h (ne_concat, ne_buffer_concat): Use it.
1378
1379 ------------------------------------------------------------------------
1380 r1497 | joe | 2008-07-19 13:13:10 +0100 (Sat, 19 Jul 2008) | 9 lines
1381
1382 * src/ne_session.h (ne_set_notifier, ne_set_progress): Document existing and
1383 previous (respectively) API guarantee that a NULL callback deregisters
1384 an existing callback.
1385
1386 * src/ne_session.c (ne_set_progress): Fix regression in 0.27, support
1387 NULL progress callback correctly.
1388
1389 * test/request.c (dereg_progress): Add regression test.
1390
1391 ------------------------------------------------------------------------
1392 r1480 | joe | 2008-07-10 22:00:05 +0100 (Thu, 10 Jul 2008) | 2 lines
1393
1394 * test/auth.c (check_digest): Fix compiler warnings with gcc 4.3.
1395
1396 ------------------------------------------------------------------------
1397 r1479 | joe | 2008-07-10 21:56:54 +0100 (Thu, 10 Jul 2008) | 2 lines
1398
1399 * test/common/tests.c (main): More cosmetic fixes.
1400
1401 ------------------------------------------------------------------------
1402 r1478 | joe | 2008-07-10 21:35:59 +0100 (Thu, 10 Jul 2008) | 4 lines
1403
1404 Merge from 0.28.x branch:
1405
1406 * src/ne_auth.c (parse_domain): Fix debug output.
1407
1408 ------------------------------------------------------------------------
1409 r1477 | joe | 2008-07-10 09:31:28 +0100 (Thu, 10 Jul 2008) | 3 lines
1410
1411 * test/ssl.c: Use P12_PASSPHRASE for client*.p12 passphrase.
1412 (init): Fail gracefully if client cert decrypt fails.
1413
1414 ------------------------------------------------------------------------
1415 r1476 | joe | 2008-07-09 23:01:35 +0100 (Wed, 09 Jul 2008) | 4 lines
1416
1417 * tests/common/tests.c (main): Fixes for non-quiet mode.
1418
1419 * test/run.sh: Enable quiet mode by default.
1420
1421 ------------------------------------------------------------------------
1422 r1475 | joe | 2008-07-09 22:56:50 +0100 (Wed, 09 Jul 2008) | 3 lines
1423
1424 * tests/common/tests.c (main): More cosmetic tweaks for
1425 quiet mode.
1426
1427 ------------------------------------------------------------------------
1428 r1474 | joe | 2008-07-09 21:50:39 +0100 (Wed, 09 Jul 2008) | 2 lines
1429
1430 * test/common/tests.c (main): Fix compiler warnings.
1431
1432 ------------------------------------------------------------------------
1433 r1473 | joe | 2008-07-09 21:46:11 +0100 (Wed, 09 Jul 2008) | 2 lines
1434
1435 * test/common/tests.c (main): Cosmetic tweaks to quiet mode.
1436
1437 ------------------------------------------------------------------------
1438 r1472 | joe | 2008-07-09 21:38:01 +0100 (Wed, 09 Jul 2008) | 3 lines
1439
1440 * test/common/tests.c (main): Implement a "quiet mode" if
1441 $TEST_QUIET is set in the environment.
1442
1443 ------------------------------------------------------------------------
1444 r1471 | joe | 2008-07-09 21:12:25 +0100 (Wed, 09 Jul 2008) | 3 lines
1445
1446 * test/socket.c (socks_proxy, fail_socks): Destroy allocated
1447 addresses.
1448
1449 ------------------------------------------------------------------------
1450 r1470 | joe | 2008-07-09 21:04:56 +0100 (Wed, 09 Jul 2008) | 2 lines
1451
1452 * src/Makefile.in: Factor out LT_COMPILE macro.
1453
1454 ------------------------------------------------------------------------
1455 r1466 | joe | 2008-07-09 10:46:30 +0100 (Wed, 09 Jul 2008) | 3 lines
1456
1457 * src/ne_openssl.c (ne_ssl_context_keypair): Load entire chain from
1458 cert file specified.
1459
1460 ------------------------------------------------------------------------
1461 r1465 | joe | 2008-07-09 10:37:09 +0100 (Wed, 09 Jul 2008) | 11 lines
1462
1463 Add test case with use of intermediary CA.
1464
1465 * test/ssl.c (intermediary): New test case.
1466
1467 * test/openssl.conf: Add neonca2 section.
1468
1469 * test/makekeys.sh: Create an intermediary cert and EE cert signed by
1470 that.
1471
1472 * test/Makefile.in (clean, ca-stamp): Clean up the ca2 directory.
1473
1474 ------------------------------------------------------------------------
1475 r1462 | joe | 2008-07-04 21:09:08 +0100 (Fri, 04 Jul 2008) | 2 lines
1476
1477 * BUGS: Note test suite issue on RHEL4.
1478
1479 ------------------------------------------------------------------------
1480 r1460 | joe | 2008-07-03 12:59:46 +0100 (Thu, 03 Jul 2008) | 3 lines
1481
1482 * test/makekeys.sh: Fix for versions of OpenSSL where ca fails
1483 if cert subjects are not unique.
1484
1485 ------------------------------------------------------------------------
1486 r1459 | joe | 2008-07-03 11:37:24 +0100 (Thu, 03 Jul 2008) | 2 lines
1487
1488 * doc/ref/opts.xml: Remove old example, add xrefs.
1489
1490 ------------------------------------------------------------------------
1491 r1458 | joe | 2008-07-03 11:33:55 +0100 (Thu, 03 Jul 2008) | 2 lines
1492
1493 * doc/ref/opts.xml: Document ne_set_connect_timeout and drop ne_set_persist.
1494
1495 ------------------------------------------------------------------------
1496 r1457 | joe | 2008-07-03 11:29:00 +0100 (Thu, 03 Jul 2008) | 2 lines
1497
1498 * doc/ref/sessflags.xml: Document NE_SESSFLAG_TLS_SNI.
1499
1500 ------------------------------------------------------------------------
1501 r1455 | joe | 2008-07-03 11:06:08 +0100 (Thu, 03 Jul 2008) | 6 lines
1502
1503 * src/ne_socket.c (raw_poll): Work around broken FD_SET on Netware.
1504
1505 * src/ne_defs.h: Pick up time_t on Netware.
1506
1507 Submitted by: Guenter Knauf <[email protected]>
1508
1509 ------------------------------------------------------------------------
1510 r1454 | joe | 2008-06-27 17:22:53 +0100 (Fri, 27 Jun 2008) | 4 lines
1511
1512 * README: Update copyright notices.
1513
1514 * Makefile.in (update-copyright): New target.
1515
1516 ------------------------------------------------------------------------
1517 r1453 | joe | 2008-06-27 17:12:24 +0100 (Fri, 27 Jun 2008) | 2 lines
1518
1519 * BUGS: Note some issues.
1520
1521 ------------------------------------------------------------------------
1522 r1452 | joe | 2008-06-27 17:04:46 +0100 (Fri, 27 Jun 2008) | 3 lines
1523
1524 * src/ne_socket.c (ne_sock_connect): Disable Nagle on Windows even if
1525 TCP_NODELAY is not defined as a macro.
1526
1527 ------------------------------------------------------------------------
1528 r1451 | joe | 2008-06-17 15:59:49 +0100 (Tue, 17 Jun 2008) | 3 lines
1529
1530 * configure.in: Build PIC objects in default configuration, unless
1531 non-PIC explicitly requested.
1532
1533 ------------------------------------------------------------------------
1534 r1449 | joe | 2008-04-17 11:04:34 +0100 (Thu, 17 Apr 2008) | 4 lines
1535
1536 * doc/man.xsl: New file.
1537
1538 * Makefile.in: Use man.xsl to customize man page output.
1539
1540 ------------------------------------------------------------------------
1541 r1445 | joe | 2008-04-03 12:38:04 +0100 (Thu, 03 Apr 2008) | 2 lines
1542
1543 * src/ne_gnutls.c: Unbreak ts-ssl build.
1544
1545 ------------------------------------------------------------------------
1546 r1443 | joe | 2008-04-03 12:36:44 +0100 (Thu, 03 Apr 2008) | 2 lines
1547
1548 * src/ne_gnutls.c: Enable quick-random in gcrypt unconditionally.
1549
1550 ------------------------------------------------------------------------
1551 r1442 | joe | 2008-04-03 12:34:20 +0100 (Thu, 03 Apr 2008) | 2 lines
1552
1553 * src/ne_gnutls.c (ne__ssl_init): Enable fast initialization for GnuTLS.
1554
1555 ------------------------------------------------------------------------
1556 r1439 | joe | 2008-04-03 11:59:30 +0100 (Thu, 03 Apr 2008) | 5 lines
1557
1558 * test/utils.c (double_serve_sstring): New function.
1559
1560 * test/compress.c (retry_notcompress, retry_compress_helper,
1561 retry_compress):Use double_serve_sstring.
1562
1563 ------------------------------------------------------------------------
1564 r1435 | joe | 2008-03-29 20:54:27 +0000 (Sat, 29 Mar 2008) | 2 lines
1565
1566 * test/ssl.c (parse_chain): Use CA_CERT constant.
1567
1568 ------------------------------------------------------------------------
1569 r1434 | joe | 2008-03-29 20:54:04 +0000 (Sat, 29 Mar 2008) | 3 lines
1570
1571 * src/ne_gnutls.c (ne_ssl_dname_cmp): Fix compiler warning without
1572 new-DN suport.
1573
1574 ------------------------------------------------------------------------
1575 r1433 | joe | 2008-03-28 20:38:51 +0000 (Fri, 28 Mar 2008) | 2 lines
1576
1577 * test/makekeys.sh: Be quieter on stdout.
1578
1579 ------------------------------------------------------------------------
1580 r1431 | joe | 2008-03-28 19:55:34 +0000 (Fri, 28 Mar 2008) | 2 lines
1581
1582 * src/ne_gnutls.c (read_to_datum): Fix fd leak.
1583
1584 ------------------------------------------------------------------------
1585 r1430 | joe | 2008-03-28 16:20:29 +0000 (Fri, 28 Mar 2008) | 3 lines
1586
1587 * test/ssl.c (ssl_server): Pass configured CA list as CA names
1588 and verification CAs, to unbreak OpenSSL tests.
1589
1590 ------------------------------------------------------------------------
1591 r1429 | joe | 2008-03-28 16:17:51 +0000 (Fri, 28 Mar 2008) | 10 lines
1592
1593 Fix issues with CA list handling in the SSL server, for GnuTLS:
1594
1595 * test/makekeys.sh: Generate wrongcn.cert signed by the CA.
1596
1597 * test/ssl.c (struct ssl_server_args): Remove send_ca field.
1598 (check_cert): Update to expect the wrongcn subject name.
1599 (parse_chain, fail_wrongCN): Update to use the wrongcn cert, and to
1600 trust the CA cert.
1601 (cc_provided_dnames): Stop using the send_ca server args field.
1602
1603 ------------------------------------------------------------------------
1604 r1428 | joe | 2008-03-28 15:05:53 +0000 (Fri, 28 Mar 2008) | 4 lines
1605
1606 * src/ne_gnutls.c (provide_client_cert) [HAVE_NEW_DN_API]:
1607 Properly map the CA names into ne_ssl_dname objects and pass
1608 these through to the provided callback.
1609
1610 ------------------------------------------------------------------------
1611 r1427 | joe | 2008-03-28 14:56:55 +0000 (Fri, 28 Mar 2008) | 11 lines
1612
1613 Rebuild the peer cert chain correctly, with suitable GnuTLS support:
1614
1615 * macros/neon.m4 (NEON_SSL): Check for gnutls_certificate_get_x509_cas.
1616
1617 * src/ne_gnutls.c [HAVE_GNUTLS_CERTIFICATE_GET_X509_CAS]
1618 (find_issuer): New function.
1619 (make_peers_chain): Take creds object.
1620 [HAVE_GNUTLS_CERTIFICATE_GET_X509_CAS]: Rebuild the cert chain
1621 from list of trusted CAs.
1622 (ne__negotiate_ssl): Pass creds object to make_peers_chain.
1623
1624 ------------------------------------------------------------------------
1625 r1426 | joe | 2008-03-28 13:40:45 +0000 (Fri, 28 Mar 2008) | 6 lines
1626
1627 * src/ne_gnutls.c: Define HAVE_NEW_DN_API for GnuTLS >= 2.3.2.
1628 (struct ne_ssl_dname_s) [HAVE_NEW_DN_API]: Represent as
1629 gnutls_x509_dn_t.
1630 (ne_ssl_readable_dname, ne_ssl_dname_cmp, populate_cert)
1631 [HAVE_NEW_DN_API]: Adjust to use new GnuTLS DN interfaces
1632
1633 ------------------------------------------------------------------------
1634 r1425 | joe | 2008-03-28 13:08:08 +0000 (Fri, 28 Mar 2008) | 3 lines
1635
1636 * src/ne_pkcs11.c (pk11_find_pkey): Fix logic to reject non-DSA/RSA
1637 keys.
1638
1639 ------------------------------------------------------------------------
1640 r1424 | joe | 2008-03-28 13:06:08 +0000 (Fri, 28 Mar 2008) | 4 lines
1641
1642 * src/ne_pkcs11.c (pk11_find_pkey): Don't require RSA keys; retrieve
1643 the key type.
1644 (pk11_sign_callback): Use mechanism appropriate to the key type.
1645
1646 ------------------------------------------------------------------------
1647 r1423 | joe | 2008-03-28 12:50:48 +0000 (Fri, 28 Mar 2008) | 7 lines
1648
1649 * test/ssl.c (nss_pkcs11_test): Factor out from pkcs11.
1650 (pkcs11): Reimplement.
1651 (pkcs11_dsa): New XFAIL test case.
1652
1653 * test/makekeys.sh: Create a client cert with a DSA key, and create a
1654 second separate NSS database using this.
1655
1656 ------------------------------------------------------------------------
1657 r1422 | joe | 2008-03-27 10:51:49 +0000 (Thu, 27 Mar 2008) | 2 lines
1658
1659 * test/socket.c: Drop trailing commas in initializers.
1660
1661 ------------------------------------------------------------------------
1662 r1421 | joe | 2008-03-27 10:49:13 +0000 (Thu, 27 Mar 2008) | 13 lines
1663
1664 Add support for initiating a proxy connection via SOCKS v4/v4a/v5
1665 proxy, at socket layer:
1666
1667 * src/ne_socks.c: New file.
1668
1669 * src/ne_socket.h (ne_sock_proxy): New prototype.
1670
1671 * src/Makefile.in, neon.mak: Build ne_socks.c.
1672
1673 * test/socket.c (read_socks_string, read_socks_byte,
1674 expect_socks_byte, read_socks_0string, socks_server, begin_socks,
1675 socks_proxy, fail_socks): Add test cases.
1676
1677 ------------------------------------------------------------------------
1678 r1420 | joe | 2008-03-27 10:26:01 +0000 (Thu, 27 Mar 2008) | 3 lines
1679
1680 * src/ne_socket.c: Include ne_privssl.h unconditionally, now
1681 it is safe to do so.
1682
1683 ------------------------------------------------------------------------
1684 r1419 | joe | 2008-03-26 15:44:28 +0000 (Wed, 26 Mar 2008) | 8 lines
1685
1686 Add interface to set socket error string:
1687
1688 * src/ne_socket.c (ne_sock_set_error): New function.
1689
1690 * src/ne_socket.h (ne_sock_set_error): New prototype.
1691
1692 * test/socket.c (error): New test case.
1693
1694 ------------------------------------------------------------------------
1695 r1418 | joe | 2008-03-17 21:08:01 +0000 (Mon, 17 Mar 2008) | 2 lines
1696
1697 * src/Makefile.in (update-deps): Update for gnutls/pkcs11.
1698
1699 ------------------------------------------------------------------------
1700 r1417 | joe | 2008-03-17 21:05:21 +0000 (Mon, 17 Mar 2008) | 2 lines
1701
1702 * src/Makefile.in (update-deps): Fix for generated SSL/etc deps.
1703
1704 ------------------------------------------------------------------------
1705 r1416 | joe | 2008-03-17 21:01:51 +0000 (Mon, 17 Mar 2008) | 2 lines
1706
1707 * src/ne_privssl.h: Make safe for inclusion in non-SSL build.
1708
1709 ------------------------------------------------------------------------
1710 r1415 | joe | 2008-03-17 14:45:11 +0000 (Mon, 17 Mar 2008) | 2 lines
1711
1712 * autogen.sh: Use libtoolize --install where supported.
1713
1714 ------------------------------------------------------------------------
1715 r1414 | joe | 2008-03-17 12:02:49 +0000 (Mon, 17 Mar 2008) | 4 lines
1716
1717 * install-sh: Update to version from libtool 2.2.
1718
1719 Submitted by: Arfrever Frehtes Taifersar Arahesis
1720
1721 ------------------------------------------------------------------------
1722 r1413 | joe | 2008-03-17 12:01:46 +0000 (Mon, 17 Mar 2008) | 4 lines
1723
1724 * src/ne_pkcs11.c: Fix typo.
1725
1726 Submitted by: Arfrever Frehtes Taifersar Arahesis
1727
1728 ------------------------------------------------------------------------
1729 r1412 | joe | 2008-03-17 12:01:06 +0000 (Mon, 17 Mar 2008) | 4 lines
1730
1731 * configure.in, autogen.sh: Support libtool 2.2.
1732
1733 Submitted by: Arfrever Frehtes Taifersar Arahesis
1734
1735 ------------------------------------------------------------------------
1736 r1411 | joe | 2008-03-14 17:09:30 +0000 (Fri, 14 Mar 2008) | 6 lines
1737
1738 * src/ne_socket.h (ne_iaddr_raw): New prototype.
1739
1740 * src/ne_socket.c (ne_iaddr_raw): New function.
1741
1742 * test/socket.c (addr_make_v4, addr_make_v6): Test ne_iaddr_raw.
1743
1744 ------------------------------------------------------------------------
1745 r1410 | joe | 2008-03-13 23:31:54 +0000 (Thu, 13 Mar 2008) | 2 lines
1746
1747 * doc/security.xml: Grammar fixes.
1748
1749 ------------------------------------------------------------------------
1750 r1407 | joe | 2008-03-13 20:07:46 +0000 (Thu, 13 Mar 2008) | 3 lines
1751
1752 * src/ne_request.c (add_fixed_headers): Do not send "Keep-Alive"
1753 in the Connection header to a potentially-1.0 proxy, per 2616 rules.
1754
1755 ------------------------------------------------------------------------
1756 r1406 | joe | 2008-03-13 19:55:26 +0000 (Thu, 13 Mar 2008) | 17 lines
1757
1758 Fix use of NTLM with some borked proxies which require use of a
1759 persistent connection but don't advertise such support in an
1760 HTTP-compliant manner:
1761
1762 * src/ne_request.c (add_fixed_headers): Add the request header
1763 "Proxy-Connection: Keep-Alive" for a non-HTTP/1.1 next-hop, iff a
1764 proxy is configured.
1765 (ne_begin_request): Where the next-hop is non-HTTP/1.1, a proxy
1766 is configured, *and* the conn-auth flag is enabled, enable use of
1767 persistent connections if the next-hop sends the response header
1768 "Proxy-Connection: Keep-Alive".
1769
1770 * test/request.c (test_persist_p): Renamed from test_persist. Take
1771 proxy flag and enable proxy and conn-auth if set.
1772 (test_persist): New function.
1773 (persist_proxy_http10): New test case.
1774
1775 ------------------------------------------------------------------------
1776 r1405 | joe | 2008-03-10 16:37:38 +0000 (Mon, 10 Mar 2008) | 2 lines
1777
1778 * doc/xml.xml, doc/ssl.xml: Use id on footnotes for stable doc generation.
1779
1780 ------------------------------------------------------------------------
1781 r1404 | joe | 2008-03-10 16:32:23 +0000 (Mon, 10 Mar 2008) | 2 lines
1782
1783 * doc/security.xml: Fix markup.
1784
1785 ------------------------------------------------------------------------
1786 r1403 | joe | 2008-03-10 16:28:31 +0000 (Mon, 10 Mar 2008) | 4 lines
1787
1788 * doc/security.xml: New file.
1789
1790 * doc/manual.xml: Include security section.
1791
1792 ------------------------------------------------------------------------
1793 r1398 | joe | 2008-03-03 13:31:04 +0000 (Mon, 03 Mar 2008) | 3 lines
1794
1795 * macros/neon-xml-parser.m4 (NEON_XML_PARSER): Define NE_FMT_XML_SIZE
1796 for Subversion-bundled-expat build.
1797
1798 ------------------------------------------------------------------------
1799 r1393 | joe | 2008-03-03 09:02:53 +0000 (Mon, 03 Mar 2008) | 6 lines
1800
1801 * configure.in: zh -> zh_CN in ALL_LINGUAS.
1802
1803 * po/zh_CN.po: New translation, from Dongsheng Song.
1804
1805 * po/zh.po: Renamed to above.
1806
1807 ------------------------------------------------------------------------
1808 r1389 | joe | 2008-02-29 16:22:18 +0000 (Fri, 29 Feb 2008) | 5 lines
1809
1810 * src/ne_auth.c (inside_domain): Fix to treat domain as a prefix,
1811 as required by 2617.
1812
1813 * test/auth.c (domains): Tweak test case to cover this.
1814
1815 ------------------------------------------------------------------------
1816 r1388 | joe | 2008-02-29 16:19:00 +0000 (Fri, 29 Feb 2008) | 2 lines
1817
1818 * test/request.c: Wrap any_request() calls in ONREQ not CALL, throughout.
1819
1820 ------------------------------------------------------------------------
1821 r1387 | joe | 2008-02-29 16:18:18 +0000 (Fri, 29 Feb 2008) | 2 lines
1822
1823 * test/makekeys.sh: Print OpenSSL version for diagnostic purposes.
1824
1825 ------------------------------------------------------------------------
1826 r1382 | joe | 2008-02-28 14:59:57 +0000 (Thu, 28 Feb 2008) | 2 lines
1827
1828 * test/openssl.conf: Fix makekeys for some versions of OpenSSL.
1829
1830 ------------------------------------------------------------------------
1831 r1380 | joe | 2008-02-28 13:17:55 +0000 (Thu, 28 Feb 2008) | 2 lines
1832
1833 * test/socket.c: Fail more gracefully.
1834
1835 ------------------------------------------------------------------------
1836 r1379 | joe | 2008-02-28 12:45:43 +0000 (Thu, 28 Feb 2008) | 3 lines
1837
1838 * src/ne_socket.c (ne_sock_peer): Fix for !AF_INET6 && USE_GAI case;
1839 thanks to Nico Kadel-Garcia.
1840
1841 ------------------------------------------------------------------------
1842 r1378 | joe | 2008-02-28 11:06:15 +0000 (Thu, 28 Feb 2008) | 8 lines
1843
1844 Fix build on systems with getaddrinfo but without AF_INET6.
1845
1846 * src/ne_socket.c (ipv6_disabled) [!AF_INET6]: Define as 1.
1847 (ne_addr_resolve) [AF_INET6]: Make handling of v6 literals
1848 conditional.
1849 (do_bind) [AF_INET6]: Likewise for local bind address.
1850 (ne_iaddr_typeof, ne_iaddr_cmp): Likewise for address types.
1851
1852 ------------------------------------------------------------------------
1853 r1377 | joe | 2008-02-28 10:48:59 +0000 (Thu, 28 Feb 2008) | 3 lines
1854
1855 * src/ne_pkcs11.c (pk11_login): Succeed if login fails with
1856 CKR_USER_ALREADY_LOGGED_IN.
1857
1858 ------------------------------------------------------------------------
1859 r1376 | joe | 2008-02-26 20:36:41 +0000 (Tue, 26 Feb 2008) | 2 lines
1860
1861 * src/ne_pkcs11.c: Add a laundry list.
1862
1863 ------------------------------------------------------------------------
1864 r1375 | joe | 2008-02-21 20:48:17 +0000 (Thu, 21 Feb 2008) | 2 lines
1865
1866 * test/ssl.c (pkcs11): Fix typo.
1867
1868 ------------------------------------------------------------------------
1869 r1374 | joe | 2008-02-21 20:46:33 +0000 (Thu, 21 Feb 2008) | 13 lines
1870
1871 Add test case for PKCS#11 support using NSS software token:
1872
1873 * configure.in: Check for pk12util, certutil. Generate test/makekeys.
1874
1875 * test/ssl.c (pkcs11, pkcs11_pin): New functions.
1876
1877 * test/makekeys.sh: Use configure-determined paths for openssl, and
1878 NSS tools. Generate nssdb for PKCS#11 testing if NSS tools present.
1879
1880 * test/Makefile.in (ca-stamp): Run generated makekeys in builddir.
1881 (makekeys): Generate using config.status.
1882 (clean): Clean nssdb.
1883
1884 ------------------------------------------------------------------------
1885 r1373 | joe | 2008-02-20 13:41:43 +0000 (Wed, 20 Feb 2008) | 2 lines
1886
1887 * doc/ref/neon.xml: Fix braino.
1888
1889 ------------------------------------------------------------------------
1890 r1372 | joe | 2008-02-19 21:09:43 +0000 (Tue, 19 Feb 2008) | 3 lines
1891
1892 * src/ne_request.c (do_connect): Fail with NE_TIMEOUT for a timed-out
1893 connect() call.
1894
1895 ------------------------------------------------------------------------
1896 r1371 | joe | 2008-02-14 22:34:10 +0000 (Thu, 14 Feb 2008) | 3 lines
1897
1898 * src/ne_gnutls.c (check_identity): Ensure that strings are NUL terminated
1899 since this is not explicitly guaranteed by the GnuTLS API.
1900
1901 ------------------------------------------------------------------------
1902 r1370 | joe | 2008-02-14 22:20:36 +0000 (Thu, 14 Feb 2008) | 3 lines
1903
1904 * src/ne_openssl.c (provide_client_cert): Simplify slightly to
1905 use an array of dname structures.
1906
1907 ------------------------------------------------------------------------
1908 r1369 | joe | 2008-02-14 22:11:57 +0000 (Thu, 14 Feb 2008) | 4 lines
1909
1910 * test/makekeys.sh: Prepend the real CA to the calist.pem.
1911
1912 * test/ssl.c (cc_check_dnames): Update for the above.
1913
1914 ------------------------------------------------------------------------
1915 r1368 | joe | 2008-02-11 20:13:47 +0000 (Mon, 11 Feb 2008) | 2 lines
1916
1917 * src/ne_socket.h: Pick up size_t definition on Win32.
1918
1919 ------------------------------------------------------------------------
1920 r1367 | joe | 2008-02-11 12:37:26 +0000 (Mon, 11 Feb 2008) | 2 lines
1921
1922 * src/ne_string.c: Fix typo in comment. (Arfrever)
1923
1924 ------------------------------------------------------------------------
1925 r1366 | joe | 2008-02-11 12:36:19 +0000 (Mon, 11 Feb 2008) | 4 lines
1926
1927 * macros/neon.m4: Bump to 0.29.
1928
1929 Submitted by: Arfrever Frehtes Taifersar Arahesis
1930
1931 ------------------------------------------------------------------------
1932 r1354 | joe | 2008-02-11 09:29:48 +0000 (Mon, 11 Feb 2008) | 3 lines
1933
1934 * macros/neon.m4: Define NE_FMT_NE_OFF_T for external-neon
1935 library builds.
1936
1937 ------------------------------------------------------------------------
1938 r1352 | joe | 2008-02-11 07:52:47 +0000 (Mon, 11 Feb 2008) | 4 lines
1939
1940 * macros/neon.m4 (NEON_SSL): Add --without-pakchois.
1941
1942 Submitted by: Arfrever Frehtes Taifersar Arahesis
1943
1944 ------------------------------------------------------------------------
1945 r1348 | joe | 2008-02-08 16:55:35 +0000 (Fri, 08 Feb 2008) | 3 lines
1946
1947 * src/ne_session (ne_session_destroy): Destroy close_conn hooks
1948 to avoid memory leak (thanks, --enable-memleak mode).
1949
1950 ------------------------------------------------------------------------
1951 r1344 | joe | 2008-02-08 14:47:40 +0000 (Fri, 08 Feb 2008) | 13 lines
1952
1953 Add a close-connection hook (thanks to Robert J. van der Boon):
1954
1955 * src/ne_private.h (struct ne_session_s): Add close_conn_hooks.
1956
1957 * src/ne_session.c (ne_hook_close_conn, ne_unhook_close_conn): New
1958 functions.
1959 (ne_close_connection): Run close_conn hooks.
1960
1961 * src/ne_request.h (ne_hook_close_conn, ne_unhook_close_conn): New
1962 prototypes.
1963
1964 * test/request.c (hook_close_conn, hooks): Add tests.
1965
1966 ------------------------------------------------------------------------
1967 r1341 | joe | 2008-02-08 10:16:32 +0000 (Fri, 08 Feb 2008) | 2 lines
1968
1969 * NEWS: No news like good news.
1970
1971 ------------------------------------------------------------------------
1972 r1340 | joe | 2008-02-08 10:14:23 +0000 (Fri, 08 Feb 2008) | 3 lines
1973
1974 * neon.mak: Removes quotes around $(MAKE) since nmake quotes
1975 this internally.
1976
1977 ------------------------------------------------------------------------
1978 r1338 | joe | 2008-02-07 22:22:07 +0000 (Thu, 07 Feb 2008) | 9 lines
1979
1980 * src/ne_basic.h: Deprecate ne_options API. Add NE_CAP_* constants,
1981 ne_options2 prototype.
1982
1983 * src/ne_basic.c (options_map): Add options mapping table.
1984 (parse_dav_header): Adjust to use mapping table and capabilities
1985 bitmask.
1986 (ne_options2): New function; renamed from ne_options.
1987 (ne_options): Re-implement on top of ne_options2.
1988
1989 ------------------------------------------------------------------------
1990 r1337 | joe | 2008-02-07 17:18:42 +0000 (Thu, 07 Feb 2008) | 2 lines
1991
1992 * Makefile.in: Install ne_pkcs11.h.
1993
1994 ------------------------------------------------------------------------
1995 r1336 | joe | 2008-02-07 13:53:47 +0000 (Thu, 07 Feb 2008) | 2 lines
1996
1997 * src/ne_pkcs11.h: Further doc tweaks.
1998
1999 ------------------------------------------------------------------------
2000 r1335 | joe | 2008-02-07 13:45:07 +0000 (Thu, 07 Feb 2008) | 5 lines
2001
2002 * src/ne_pkcs11.h: Add interface description for attempt parameter.
2003
2004 * src/ne_pkcs11.c (pk11_login): Start attempt at 1 as per auth
2005 callbacks.
2006
2007 ------------------------------------------------------------------------
2008 r1334 | joe | 2008-02-07 13:40:30 +0000 (Thu, 07 Feb 2008) | 2 lines
2009
2010 * src/ne_pkcs11.c: Clean up debugging.
2011
2012 ------------------------------------------------------------------------
2013 r1333 | joe | 2008-02-07 11:06:13 +0000 (Thu, 07 Feb 2008) | 18 lines
2014
2015 Adjust PKCS#11 interfaces to allow a single provider to be shared
2016 between sessions:
2017
2018 * src/ne_session.c (ne_ssl_set_pkcs11_pin): Removed function.
2019
2020 * src/ne_private.h (struct ne_session_s): Remove PKCS#11 pin callback.
2021
2022 * src/ne_pkcs11.c (pk11_find_x509): Take provider object and set
2023 client cert.
2024 (pk11_find_pkey): Take provider object and set private key.
2025 (find_client_cert): Take provider object and pass through.
2026 (pk11_sign_callback, pk11_login, pk11_provide): Take provider object,
2027 adjust accordingly.
2028
2029 (pk11_init, ne_ssl_pkcs11_provider_init, ne_ssl_nsspk11_provider_init,
2030 ne_ssl_pkcs11_provider_destroy, ne_ssl_pkcs11_provider_pin): New
2031 functions.
2032
2033 ------------------------------------------------------------------------
2034 r1332 | joe | 2008-02-07 08:31:51 +0000 (Thu, 07 Feb 2008) | 3 lines
2035
2036 * src/ne_gnutls.c (match_hostname, check_identity): Tone down
2037 the debugging output.
2038
2039 ------------------------------------------------------------------------
2040 r1331 | joe | 2008-02-07 08:24:05 +0000 (Thu, 07 Feb 2008) | 4 lines
2041
2042 * src/ne_gnutls.c (ne_ssl_clicert_read): Fail if missing cert or key.
2043 (ne__ssl_clicert_exkey_import): Set decrypted flag on imported
2044 keyless clicert.
2045
2046 ------------------------------------------------------------------------
2047 r1330 | joe | 2008-02-06 21:37:26 +0000 (Wed, 06 Feb 2008) | 2 lines
2048
2049 * src/Makefile.in: Regenerate deps.
2050
2051 ------------------------------------------------------------------------
2052 r1329 | joe | 2008-02-06 21:31:30 +0000 (Wed, 06 Feb 2008) | 22 lines
2053
2054 Initial support for PKCS#11, based on the pakchois PKCS#11 library:
2055
2056 * src/ne_pkcs11.c, src/ne_pkcs11: New files.
2057
2058 * src/ne_gnutls.c (struct ne_ssl_client_cert_s): Add keyless flag.
2059 (dup_client_cert): Support keyless clicerts.
2060 (ne__ssl_clicert_exkey_import): New function.
2061 (provide_client_cert): Use proper GnuTLS error codes in failure
2062 cases.
2063
2064 * src/ne_privssl.h (ne__ssl_clicert_exkey_import) [HAVE_GNUTLS]: Add
2065 prototype.
2066
2067 * src/ne_private.h: Include ne_pkcs11.h.
2068 (struct ne_session_s): Add pin callback and userdata.
2069
2070 * src/ne_session.c (ne_ssl_set_pkcs11_pin): New function.
2071
2072 * src/Makefile.in, neon.mak: Build ne_pkcs11.c.
2073
2074 * macros/neon.m4 (NEON_SSL): Check for pakchois.
2075
2076 ------------------------------------------------------------------------
2077 r1328 | joe | 2008-02-06 21:29:44 +0000 (Wed, 06 Feb 2008) | 3 lines
2078
2079 * macros/neon.m4 (NEON_WITH_LIBS): Adjust PKG_CONFIG_PATH
2080 appropriately.
2081
2082 ------------------------------------------------------------------------
2083 r1327 | joe | 2008-02-06 21:19:35 +0000 (Wed, 06 Feb 2008) | 3 lines
2084
2085 * src/ne_alloc.h: Include stdlib.h on all platforms to
2086 pick up free() definition.
2087
2088 ------------------------------------------------------------------------
2089 r1326 | joe | 2008-02-06 11:30:41 +0000 (Wed, 06 Feb 2008) | 11 lines
2090
2091 Restore parts of r1315:
2092
2093 * macros/neon.m4 (NEON_SSL): Check for gnutls_sign_callback_set.
2094
2095 * src/ne_privssl.h (struct ne_ssl_context_s): Add sign_func, sign_data
2096 fields.
2097
2098 * src/ne_socket.c (ne_sock_connect_ssl): Set up the sign_func callback
2099 if non-NULL.
2100
2101
2102 ------------------------------------------------------------------------
2103 r1325 | joe | 2008-02-06 11:27:38 +0000 (Wed, 06 Feb 2008) | 8 lines
2104
2105 Re-apply r1317, portion of r1316:
2106
2107 * src/ne_gnutls.c (ne_ssl_clicert_read): Fail if cert or key is missing.
2108
2109 * src/ne_openssl.c (ne_ssl_clicert_read): Fail if private key lacks
2110 cert or pkey.
2111
2112
2113 ------------------------------------------------------------------------
2114 r1324 | joe | 2008-02-06 11:17:54 +0000 (Wed, 06 Feb 2008) | 3 lines
2115
2116 * test/ssl.c, test/makekeys.sh: Restore test cases for PKCS#12
2117 clicerts with missing halves.
2118
2119 ------------------------------------------------------------------------
2120 r1323 | joe | 2008-02-06 11:12:09 +0000 (Wed, 06 Feb 2008) | 2 lines
2121
2122 Revert diff r1320:r1314.
2123
2124 ------------------------------------------------------------------------
2125 r1322 | joe | 2008-02-06 10:13:42 +0000 (Wed, 06 Feb 2008) | 2 lines
2126
2127 * src/ne_socket.c (ne_sock_cipher): Fix non-SSL build.
2128
2129 ------------------------------------------------------------------------
2130 r1321 | joe | 2008-02-06 09:51:54 +0000 (Wed, 06 Feb 2008) | 2 lines
2131
2132 * NEWS: News so far.
2133
2134 ------------------------------------------------------------------------
2135 r1320 | joe | 2008-01-31 15:22:13 +0000 (Thu, 31 Jan 2008) | 2 lines
2136
2137 * src/ne_ssl.h: Update docco for ne_ssl_clicert*_read.
2138
2139 ------------------------------------------------------------------------
2140 r1319 | joe | 2008-01-31 15:08:53 +0000 (Thu, 31 Jan 2008) | 6 lines
2141
2142 * test/makekeys.sh: Generate clicert without cert, and encrypted
2143 clicert without pkey.
2144
2145 * test/ssl.c (load_client_cert): Add tests for more clicert
2146 variations.
2147
2148 ------------------------------------------------------------------------
2149 r1318 | joe | 2008-01-31 12:12:16 +0000 (Thu, 31 Jan 2008) | 3 lines
2150
2151 * src/Makefile.in, Makefile.in: Fix for NE_SSL_LIBNAME for non-GnuTLS
2152 build.
2153
2154 ------------------------------------------------------------------------
2155 r1317 | joe | 2008-01-31 11:49:36 +0000 (Thu, 31 Jan 2008) | 3 lines
2156
2157 * src/ne_openssl.c (ne_ssl_clicert_read): Fail if private key lacks
2158 cert or pkey.
2159
2160 ------------------------------------------------------------------------
2161 r1316 | joe | 2008-01-31 11:46:32 +0000 (Thu, 31 Jan 2008) | 21 lines
2162
2163 Add support for PKCS#12 client certs which don't include a private
2164 key:
2165
2166 * src/ne_gnutls.c (struct ne_ssl_client_cert_s): Add keyless flag.
2167 (dup_client_cert): Support keyless clicerts.
2168 (pkcs12_parse): Make pkey handling optional.
2169 (read_client_cert): Factor out from ne_ssl_clicert_read; take additional
2170 key_required flag; fail if cert or key is required and not supplied;
2171 initialize keyless flag.
2172 (ne_ssl_clicert_read): Reimplement using read_client_cert.
2173 (ne_ssl_clicert_exkey_read): New function.
2174 (ne_ssl_clicert_decrypt): Handle keyless failure case.
2175
2176 * src/ne_openssl.c (ne_ssl_clicert_exkey_read): Add stub.
2177
2178 * src/ne_stubssl.c (ne_ssl_clicert_exkey_read): Add stub.
2179
2180 * test/ssl.c (load_client_cert): Test ne_ssl_clicert_exkey_read.
2181
2182 * test/makekeys.sh: Generate keyless ccert.
2183
2184 ------------------------------------------------------------------------
2185 r1315 | joe | 2008-01-31 11:40:22 +0000 (Thu, 31 Jan 2008) | 27 lines
2186
2187 Add libneon-gnutls support library to allow use of external signing
2188 callback with GnuTLS:
2189
2190 * src/lib_gnutls.c, src/ne_gnutls.h, neon-gnutls.pc.in: New files.
2191
2192 * src/ne_privssl.h (struct ne_ssl_context_s): Add sign_func, sign_data
2193 fields.
2194
2195 * macros/neon.m4 (NEON_SSL): Define NE_SSL_LIBNAME; check for
2196 gnutls_sign_callback_set, add new exports NE_SSL_CFLAGS and
2197 NE_LIBSSL_LTFLAGS. Export NEON_LIBEXT in place of NEON_TARGET,
2198 NE_LIBNEON_LTFLAGS in place of NEON_LINK_FLAGS;
2199
2200 * src/Makefile.in: Add and adjust targets to build libneon-gnutls iff
2201 configured with GnuTLS support.
2202
2203 * Makefile.in (install-lib-ssl-no, install-lib-ssl-gnutls): New
2204 targets.
2205
2206 * neon-config.in: Add --la-file=gnutls, --cflags=gnutls support.
2207
2208 * src/ne_socket.c (ne_sock_connect_ssl): Set up the sign_func callback
2209 if non-NULL.
2210
2211 * configure.in: Adjust for NEON_LINK_FLAGS rename. Define
2212 NE_LIBSSL_LTFLAGS. Generate neon-gnutls.pc.
2213
2214 ------------------------------------------------------------------------
2215 r1314 | joe | 2008-01-31 09:54:15 +0000 (Thu, 31 Jan 2008) | 3 lines
2216
2217 * src/ne_socket.c (ne_sock_accept_ssl, ne_sock_connect_ssl): Fix
2218 compiler warnings on LP64 platforms.
2219
2220 ------------------------------------------------------------------------
2221 r1313 | joe | 2008-01-31 09:43:11 +0000 (Thu, 31 Jan 2008) | 4 lines
2222
2223 * src/ne_session.c (ne_get_error): Don't "clean" the error string
2224 again here, since it may have been localised and hence not be 7-bit
2225 ASCII.
2226
2227 ------------------------------------------------------------------------
2228 r1312 | joe | 2008-01-31 09:09:03 +0000 (Thu, 31 Jan 2008) | 2 lines
2229
2230 * Makefile.in: Add datarootdir to silence autoconf/config.status warning.
2231
2232 ------------------------------------------------------------------------
2233 r1311 | joe | 2008-01-31 08:58:21 +0000 (Thu, 31 Jan 2008) | 4 lines
2234
2235 * src/ne_string.c (ascii_printable): Define array.
2236 (ne_strclean): Reimplement using above to be independent
2237 of locale.
2238
2239 ------------------------------------------------------------------------
2240 r1310 | joe | 2008-01-30 22:22:31 +0000 (Wed, 30 Jan 2008) | 3 lines
2241
2242 * test/request.c (send_bad_offset): Use a pipe rather than a
2243 negative offset; better guarantee of failure.
2244
2245 ------------------------------------------------------------------------
2246 r1309 | joe | 2008-01-30 22:06:43 +0000 (Wed, 30 Jan 2008) | 2 lines
2247
2248 * src/ne_gnutls.c: Remove now-redundant #includes.
2249
2250 ------------------------------------------------------------------------
2251 r1308 | joe | 2008-01-30 21:19:34 +0000 (Wed, 30 Jan 2008) | 2 lines
2252
2253 * config.hw.in: Fix build with VS2008 (Stefan Kung).
2254
2255 ------------------------------------------------------------------------
2256 r1307 | joe | 2008-01-30 20:24:59 +0000 (Wed, 30 Jan 2008) | 2 lines
2257
2258 * configure.in: Wording tweak, no functional change.
2259
2260 ------------------------------------------------------------------------
2261 r1306 | joe | 2008-01-30 16:59:35 +0000 (Wed, 30 Jan 2008) | 5 lines
2262
2263 * src/ne_basic.c (dispatch_to_fd): Fix handling of ranged PUT with
2264 unspecified length. (Submitted by Henrik Holst <henrik witsbits.com>)
2265
2266 * test/basic. (get_eof_range): New test case.
2267
2268 ------------------------------------------------------------------------
2269 r1305 | joe | 2008-01-30 16:40:14 +0000 (Wed, 30 Jan 2008) | 2 lines
2270
2271 * src/ne_session.h: Docco update.
2272
2273 ------------------------------------------------------------------------
2274 r1304 | joe | 2008-01-30 16:38:19 +0000 (Wed, 30 Jan 2008) | 5 lines
2275
2276 * src/ne_props.c (startelm): Include the namespaces for both element
2277 and attributes in flat property dumps.
2278
2279 * test/props.c (propfind): Add test case for attribute handling.
2280
2281 ------------------------------------------------------------------------
2282 r1303 | joe | 2008-01-30 11:53:32 +0000 (Wed, 30 Jan 2008) | 8 lines
2283
2284 * src/ne_dates.c (GMTOFF) [HAVE_TIMEZONE]: Add definition.
2285 (all callers of GMTOFF): Separate mktime from GMTOFF invocation to
2286 ensure a sequence point between the two.
2287
2288 * macros/neon.m4 (LIBNEON_SOURCE_CHECKS): Update timezone warning.
2289
2290 Submitted by: Alessandro Vesely <vesely tana.it>
2291
2292 ------------------------------------------------------------------------
2293 r1302 | joe | 2008-01-30 11:35:52 +0000 (Wed, 30 Jan 2008) | 11 lines
2294
2295 * src/ne_private.h (struct ne_session_s): Add local_addr field.
2296
2297 * src/ne_session.c (ne_set_localaddr): New prototype.
2298
2299 * src/ne_session.c (ne_set_localaddr): New function.
2300
2301 * src/ne_request.c (do_connect): Call ne_sock_prebind if local_addr is
2302 non-NULL.
2303
2304 * test/request.c (local_addr): New test case.
2305
2306 ------------------------------------------------------------------------
2307 r1299 | joe | 2007-12-27 21:10:43 +0000 (Thu, 27 Dec 2007) | 2 lines
2308
2309 * src/ne_ssl.h: Docco tweaks.
2310
2311 ------------------------------------------------------------------------
2312 r1298 | joe | 2007-12-27 21:08:25 +0000 (Thu, 27 Dec 2007) | 2 lines
2313
2314 * test/request.c: Spelling fix.
2315
2316 ------------------------------------------------------------------------
2317 r1297 | joe | 2007-12-16 14:05:07 +0000 (Sun, 16 Dec 2007) | 2 lines
2318
2319 * src/Makefile.in: Add deps for ne_gnutls.c.
2320
2321 ------------------------------------------------------------------------
2322 r1296 | joe | 2007-12-16 14:01:46 +0000 (Sun, 16 Dec 2007) | 2 lines
2323
2324 * src/ne_session.h: Clarify when ne_session_proxy may be called.
2325
2326 ------------------------------------------------------------------------
2327 r1295 | joe | 2007-12-16 13:58:47 +0000 (Sun, 16 Dec 2007) | 10 lines
2328
2329 * src/ne_acl.h (ne_acl_entry): Rename "apply" field "target", split
2330 out enums; rename "principal" to "tname"; add single "principles"
2331 bit-field. Add NE_ACL_* constants.
2332
2333 * src/ne_acl.c (acl_body): Adjust accordingly.
2334
2335 * test/acl.c: All tests updated accordingly.
2336
2337 Submitted by: Henrik Holst, joe
2338
2339 ------------------------------------------------------------------------
2340 r1294 | joe | 2007-12-16 11:24:39 +0000 (Sun, 16 Dec 2007) | 3 lines
2341
2342 * test/socket.c (ssl_session_id): Skip if given a zero-length session
2343 ID as recent OpenSSL seems to do.
2344
2345 ------------------------------------------------------------------------
2346 r1293 | joe | 2007-12-05 16:42:01 +0000 (Wed, 05 Dec 2007) | 2 lines
2347
2348 * src/ne_ssl.h: Doc tweak; server is not a person.
2349
2350 ------------------------------------------------------------------------
2351 r1292 | joe | 2007-12-05 16:39:58 +0000 (Wed, 05 Dec 2007) | 11 lines
2352
2353 * src/ne_auth.h (NE_AUTH_ALL, NE_AUTH_DEFAULT): Add new protocol
2354 codes.
2355
2356 * src/ne_auth.c (auth_register): Interpret NE_AUTH_ALL and
2357 NE_AUTH_DEFAULT.
2358 (auth_register_default): Remove function.
2359 (ne_set_server_auth, ne_set_proxy_auth): Re-implement
2360 using auth_register.
2361
2362 * test/auth.c (defaults): New test case.
2363
2364 ------------------------------------------------------------------------
2365 r1291 | joe | 2007-12-05 15:23:40 +0000 (Wed, 05 Dec 2007) | 2 lines
2366
2367 * src/ne_socket.c (ne_sock_cipher): Fix non-SSL build.
2368
2369 ------------------------------------------------------------------------
2370 r1290 | joe | 2007-12-05 15:11:24 +0000 (Wed, 05 Dec 2007) | 10 lines
2371
2372 Enable TLS SNI support for GnuTLS builds:
2373
2374 * src/ne_privssl.h [HAVE_GNUTLS] (struct ne_ssl_context_s): Add
2375 hostname field.
2376
2377 * src/ne_gnutls.c (ne__negotiate_ssl): Pass through hostname if SNI
2378 enabled.
2379
2380 ,* src/ne_socket.c [HAVE_GNUTLS] (ne_sock_connect_ssl): Set hostname.
2381
2382 ------------------------------------------------------------------------
2383 r1289 | joe | 2007-12-05 15:04:51 +0000 (Wed, 05 Dec 2007) | 6 lines
2384
2385 * src/ne_socket.c (ne_sock_cipher): New function.
2386
2387 * src/ne_socket.h (ne_sock_cipher): Add prototype.
2388
2389 * test/socket.c (cipher): Add test case.
2390
2391 ------------------------------------------------------------------------
2392 r1288 | joe | 2007-12-05 14:57:54 +0000 (Wed, 05 Dec 2007) | 6 lines
2393
2394 * src/ne_auth.c (inside_domain): Parse request-URI to handle proxies
2395 correctly.
2396
2397 * test/auth.c (verify_digest_header, serve_digest, domains): Test
2398 domain handling via proxy.
2399
2400 ------------------------------------------------------------------------
2401 r1287 | joe | 2007-12-05 14:31:19 +0000 (Wed, 05 Dec 2007) | 3 lines
2402
2403 * src/ne_auth.c (parse_domain): Fix memory handling (fix tests with
2404 --enable-memleak).
2405
2406 ------------------------------------------------------------------------
2407 r1286 | joe | 2007-12-05 14:16:35 +0000 (Wed, 05 Dec 2007) | 5 lines
2408
2409 * src/ne_auth.c (parse_domain): Fix to parse domain parameter as
2410 space-separated list.
2411
2412 * test/auth.c (domains): Fix test case.
2413
2414 ------------------------------------------------------------------------
2415 r1285 | joe | 2007-12-05 14:14:37 +0000 (Wed, 05 Dec 2007) | 2 lines
2416
2417 * src/ne_auth.c (get_cnonce): Reformat code; no functional change.
2418
2419 ------------------------------------------------------------------------
2420 r1284 | joe | 2007-12-05 14:10:57 +0000 (Wed, 05 Dec 2007) | 3 lines
2421
2422 * src/ne_auth.c (get_cnonce): Use gcrypt to create the nonce if
2423 configured with GnuTLS.
2424
2425 ------------------------------------------------------------------------
2426 r1283 | joe | 2007-12-05 11:04:47 +0000 (Wed, 05 Dec 2007) | 2 lines
2427
2428 * src/ne_uri.c (ne_path_unescape): Remove redundant \0 (Hannes Eder).
2429
2430 ------------------------------------------------------------------------
2431 r1282 | joe | 2007-12-04 22:02:27 +0000 (Tue, 04 Dec 2007) | 2 lines
2432
2433 * src/ne_md5.c: Use ANSI C prototypes throughout (Hannes Eder).
2434
2435 ------------------------------------------------------------------------
2436 r1281 | joe | 2007-12-01 16:07:44 +0000 (Sat, 01 Dec 2007) | 15 lines
2437
2438 Add TLS SNI support and enable by default:
2439
2440 * src/ne_session.h (ne_session_flag_e): Add NE_SESSFLAG_TLS_SNI.
2441
2442 * src/ne_session.c (ne_session_create): Enable the SNI flag by
2443 default.
2444
2445 * src/ne_privssl.h (struct ne_ssl_context_s): Add hostname field.
2446
2447 * src/ne_socket.c (ne_sock_connect_ssl) [HAVE_OPENSSL]: Enable SNI
2448 extension if hostname passed-through.
2449
2450 * src/ne_openssl.c (ne__negotiate_ssl): Set hostname field in context,
2451 if SNI flag enbled.
2452
2453 ------------------------------------------------------------------------
2454 r1280 | joe | 2007-11-30 14:12:59 +0000 (Fri, 30 Nov 2007) | 3 lines
2455
2456 * src/ne_socket.c (ne_sock_connect): Fix fd leak on connect() failure;
2457 regresion since 0.26 (Andrew Teirney).
2458
2459 ------------------------------------------------------------------------
2460 r1279 | joe | 2007-11-29 23:05:18 +0000 (Thu, 29 Nov 2007) | 3 lines
2461
2462 * src/ne_openssl.c (ne_ssl_context_create): Enable client session
2463 cache if creating server context.
2464
2465 ------------------------------------------------------------------------
2466 r1278 | joe | 2007-11-26 20:42:08 +0000 (Mon, 26 Nov 2007) | 5 lines
2467
2468 * src/ne_basic.c (ne_getmodtime): Set modtime to -1 if no header
2469 given. (Henrik Holst)
2470
2471 * src/ne_basic.h (ne_getmodtime): Clarify interface.
2472
2473 ------------------------------------------------------------------------
2474 r1277 | joe | 2007-11-26 20:15:17 +0000 (Mon, 26 Nov 2007) | 6 lines
2475
2476 Add Polish translation, from Arfrever Frehtes Taifersar Arahesis:
2477
2478 * configure.in: Add pl locale.
2479
2480 * po/pl.po: New file.
2481
2482 ------------------------------------------------------------------------
2483 r1276 | joe | 2007-11-26 20:07:39 +0000 (Mon, 26 Nov 2007) | 2 lines
2484
2485 * po/: make update-po.
2486
2487 ------------------------------------------------------------------------
2488 r1275 | joe | 2007-11-26 15:52:26 +0000 (Mon, 26 Nov 2007) | 4 lines
2489
2490 * src/ne_compress.c (set_zlib_error),
2491 * src/ne_auth.c (challenge_error): Don't mark untranslateable strings
2492 as translatable (patch by Arfrever Frehtes Taifersar Arahesis).
2493
2494 ------------------------------------------------------------------------
2495 r1274 | joe | 2007-11-21 11:17:02 +0000 (Wed, 21 Nov 2007) | 3 lines
2496
2497 * src/ne_socket.c (ne_sock_connect): Set the FD_CLOEXEC bit on
2498 the socket fd.
2499
2500 ------------------------------------------------------------------------
2501 r1273 | joe | 2007-11-19 15:55:30 +0000 (Mon, 19 Nov 2007) | 15 lines
2502
2503 Add support for domain handling in Digest authentication:
2504
2505 * src/ne_auth.c (struct auth_challenge): Add domain field.
2506 (auth_session): Add domains, ndomains fields.
2507 (free_domains, parse_domain, inside_domain): New functions.
2508 (clean_session): Call free_domains.
2509 (digest_challenge): Parse the domain parameter.
2510 (request_digest): Don't submit credentials if request falls outside
2511 the defined auth domain, if any.
2512 (auth_challenge): Capture the domain parameter.
2513
2514 * test/auth.c (make_digest_header, serve_digest): Update for
2515 handling domains test.
2516 (domains): New test case.
2517
2518 ------------------------------------------------------------------------
2519 r1272 | joe | 2007-11-19 13:57:25 +0000 (Mon, 19 Nov 2007) | 3 lines
2520
2521 * doc/: Add documentation for _set_*_flag interfaces, misc.
2522 updates to neon(3) main page.
2523
2524 ------------------------------------------------------------------------
2525 r1271 | joe | 2007-10-31 21:20:59 +0000 (Wed, 31 Oct 2007) | 2 lines
2526
2527 * macros/neon.m4: Fix comment.
2528
2529 ------------------------------------------------------------------------
2530 r1270 | joe | 2007-10-24 17:37:35 +0100 (Wed, 24 Oct 2007) | 2 lines
2531
2532 * src/ne_socket.c (ne_socket_s): Reorder for better packing.
2533
2534 ------------------------------------------------------------------------
2535 r1269 | joe | 2007-10-22 10:08:29 +0100 (Mon, 22 Oct 2007) | 2 lines
2536
2537 * src/ne_socket.c (do_bind, ne_sock_peer): Fix for !USE_GETADDRINFO build.
2538
2539 ------------------------------------------------------------------------
2540 r1268 | joe | 2007-10-22 09:58:19 +0100 (Mon, 22 Oct 2007) | 15 lines
2541
2542 * src/ne_socket.h (ne_sock_peer, ne_sock_prebind): Add prototypes.
2543
2544 * src/ne_socket.c (ne_sock_peer, ne_sock_prebind, do_bind): New
2545 functions.
2546 (ne_sock_connect): Use do_bind.
2547 (struct ne_socket_s): Add laddr, lport fields.
2548
2549 * macros/neon.m4 (LIBNEON_SOURCE_CHECKS): Define socklen_t if
2550 not available.
2551
2552 * config.hw.in: Define socklen_t.
2553
2554 * test/socket.c (addr_peer, serve_ppeer, try_prebind, prebind):
2555 New tests.
2556
2557 ------------------------------------------------------------------------
2558 r1267 | joe | 2007-10-19 11:25:38 +0100 (Fri, 19 Oct 2007) | 3 lines
2559
2560 * test-common/tests.c (t_context, in_child): Print failure messages to the
2561 child debug log as well as to stderr.
2562
2563 ------------------------------------------------------------------------
2564 r1266 | joe | 2007-10-19 11:24:35 +0100 (Fri, 19 Oct 2007) | 2 lines
2565
2566 * src/ne_request.c (build_request): Use ne_buffer_czappend.
2567
2568 ------------------------------------------------------------------------
2569 r1264 | joe | 2007-10-19 11:13:02 +0100 (Fri, 19 Oct 2007) | 3 lines
2570
2571 * test/auth.c (serve_digest): Inhibit "server child failure" messages
2572 when the server should quit.
2573
2574 ------------------------------------------------------------------------
2575 r1263 | joe | 2007-10-18 15:37:59 +0100 (Thu, 18 Oct 2007) | 6 lines
2576
2577 * src/ne_socket.c (ne_sock_sessid): Don't copy from beyond
2578 ->session_id array.
2579
2580 * test/socket.c (ssl_session_id): Test that only expected number of
2581 bytes are copied.
2582
2583 ------------------------------------------------------------------------
2584 r1262 | joe | 2007-10-18 15:33:15 +0100 (Thu, 18 Oct 2007) | 2 lines
2585
2586 * src/Makefile.in (update-deps): Fix location of config.h.
2587
2588 ------------------------------------------------------------------------
2589 r1256 | joe | 2007-09-25 10:22:50 +0100 (Tue, 25 Sep 2007) | 3 lines
2590
2591 * src/ne_auth.c (verify_negotiate_response): Fix crash in GSSAPI
2592 Negotiate response header verification.
2593
2594 ------------------------------------------------------------------------
2595 r1253 | joe | 2007-09-11 17:01:20 +0100 (Tue, 11 Sep 2007) | 2 lines
2596
2597 * test/run.sh: Run all test suites despite failures.
2598
2599 ------------------------------------------------------------------------
2600 r1252 | joe | 2007-09-09 21:46:28 +0100 (Sun, 09 Sep 2007) | 2 lines
2601
2602 * test/socket.c (serve_reset): Add delay before sending RST.
2603
2604 ------------------------------------------------------------------------
2605 r1251 | joe | 2007-09-09 21:44:38 +0100 (Sun, 09 Sep 2007) | 2 lines
2606
2607 * test/request.c (status, status_chunked): Fix memory leak.
2608
2609 ------------------------------------------------------------------------
2610 r1250 | joe | 2007-09-09 21:40:11 +0100 (Sun, 09 Sep 2007) | 3 lines
2611
2612 * src/ne_openssl.c: Update comments. (match_hostname): Remove
2613 debugging.
2614
2615 ------------------------------------------------------------------------
2616 r1249 | joe | 2007-09-07 13:24:54 +0100 (Fri, 07 Sep 2007) | 2 lines
2617
2618 * src/Makefile.in (update-deps): New target; regenerate dependencies.
2619
2620 ------------------------------------------------------------------------
2621 r1248 | joe | 2007-09-02 21:27:57 +0100 (Sun, 02 Sep 2007) | 7 lines
2622
2623 * configure.in: Set NEON_LINK_FLAGS later; also use -release if ABI
2624 variations are noted.
2625
2626 * macros/neon.m4 (NE_ADD_ABITAG): New macro.
2627 (NE_LARGEFILE): Add LFS ABI tag if LFS is enabled.
2628 (NEON_COMMON_BUNDLED): Add NODAV ABI tag if DAV support is disabled.
2629
2630 ------------------------------------------------------------------------
2631 r1240 | joe | 2007-08-22 13:02:05 +0100 (Wed, 22 Aug 2007) | 2 lines
2632
2633 * macros/neon-xml-parser.m4 (NE_XML_BUNDLED_EXPAT): Define NE_FMT_XML_SIZE.
2634
2635 ------------------------------------------------------------------------
2636 r1238 | joe | 2007-08-22 12:57:37 +0100 (Wed, 22 Aug 2007) | 2 lines
2637
2638 * src/ne_session.h: Add forward-compat note for ne_session_status enum.
2639
2640 ------------------------------------------------------------------------
2641 r1237 | joe | 2007-08-22 12:55:38 +0100 (Wed, 22 Aug 2007) | 5 lines
2642
2643 * src/ne_session.h: Fix description of total counter for response
2644 progress.
2645
2646 * test/request.c (status_chunked): New test.
2647
2648 ------------------------------------------------------------------------
2649 r1235 | joe | 2007-08-22 12:42:13 +0100 (Wed, 22 Aug 2007) | 2 lines
2650
2651 * src/ne_request.c (ne_read_response_block): Fix response progress counter.
2652
2653 ------------------------------------------------------------------------
2654 r1232 | joe | 2007-08-21 20:12:30 +0100 (Tue, 21 Aug 2007) | 2 lines
2655
2656 * NEWS: Tweak more.
2657
2658 ------------------------------------------------------------------------
2659 r1231 | joe | 2007-08-21 20:09:07 +0100 (Tue, 21 Aug 2007) | 2 lines
2660
2661 * po/: make update-po.
2662
2663 ------------------------------------------------------------------------
2664 r1230 | joe | 2007-08-21 20:07:23 +0100 (Tue, 21 Aug 2007) | 2 lines
2665
2666 * NEWS: Tweak.
2667
2668 ------------------------------------------------------------------------
2669 r1229 | joe | 2007-08-21 20:06:43 +0100 (Tue, 21 Aug 2007) | 2 lines
2670
2671 * NEWS: Tweak, update.
2672
2673 ------------------------------------------------------------------------
2674 r1228 | joe | 2007-08-21 19:59:32 +0100 (Tue, 21 Aug 2007) | 4 lines
2675
2676 * macros/neon.m4: Bump to 0.27.
2677
2678 * NEWS: Update.
2679
2680 ------------------------------------------------------------------------
2681 r1227 | joe | 2007-08-21 19:59:07 +0100 (Tue, 21 Aug 2007) | 3 lines
2682
2683 * BUGS: Note a broken HTTP server which would need some custom
2684 hack to be supported.
2685
2686 ------------------------------------------------------------------------
2687 r1226 | joe | 2007-08-21 19:56:40 +0100 (Tue, 21 Aug 2007) | 11 lines
2688
2689 Make the notifier and progress interfaces mutually exclusive since the
2690 old interface is only kept for backwards-compatibility.
2691
2692 * src/ne_request.c (notify_status): Don't invoke the progress
2693 callback.
2694
2695 * src/ne_session.c (progress_notifier): New function.
2696 (ne_set_progress): Implement using a notifier callback.
2697
2698 * src/ne_session.h: Note the mutual exclusivity.
2699
2700 ------------------------------------------------------------------------
2701 r1225 | joe | 2007-08-21 16:38:12 +0100 (Tue, 21 Aug 2007) | 3 lines
2702
2703 * src/ne_gnutls.c [HAVE_ICONV && HAVE_GNUTLS_X509_DN_GET_RDN_AVA]:
2704 Include errno.h, fix build.
2705
2706 ------------------------------------------------------------------------
2707 r1224 | joe | 2007-08-19 09:56:45 +0100 (Sun, 19 Aug 2007) | 6 lines
2708
2709 * src/ne_session.h (ne_ssl_trust_cert): Clarify use with non-SSL session.
2710
2711 * src/ne_session.c (ne_ssl_trust_cert): Do nothing for non-SSL session.
2712
2713 * test/ssl.c (nonssl_trust): New test case.
2714
2715 ------------------------------------------------------------------------
2716 r1223 | joe | 2007-08-18 14:28:22 +0100 (Sat, 18 Aug 2007) | 2 lines
2717
2718 * test/socket.c (addr_reverse): Remove debugging code added in r1220.
2719
2720 ------------------------------------------------------------------------
2721 r1222 | joe | 2007-08-10 16:26:08 +0100 (Fri, 10 Aug 2007) | 5 lines
2722
2723 Perform hostname canonicalization for SSPI, patch by Yves Martin:
2724
2725 * src/ne_sspi.c (canonical_hostname): New function.
2726 (ne_sspi_create_context): Use the canonical hostname in the SPN.
2727
2728 ------------------------------------------------------------------------
2729 r1221 | joe | 2007-08-10 15:39:26 +0100 (Fri, 10 Aug 2007) | 2 lines
2730
2731 * config.hw.in: Fix ne_xml.c build on Win32.
2732
2733 ------------------------------------------------------------------------
2734 r1220 | joe | 2007-08-10 14:05:10 +0100 (Fri, 10 Aug 2007) | 7 lines
2735
2736 * src/ne_socket.h (ne_iaddr_reverse),
2737 src/ne_socket.c (ne_iaddr_reverse): New function.
2738
2739 * test/socket.c (addr_reverse): New tests.
2740
2741 * macros/neon.m4 (LIBNEON_SOURCE_CHECKS): Check for getnameinfo too.
2742
2743 ------------------------------------------------------------------------
2744 r1219 | joe | 2007-08-10 11:29:26 +0100 (Fri, 10 Aug 2007) | 9 lines
2745
2746 * src/ne_request.c (ne_begin_request): Ignore the "identity"
2747 transfer-coding since "privoxy" apparently sends it. Fail for unknown
2748 transfer-codings.
2749
2750 * test/request.c (te_identity): New test, replacing any_te_header.
2751 (fail_on_invalid): Test for failure with unknown transfer-codings.
2752
2753 * doc/using.xml: Update section on transfer-encoding interpretation.
2754
2755 ------------------------------------------------------------------------
2756 r1218 | joe | 2007-08-09 10:46:36 +0100 (Thu, 09 Aug 2007) | 11 lines
2757
2758 Fix compiler warnings with expat 2.x API:
2759
2760 * macros/neon.m4 (NEON_FORMAT): Fix use of headers passed to
2761 AC_CHECK_SIZEOF.
2762
2763 * macros/neon-xml-parser.m4 (NE_XML_EXPAT): Check how to print
2764 the XML_Size type, if defined.
2765
2766 * src/ne_xml.c (ne_xml_parse): Use correct format string for
2767 return value of XML_GetCurrentLineNumber.
2768
2769 ------------------------------------------------------------------------
2770 r1217 | joe | 2007-08-08 09:29:00 +0100 (Wed, 08 Aug 2007) | 10 lines
2771
2772 * src/ne_session.h (ne_session_flag): Add NE_SESSFLAG_CONNAUTH.
2773
2774 * src/ne_request.c (ne_begin_request): Ignore the IDEMPOTENT flag if
2775 the session CONNAUTH flag is set.
2776
2777 * src/ne_auth.c: Define AUTH_FLAG_CONN_AUTH macro, use for
2778 Negotiate/NTLM schemes.
2779 (ah_pre_send): Remove non-functional hack to clear IDEMPOTENT flag.
2780 (ah_post_send): Set or clear session CONNAUTH flag appropriately.
2781
2782 ------------------------------------------------------------------------
2783 r1216 | joe | 2007-07-31 19:28:30 +0100 (Tue, 31 Jul 2007) | 4 lines
2784
2785 * src/ne_uri.c (URI_FRAGMENT): Add macro.
2786 (ne_uri_parse): Add comments and use URI_FRAGMENT; no functional
2787 change.
2788
2789 ------------------------------------------------------------------------
2790 r1215 | joe | 2007-07-31 19:19:34 +0100 (Tue, 31 Jul 2007) | 5 lines
2791
2792 * src/ne_session.h (ne_session_flag): Add NE_SESSFLAG_RFC4918.
2793
2794 * src/ne_basic.c (copy_or_move): Use an abs_path in Destination
2795 header, rather than an absoluteURI, iff the 4918 flag is enabled.
2796
2797 ------------------------------------------------------------------------
2798 r1214 | joe | 2007-07-31 19:14:25 +0100 (Tue, 31 Jul 2007) | 2 lines
2799
2800 * src/ne_session.h (ne_session_status): Clarify meaning of _recv/_sending.
2801
2802 ------------------------------------------------------------------------
2803 r1213 | joe | 2007-07-29 16:38:22 +0100 (Sun, 29 Jul 2007) | 2 lines
2804
2805 Changes so far.
2806
2807 ------------------------------------------------------------------------
2808 r1212 | joe | 2007-07-26 13:33:58 +0100 (Thu, 26 Jul 2007) | 4 lines
2809
2810 * src/ne_gnutls.c (check_identity): Take URI object as argument;
2811 handle URI subjectAltNames.
2812 (check_certificate, populate_cert): Adjust accordingly.
2813
2814 ------------------------------------------------------------------------
2815 r1211 | joe | 2007-07-20 12:52:33 +0100 (Fri, 20 Jul 2007) | 3 lines
2816
2817 * doc/ref/neon.xml: Add a list of the functions using global state, for clarity.
2818 Add more symbol namespaces used by dependencies of neon.
2819
2820 ------------------------------------------------------------------------
2821 r1210 | joe | 2007-07-17 11:11:04 +0100 (Tue, 17 Jul 2007) | 2 lines
2822
2823 * src/ne_session.h: Better docs for ne_session_status_info union.
2824
2825 ------------------------------------------------------------------------
2826 r1209 | joe | 2007-07-17 10:47:16 +0100 (Tue, 17 Jul 2007) | 2 lines
2827
2828 * src/ne_session.h: Update ABI note for status union.
2829
2830 ------------------------------------------------------------------------
2831 r1208 | joe | 2007-07-16 11:25:10 +0100 (Mon, 16 Jul 2007) | 3 lines
2832
2833 * macros/neon.m4 (NEON_SSL): Don't attempt to prevent incompatibility
2834 with future releases of GnuTLS.
2835
2836 ------------------------------------------------------------------------
2837 r1207 | joe | 2007-07-16 08:47:28 +0100 (Mon, 16 Jul 2007) | 2 lines
2838
2839 * src/ne_xml.h, src/ne_socket.h: Documentation updates.
2840
2841 ------------------------------------------------------------------------
2842 r1206 | joe | 2007-07-16 08:39:43 +0100 (Mon, 16 Jul 2007) | 3 lines
2843
2844 * src/ne_alloc.h (ne_realloc): Don't mark with malloc attribute, per
2845 GCC manual.
2846
2847 ------------------------------------------------------------------------
2848 r1205 | joe | 2007-07-16 07:54:57 +0100 (Mon, 16 Jul 2007) | 3 lines
2849
2850 * src/ne_utils.h, src/ne_md5.h, src/ne_compress.h: Docs updates;
2851 use extern-C everywhere. No functional changes.
2852
2853 ------------------------------------------------------------------------
2854 r1204 | joe | 2007-07-16 07:40:03 +0100 (Mon, 16 Jul 2007) | 2 lines
2855
2856 * src/ne_redirect.h: Cleanup docs; no functional change.
2857
2858 ------------------------------------------------------------------------
2859 r1203 | joe | 2007-07-16 07:35:17 +0100 (Mon, 16 Jul 2007) | 2 lines
2860
2861 * src/ne_string.h: More docco cleanup; no functional changes.
2862
2863 ------------------------------------------------------------------------
2864 r1202 | joe | 2007-07-16 06:46:30 +0100 (Mon, 16 Jul 2007) | 2 lines
2865
2866 * src/ne_string.h: Update docco for ne_buffer_*; no functional change.
2867
2868 ------------------------------------------------------------------------
2869 r1198 | joe | 2007-07-14 21:35:28 +0100 (Sat, 14 Jul 2007) | 2 lines
2870
2871 Update credit roll, copyright notice.
2872
2873 ------------------------------------------------------------------------
2874 r1188 | joe | 2007-07-14 10:01:23 +0100 (Sat, 14 Jul 2007) | 2 lines
2875
2876 * test/auth.c (multi_handler): Use any_request().
2877
2878 ------------------------------------------------------------------------
2879 r1187 | joe | 2007-07-14 09:55:32 +0100 (Sat, 14 Jul 2007) | 4 lines
2880
2881 * src/ne_auth.c (auth_register): Fix multiple handler use (Werner Baumann)
2882
2883 * test/auth.c (multi_cb, multi_handler): New test case.
2884
2885 ------------------------------------------------------------------------
2886 r1185 | joe | 2007-07-14 09:05:02 +0100 (Sat, 14 Jul 2007) | 8 lines
2887
2888 Make the backwards-compat break in the status notification interface
2889 more explicit by renaming the function:
2890
2891 * src/ne_session.h, src/ne_session.c (ne_set_notifier): Renamed from
2892 ne_set_status.
2893
2894 * test/request.c (status): Adjust accordingly.
2895
2896 ------------------------------------------------------------------------
2897 r1184 | joe | 2007-07-14 09:01:58 +0100 (Sat, 14 Jul 2007) | 2 lines
2898
2899 * src/ne_ssl.h: Docs cleanup.
2900
2901 ------------------------------------------------------------------------
2902 r1183 | joe | 2007-07-12 21:37:51 +0100 (Thu, 12 Jul 2007) | 6 lines
2903
2904 * src/ne_string.h (ne_buffer_snprintf): New prototype.
2905
2906 * src/ne_string.c (ne_buffer_snprintf): New function.
2907
2908 * test/string-tests.c (buf_print): New test case.
2909
2910 ------------------------------------------------------------------------
2911 r1182 | joe | 2007-07-12 11:38:00 +0100 (Thu, 12 Jul 2007) | 6 lines
2912
2913 * src/ne_session.h: Add ne_status_disconnected status type.
2914 (ne_close_connection): Invoke the notifier callback.
2915 (ne_session_destroy): Close the connection earlier.
2916
2917 * test/request.c (status_cb, status): Test ne_status_disconnected.
2918
2919 ------------------------------------------------------------------------
2920 r1181 | joe | 2007-07-11 23:23:02 +0100 (Wed, 11 Jul 2007) | 3 lines
2921
2922 * src/ne_gnutls.c (ne__ssl_exit): Implement for recent versions of
2923 GnuTLS, per comment.
2924
2925 ------------------------------------------------------------------------
2926 r1180 | joe | 2007-07-03 13:01:39 +0100 (Tue, 03 Jul 2007) | 9 lines
2927
2928 * src/ne_xml.h (ne_xml_resolve_nspace): New interface.
2929
2930 * src/ne_xml.c (ne_xml_resolve_nspace): New function.
2931
2932 * test/xml.c: Adjust all callbacks to take 'struct context' pointer.
2933 (parse_match): Pass a struct context pointer.
2934 (startelm): Add "eval-xmlns-" evaluators.
2935 (matches): Test namespace interfaces.
2936
2937 ------------------------------------------------------------------------
2938 r1179 | joe | 2007-07-03 10:14:52 +0100 (Tue, 03 Jul 2007) | 2 lines
2939
2940 * doc/ref/err.xml: Update ne_get_error docs.
2941
2942 ------------------------------------------------------------------------
2943 r1178 | joe | 2007-07-02 17:34:33 +0100 (Mon, 02 Jul 2007) | 3 lines
2944
2945 * doc/manual.xml: Split name and version to silence new
2946 docbook-xsl stylesheets.
2947
2948 ------------------------------------------------------------------------
2949 r1177 | joe | 2007-07-02 17:24:33 +0100 (Mon, 02 Jul 2007) | 2 lines
2950
2951 * test/request.c (fail_statusline): Adjust for new error message.
2952
2953 ------------------------------------------------------------------------
2954 r1176 | joe | 2007-07-02 17:22:55 +0100 (Mon, 02 Jul 2007) | 9 lines
2955
2956 * src/ne_openssl.c (check_identity): Take URI object as argument;
2957 handle URI subjectAltNames.
2958 (check_certificate, populate_cert): Adjust accordingly.
2959
2960 * test/ssl.c (uri_altname, fail_bad_urialtname): Add tests.
2961 (cert_identities): Test the URI-altname cert.
2962
2963 * test/openssl.conf, test/makekeys.sh: Create new test certs.
2964
2965 ------------------------------------------------------------------------
2966 r1175 | joe | 2007-07-02 17:17:32 +0100 (Mon, 02 Jul 2007) | 3 lines
2967
2968 * src/ne_request.c, src/ne_redirect.c, src/ne_basic.c: Update error
2969 messages to omit trailing period.
2970
2971 ------------------------------------------------------------------------
2972 r1174 | joe | 2007-07-02 17:15:37 +0100 (Mon, 02 Jul 2007) | 3 lines
2973
2974 * test/xml.c (parse_match): Give descriptive failures.
2975 (fail_parse): Enable tests for ill-formed UTF-8.
2976
2977 ------------------------------------------------------------------------
2978 r1173 | joe | 2007-06-27 14:43:32 +0100 (Wed, 27 Jun 2007) | 3 lines
2979
2980 * src/ne_gnutls.c (ne_ssl_clicert_read): Update code/comment on
2981 friendly_name handling in encrypted c.certs.
2982
2983 ------------------------------------------------------------------------
2984 r1172 | joe | 2007-06-27 14:40:07 +0100 (Wed, 27 Jun 2007) | 3 lines
2985
2986 * src/ne_gnutls.c (pkcs12_parse, ne_ssl_clicert_read): Remove
2987 now-redundant code on encrypted-cert path.
2988
2989 ------------------------------------------------------------------------
2990 r1171 | joe | 2007-06-27 14:39:10 +0100 (Wed, 27 Jun 2007) | 3 lines
2991
2992 * src/ne_gnutls.c (pkcs12_parse, ne_ssl_clicert_read): Fix handling of
2993 PKCS#12 client certs with zero-length password.
2994
2995 ------------------------------------------------------------------------
2996 r1170 | joe | 2007-06-27 14:03:53 +0100 (Wed, 27 Jun 2007) | 7 lines
2997
2998 * macros/neon.m4 (NEON_SSL): Check for gnutls_x509_dn_get_rdn_ava and
2999 iconv.
3000
3001 * src/ne_gnutls.c [HAVE_GNUTLS_X509_DN_GET_RDN_AVA]
3002 (convert_dirstring, append_dirstring, ne_ssl_readable_dname):
3003 Implement better RDN handling using GnuTLS 1.7.x interfaces.
3004
3005 ------------------------------------------------------------------------
3006 r1169 | joe | 2007-06-17 22:20:30 +0100 (Sun, 17 Jun 2007) | 2 lines
3007
3008 * doc/ref/alloc.xml: Fix prototype, thanks to Joshua Swink.
3009
3010 ------------------------------------------------------------------------
3011 r1165 | joe | 2007-04-03 21:25:13 +0100 (Tue, 03 Apr 2007) | 5 lines
3012
3013 * src/ne_request.c (proxy_tunnel): Pass back error string and code for
3014 CONNECT failure.
3015
3016 * test/ssl.c (auth_tunnel_fail): Add regression test for above.
3017
3018 ------------------------------------------------------------------------
3019 r1164 | joe | 2007-02-26 17:04:19 +0000 (Mon, 26 Feb 2007) | 3 lines
3020
3021 * Makefile.in (install-nls-yes): Fix for VPATH builds, patch from Hans
3022 Meine.
3023
3024 ------------------------------------------------------------------------
3025 r1162 | joe | 2007-02-08 09:45:10 +0000 (Thu, 08 Feb 2007) | 2 lines
3026
3027 * config.hw.in: Define NE_FMT_NE_OFF_T.
3028
3029 ------------------------------------------------------------------------
3030 r1161 | joe | 2007-02-07 17:45:05 +0000 (Wed, 07 Feb 2007) | 4 lines
3031
3032 * src/ne_auth.c (ah_post_send): Fix for SSPI to avoid invoking the
3033 NULL response header verification callback (patch from
3034 [email protected]).
3035
3036 ------------------------------------------------------------------------
3037 r1160 | joe | 2007-02-07 17:38:50 +0000 (Wed, 07 Feb 2007) | 2 lines
3038
3039 * src/ne_auth.c: Update comment.
3040
3041 ------------------------------------------------------------------------
3042 r1159 | joe | 2007-02-07 17:36:25 +0000 (Wed, 07 Feb 2007) | 7 lines
3043
3044 * src/ne_string.c (ne_strerror): Handle failure cases for POSIX-style
3045 strerror_r; always use a temp buffer and copy back to truncate rather
3046 than fail for a short input buffer.
3047
3048 * test/string-tests.c (str_errors): Test for handling of bogus errno
3049 values into too-short buffer.
3050
3051 ------------------------------------------------------------------------
3052 r1158 | joe | 2007-02-06 12:46:23 +0000 (Tue, 06 Feb 2007) | 3 lines
3053
3054 * test/util-tests.c (digest_md5, md5): Meet alignment requirement of
3055 MD5 API.
3056
3057 ------------------------------------------------------------------------
3058 r1156 | joe | 2007-02-05 14:10:27 +0000 (Mon, 05 Feb 2007) | 3 lines
3059
3060 * src/ne_socket.c (write_raw): Work around QNX issue passing large
3061 buffers to send() over loopback; send 8K at a time.
3062
3063 ------------------------------------------------------------------------
3064 r1155 | joe | 2007-02-05 13:11:00 +0000 (Mon, 05 Feb 2007) | 4 lines
3065
3066 * src/ne_auth.c (verify_negotiate_response): Fix comparison
3067 of Negotiate response header token, and set error message
3068 on failure.
3069
3070 ------------------------------------------------------------------------
3071 r1154 | joe | 2007-02-05 13:07:09 +0000 (Mon, 05 Feb 2007) | 3 lines
3072
3073 * src/ne_auth.c (ah_pre_send): Set request idempotent flag
3074 for SSPI to prevent connection closure.
3075
3076 ------------------------------------------------------------------------
3077 r1153 | joe | 2007-02-05 10:09:27 +0000 (Mon, 05 Feb 2007) | 2 lines
3078
3079 * src/ne_locks.c (lk_pre_send): Terminate If header with CRLF not LF.
3080
3081 ------------------------------------------------------------------------
3082 r1152 | joe | 2007-01-26 00:00:59 +0000 (Fri, 26 Jan 2007) | 5 lines
3083
3084 Build fixes for SSPI code on MingW from Gisle Vanem:
3085
3086 * src/ne_sspi.c: Define SECURITY_ENTRYPOINT if missing.
3087 (base64ToBuffer): Fix cast.
3088
3089 ------------------------------------------------------------------------
3090 r1132 | joe | 2007-01-11 22:12:58 +0000 (Thu, 11 Jan 2007) | 13 lines
3091
3092 Fix 0.26.x regression; ensure the "attempt" counter passed to creds
3093 callbacks reflects the number of invocation of that callback only per
3094 request:
3095
3096 * src/ne_auth.c (struct auth_handler): Add attempt field.
3097 (get_credentials): Use per-handler attempt counter and post-increment
3098 same.
3099 (ah_create): Reset per-request attempt counters.
3100 (auth_register): Initialize attempt counter.
3101
3102 * test/auth.c (fail_challenge): Add test for attempt handling
3103 regression.
3104
3105 ------------------------------------------------------------------------
3106 r1131 | joe | 2007-01-11 21:33:14 +0000 (Thu, 11 Jan 2007) | 5 lines
3107
3108 * src/ne_uri.c (uri_lookup): Fix cast to prevent buffer under-read on
3109 non-ASCII characters (CVE-2007-0157, Laszlo Boszormenyi).
3110
3111 * test/uri-tests.c (parse): Add test case.
3112
3113 ------------------------------------------------------------------------
3114 r1130 | joe | 2007-01-09 11:24:54 +0000 (Tue, 09 Jan 2007) | 2 lines
3115
3116 * src/ne_auth.c (digest_challenge): Fix comment.
3117
3118 ------------------------------------------------------------------------
3119 r1129 | joe | 2007-01-06 14:27:18 +0000 (Sat, 06 Jan 2007) | 10 lines
3120
3121 * src/ne_auth.c (digest_challenge): Fix to fail correctly for invalid
3122 case where stale=true is given with an initial challenge; fix to not
3123 leak sess->nonce for a valid stale challenge.
3124
3125 * test/auth.c (struct digest_parms): Add stale field, enum value.
3126 (make_digest_header): Send stale=true as appropriate.
3127 (serve_digest): Adjust to serve challenges with stale=true.
3128 (digest): Add test for stale=true handling.
3129 (digest_failures): Add test for error stale=true failure case.
3130
3131 ------------------------------------------------------------------------
3132 r1128 | joe | 2007-01-05 11:07:32 +0000 (Fri, 05 Jan 2007) | 3 lines
3133
3134 * src/ne_request.c (ne_begin_request): Move call to lookup_host from here...
3135 (open_connection): ...to here; and simplify slightly as a result.
3136
3137 ------------------------------------------------------------------------
3138 r1126 | joe | 2007-01-04 18:44:49 +0000 (Thu, 04 Jan 2007) | 13 lines
3139
3140 Fix nextnonce handling in Digest auth:
3141
3142 * src/ne_auth.c (verify_digest_response): Reset nonce-count on receipt
3143 of next-nonce parameter in A-I response header.
3144
3145 * test/auth.c (struct digest_parms): Add send_nextnonce, num_requests
3146 fields.
3147 (make_authinfo_header): Invent new nonce if send_nextnonce field is
3148 set.
3149 (serve_digest, test_digest): Handle num_requests requests.
3150 (digest): Set new parameter fields; test for next-nonce handling.
3151 (digest_failure): Set new paramater fields.
3152
3153 ------------------------------------------------------------------------
3154 r1125 | joe | 2007-01-04 18:08:52 +0000 (Thu, 04 Jan 2007) | 3 lines
3155
3156 * test/auth.c (make_authinfo_header, digest_failures): Add test for
3157 failure to parse the nc paramater in an A-I response header.
3158
3159 ------------------------------------------------------------------------
3160 r1124 | joe | 2007-01-03 22:13:05 +0000 (Wed, 03 Jan 2007) | 18 lines
3161
3162 Give descriptive error messages for multiple-challenge authentication
3163 failures:
3164
3165 * src/ne_auth.c (struct auth_class): Add error_noauth field.
3166 (struct auth_protocol): Pass errmsg buffers to challenge callback;
3167 specify error message location for verify callback.
3168 (challenge_error): New function.
3169 (get_credentials, basic_challenge, continue_negotiate,
3170 negotiate_challenge, digest_challenge): Take errmsg buffer; use
3171 challenge_error on failure.
3172 (verify_negotiate_response): Create errmsg buffer, pass to
3173 continue_negotiate, and set session error string on failure.
3174 (auth_challenge): Create error buffer and build error message during
3175 challenge parsing.
3176
3177 * test/auth.c (digest_failures): Adjust for new error string.
3178 (fail_cb, fail_challenge): Add tests for challenge parse failures.
3179
3180 ------------------------------------------------------------------------
3181 r1123 | joe | 2006-12-29 23:34:09 +0000 (Fri, 29 Dec 2006) | 2 lines
3182
3183 * test/socket.c (connect_timeout): Remove redundant code.
3184
3185 ------------------------------------------------------------------------
3186 r1121 | joe | 2006-12-28 23:41:31 +0000 (Thu, 28 Dec 2006) | 3 lines
3187
3188 * src/ne_session.h (ne_ssl_set_clicert, ne_ssl_trust_cert): Clarify
3189 lack of lifetime requirement for passed-in objects.
3190
3191 ------------------------------------------------------------------------
3192 r1120 | joe | 2006-12-28 23:19:57 +0000 (Thu, 28 Dec 2006) | 2 lines
3193
3194 * TODO: Remove features already added.
3195
3196 ------------------------------------------------------------------------
3197 r1119 | joe | 2006-12-28 23:12:18 +0000 (Thu, 28 Dec 2006) | 27 lines
3198
3199 Add support for configurable socket connect timeouts:
3200
3201 * src/ne_socket.h (ne_sock_connect_timeout): New function.
3202 (ne_sock_connect): Clarify timeout handling.
3203
3204 * src/ne_socket.c: Define USE_NONBLOCKING_CONNECT if appropriate.
3205 Define NE_ISINPROGRESS.
3206 (struct ne_socket_s): Add cotimeout field.
3207 (timed_connect): New function.
3208 (connect_socket): Renamed from raw_connect; use timed_connect; takes
3209 socket structure and sets ->error string on failure.
3210 (ne_sock_connect): Adapt to use connect_socket.
3211 (ne_sock_connect_timeout): New function.
3212
3213 * src/ne_private.h (struct ne_session_s): Add cotimeout field.
3214
3215 * src/ne_session.h (ne_set_connect_timeout): New prototype...
3216
3217 * src/ne_session.c (ne_set_connect_timeout): ...implement it.
3218
3219 * src/ne_request.c (do_connect): Set socket timeout if appropriate.
3220
3221 * macros/neon.m4 (LIBNEON_SOURCE_CHECKS): Check for fcntl, getsockopt,
3222 fcntl.h and socklen_t.
3223
3224 * test/socket.c (connect_timeout): Add test (disabled by default).
3225
3226 ------------------------------------------------------------------------
3227 r1118 | joe | 2006-12-28 23:04:28 +0000 (Thu, 28 Dec 2006) | 3 lines
3228
3229 * src/ne_socket.c (raw_poll): Factor out from readable_raw.
3230 (readable_raw): Use it.
3231
3232 ------------------------------------------------------------------------
3233 r1109 | joe | 2006-12-28 17:20:56 +0000 (Thu, 28 Dec 2006) | 5 lines
3234
3235 Merge r1106 from 0.25.x branch:
3236
3237 * macros/neon-test.m4 (NE_FORMAT_TIMET): Factor out.
3238 (NEON_TEST): Use it.
3239
3240 ------------------------------------------------------------------------
3241 r1104 | joe | 2006-11-30 13:03:34 +0000 (Thu, 30 Nov 2006) | 3 lines
3242
3243 * test/request.c (fail_double_lookup, proxy_no_resolve): Use hostname
3244 in the .invalid TLD, reserved by RFC2606.
3245
3246 ------------------------------------------------------------------------
3247 r1103 | joe | 2006-11-08 13:41:10 +0000 (Wed, 08 Nov 2006) | 3 lines
3248
3249 * test/socket.c (write_reset): Warn rather than fail for a failure
3250 to elicit an RST.
3251
3252 ------------------------------------------------------------------------
3253 r1102 | joe | 2006-10-31 10:35:38 +0000 (Tue, 31 Oct 2006) | 2 lines
3254
3255 Note the reports about a GSSAPI problem.
3256
3257 ------------------------------------------------------------------------
3258 r1098 | joe | 2006-10-30 12:35:21 +0000 (Mon, 30 Oct 2006) | 7 lines
3259
3260 Fix real cause of h_errno problem on HP-UX (Albert Chin):
3261
3262 * macros/neon.m4: Drop _XOPEN_SOURCE_EXTENDED definition for
3263 HP-UX.
3264
3265 * src/ne_socket.c: Use HAVE_DECL_H_ERRNO macro correctly.
3266
3267 ------------------------------------------------------------------------
3268 r1097 | joe | 2006-10-30 12:33:34 +0000 (Mon, 30 Oct 2006) | 2 lines
3269
3270 * src/ne_session.h: Remove trailing comma from new enum (Albert Chin).
3271
3272 ------------------------------------------------------------------------
3273 r1096 | joe | 2006-10-30 12:32:45 +0000 (Mon, 30 Oct 2006) | 2 lines
3274
3275 * src/ne_session.h: Docs clarification for new notification interface.
3276
3277 ------------------------------------------------------------------------
3278 r1095 | joe | 2006-10-24 21:32:50 +0100 (Tue, 24 Oct 2006) | 3 lines
3279
3280 * test/request.c (s_progress): Fix to use ne_off_t types and format
3281 strings.
3282
3283 ------------------------------------------------------------------------
3284 r1094 | joe | 2006-10-24 21:26:15 +0100 (Tue, 24 Oct 2006) | 20 lines
3285
3286 Add add new type-safer notification/status API:
3287
3288 * src/ne_session.h (ne_notify_status): Redefine callback type,
3289 passing pointer to ne_session_status_info structure.
3290
3291 * src/ne_request.c (notify_status): Invoke notify callback, and
3292 progress callback as appropriate.
3293 (send_request_body, ne_read_response_block, lookup_host,
3294 ne_begin_request, do_connect): Adjust to set up and invoke
3295 the notify callback.
3296
3297 * src/ne_openssl.c (ne__negotiate_ssl): Drop notify callback
3298 invocation.
3299
3300 * src/ne_private.h (struct ne_session_s): Store status union.
3301
3302 * macros/neon.m4: Define NE_FMT_NE_OFF_T.
3303
3304 * test/request.c (status_cb, status): Add new test.
3305
3306 ------------------------------------------------------------------------
3307 r1093 | joe | 2006-10-24 20:45:01 +0100 (Tue, 24 Oct 2006) | 3 lines
3308
3309 * src/ne_auth.c (ah_post_send): Correctly test ->flags against
3310 AUTH_FLAG_VERIFY_NON40x flag.
3311
3312 ------------------------------------------------------------------------
3313 r1092 | joe | 2006-10-24 20:40:09 +0100 (Tue, 24 Oct 2006) | 26 lines
3314
3315 Simplify LFS support, drop *64 transition functions:
3316
3317 * src/ne_defs.h: Add ne_off_t typedef.
3318
3319 * src/ne_request.h (ne_set_request_body_fd64,
3320 ne_set_request_body_provider64): Removed.
3321
3322 (ne_set_request_body_fd, ne_set_request_body_provider):
3323 Take ne_off_t arguments.
3324
3325 * src/ne_internal.h: Move LFS definitions here...
3326
3327 * src/ne_request.c: ...from here.
3328 (ne_set_request_body_fd64, ne_set_request_body_provider64): Removed.
3329 (ne_set_request_body_fd, ne_set_request_body_provider): Adjust for
3330 ne_off_t arguments.
3331
3332 * src/ne_basic.h (ne_get_range64): Removed prototype.
3333 (ne_content_range): Use ne_off_t offsets.
3334
3335 * src/ne_basic.c (ne_get_range64): Removed function.
3336 (ne_get_range): Adjust for ne_off_t offsets.
3337
3338 * test/largefile.c (send_high_offset, read_large_response): Adjust to
3339 use normal interfaces. Save and restore debug mask.
3340
3341 ------------------------------------------------------------------------
3342 r1086 | joe | 2006-10-05 19:31:18 +0100 (Thu, 05 Oct 2006) | 9 lines
3343
3344 * macros/neon.m4 (NE_CHECK_OS): Split out from NE_OS_*. Conditionally
3345 add _XOPEN_SOURCE_EXTENDED=1 to CPPFLAGS for HP-UXes.
3346 (LIBNEON_SOURCE_CHECKS): Remove _XOPEN_SOURCE_EXTENDED definition
3347 here.
3348 (NE_OS_MINGW, NE_MACOSX): Removed.
3349 (NE_SEARCH_LIBS): Adjust for ne_cv_os_uname.
3350
3351 * src/ne_socket.c: Don't set _XOPEN_SOURCE_EXTENDED here.
3352
3353 ------------------------------------------------------------------------
3354 r1084 | joe | 2006-10-05 14:10:00 +0100 (Thu, 05 Oct 2006) | 7 lines
3355
3356 * test/makekeys.sh: Remove hostname-based munging for wildcard cert; always
3357 use *.example.com.
3358
3359 * test/ssl.c (tunnel_server): New function.
3360 (wildcard_match): Use a proxy to avoid using real hostnames.
3361 (wildcard_init): Removed function.
3362
3363 ------------------------------------------------------------------------
3364 r1080 | joe | 2006-10-05 13:33:33 +0100 (Thu, 05 Oct 2006) | 3 lines
3365
3366 * macros/neon.m4 (NEON_I18N): Really disable i18n if libintl.h is not
3367 detected.
3368
3369 ------------------------------------------------------------------------
3370 r1079 | joe | 2006-10-03 22:03:31 +0100 (Tue, 03 Oct 2006) | 2 lines
3371
3372 * test/request.c (fail_noheader): New regression test.
3373
3374 ------------------------------------------------------------------------
3375 r1078 | joe | 2006-10-03 21:31:28 +0100 (Tue, 03 Oct 2006) | 7 lines
3376
3377 Fix error reported for LOCK responses which lack a Lock-Token header:
3378
3379 * src/ne_locks.c (struct lock_ctx): Add parser pointer.
3380 (lk_startelm): Set XML parser error when failing parse.
3381 (ne_lock, ne_lock_refresh): Set parser in context; omit explicit XML
3382 parse error handling already done by ne_xml_dispatch_request.
3383
3384 ------------------------------------------------------------------------
3385 r1077 | joe | 2006-09-26 10:35:46 +0100 (Tue, 26 Sep 2006) | 14 lines
3386
3387 * src/ne_xmlreq.h (ne_xml_dispatch_request): Update API semantics to
3388 constrain media type of parsed responses.
3389
3390 * src/ne_xmlreq.c (media_type_is_xml): New function.
3391 (ne_xml_dispatch_request): Use it; only parse 2xx responses with XML
3392 media types.
3393
3394 * test/xmlreq.c (startelm): New function.
3395 (success): Check XML is actually parsed.
3396 (types): New test.
3397
3398 * test/lock.c (lock_timeout, lock_shared): Add content-type for XML
3399 responses.
3400
3401 ------------------------------------------------------------------------
3402 r1076 | joe | 2006-09-26 10:18:09 +0100 (Tue, 26 Sep 2006) | 2 lines
3403
3404 * src/ne_request.c (ne_begin_request): Remove redundant test.
3405
3406 ------------------------------------------------------------------------
3407 r1075 | joe | 2006-09-26 10:13:42 +0100 (Tue, 26 Sep 2006) | 18 lines
3408
3409 Add new hook which runs after the headers have been read:
3410
3411 * src/ne_request.h (ne_post_headers_fn, ne_hook_post_headers): Add
3412 type, prototype.
3413
3414 * src/ne_private.h (struct ne_session_s): Add post_headers_hooks
3415 field.
3416
3417 * src/ne_request.c (ne_begin_request): Run post_headers hooks.
3418
3419 * src/ne_session.c (ne_session_destroy): Destroy post_headers hooks.
3420 (ne_hook_post_headers, ne_unhook_post_headers): New functions.
3421
3422 * test/request.c (status_to_string): New function.
3423 (hook_post_send): Use it.
3424 (hook_post_headers): New function.
3425 (hooks): Test post_headers hook.
3426
3427 ------------------------------------------------------------------------
3428 r1073 | joe | 2006-09-13 18:38:32 +0100 (Wed, 13 Sep 2006) | 2 lines
3429
3430 * macros/neon.m4 (NE_OS_MINGW): Update comment, thanks to Matthias Miller.
3431
3432 ------------------------------------------------------------------------
3433 r1072 | joe | 2006-09-12 22:04:31 +0100 (Tue, 12 Sep 2006) | 7 lines
3434
3435 Fix library detection on MinGW, based on patch by Matthias Miller:
3436
3437 * macros/neon.m4 (NE_OS_MINGW): New macro.
3438 (NE_SEARCH_LIBS): Check for function using __stdcall calling convention if
3439 on MinGW and library to search is -lws2_32.
3440 (LIBNEON_SOURCE_CHECKS): Also check for gethostbyname in -lws2_32.
3441
3442 ------------------------------------------------------------------------
3443 r1071 | joe | 2006-09-12 21:54:17 +0100 (Tue, 12 Sep 2006) | 2 lines
3444
3445 * src/ne_uri.c (ne_path_lower): Avoid use of min() (Matthias Miller).
3446
3447 ------------------------------------------------------------------------
3448 r1070 | joe | 2006-09-12 19:51:28 +0100 (Tue, 12 Sep 2006) | 4 lines
3449
3450 * src/ne_acl.h (ne_acl_set): Take const entries array.
3451
3452 * src/ne_acl.c (ne_acl_set, acl_body): Likewise.
3453
3454 ------------------------------------------------------------------------
3455 r1069 | joe | 2006-09-12 18:38:57 +0100 (Tue, 12 Sep 2006) | 7 lines
3456
3457 Remove use of session-private interfaces in auth code:
3458
3459 * src/ne_auth.c: Drop ne_private.h #include.
3460 (sspi_challenge) [HAVE_SSPI]: Use ne_fill_server_uri.
3461 (auth_register) [HAVE_GSSAPI]: Use ne_fill_proxy_uri or
3462 ne_fill_server_uri.
3463
3464 ------------------------------------------------------------------------
3465 r1068 | joe | 2006-09-12 18:36:41 +0100 (Tue, 12 Sep 2006) | 10 lines
3466
3467 Update for bleeding-edge OpenSSL thread-safety interfaces:
3468
3469 * macros/neon.m4 (NEON_SSL): Check for CRYPTO_set_idptr_callback.
3470
3471 * src/ne_openssl.c (thread_id_neon): Update comments.
3472 (ID_CALLBACK_IS_OTHER, ID_CALLBACK_IS_NEON): New macros.
3473 (ne__ssl_init, ne__ssl_exit): Update to use avoid touching the
3474 "id" callback if the idptr interfaces exist, since the default
3475 will be sane.
3476
3477 ------------------------------------------------------------------------
3478 r1067 | joe | 2006-09-12 14:52:39 +0100 (Tue, 12 Sep 2006) | 2 lines
3479
3480 * src/ne_string.h (ne_strnzcpy): Avoid expanding argument twice.
3481
3482 ------------------------------------------------------------------------
3483 r1065 | joe | 2006-09-05 08:39:48 +0100 (Tue, 05 Sep 2006) | 4 lines
3484
3485 * src/ne_string.c (ascii_tolower): Use integer constants rather than
3486 character constants to fix warnings with Sun cc; patch from Peter
3487 O'Gorman.
3488
3489 ------------------------------------------------------------------------
3490 r1064 | joe | 2006-08-09 15:56:04 +0100 (Wed, 09 Aug 2006) | 2 lines
3491
3492 * config.hw.in: Fixes for newer SDKs; patch from Kiyo Kelvin Lee.
3493
3494 ------------------------------------------------------------------------
3495 r1063 | joe | 2006-08-09 15:54:51 +0100 (Wed, 09 Aug 2006) | 2 lines
3496
3497 * src/ne_sspi.c (resetContext): Fix build with older SDKs.
3498
3499 ------------------------------------------------------------------------
3500 r1062 | joe | 2006-08-09 15:49:12 +0100 (Wed, 09 Aug 2006) | 3 lines
3501
3502 * src/ne_sspi.c (ne_sspi_clear_context): Add missing return statement;
3503 patch from Kiyo Kelvin Lee.
3504
3505 ------------------------------------------------------------------------
3506 r1058 | joe | 2006-07-17 12:52:11 +0100 (Mon, 17 Jul 2006) | 2 lines
3507
3508 * config.hw.in: Enable debugging for Win32 build.
3509
3510 ------------------------------------------------------------------------
3511 r1057 | joe | 2006-06-29 16:02:03 +0100 (Thu, 29 Jun 2006) | 7 lines
3512
3513 * src/ne_session.h (ne_fill_proxy_uri): New prototype.
3514 (ne_fill_server_uri): Clarify.
3515
3516 * src/ne_session.c (ne_fill_proxy_uri): New function.
3517
3518 * test/session.c (fill_proxy_uri): New test.
3519
3520 ------------------------------------------------------------------------
3521 r1056 | joe | 2006-06-29 15:44:37 +0100 (Thu, 29 Jun 2006) | 2 lines
3522
3523 * src/ne_auth.c (auth_session): Remove unused fields.
3524
3525 ------------------------------------------------------------------------
3526 r1055 | joe | 2006-06-26 12:25:20 +0100 (Mon, 26 Jun 2006) | 3 lines
3527
3528 * src/ne_openssl.c (ne__ssl_init): Call CRYPTO_malloc_init() first per
3529 dev@apr discussion.
3530
3531 ------------------------------------------------------------------------
3532 r1054 | joe | 2006-06-26 11:01:29 +0100 (Mon, 26 Jun 2006) | 4 lines
3533
3534 * configure.in: Substitute NEON_PC_LIBS for neon.pc.
3535
3536 * neon.pc.in: Define Libs.Private; use only NEON_PC_LIBS in Libs.
3537
3538 ------------------------------------------------------------------------
3539 r1049 | joe | 2006-05-23 21:17:41 +0100 (Tue, 23 May 2006) | 6 lines
3540
3541 Readonly data fixes from Benoît Dejean:
3542
3543 * src/ne_xml.c (empty_atts): Mark more const.
3544
3545 * src/ne_dates.c (rfc1123_weekdays, short_months): Mark more const.
3546
3547 ------------------------------------------------------------------------
3548 r1046 | joe | 2006-05-11 10:43:43 +0100 (Thu, 11 May 2006) | 1 line
3549
3550 * po/: make update-po.
3551 ------------------------------------------------------------------------
3552 r1045 | joe | 2006-05-11 10:41:55 +0100 (Thu, 11 May 2006) | 3 lines
3553
3554 * configure.in, po/zh.po: Add Simplified Chinese translation, from Dongsheng
3555 Song.
3556
3557 ------------------------------------------------------------------------
3558 r1044 | joe | 2006-05-09 08:02:43 +0100 (Tue, 09 May 2006) | 6 lines
3559
3560 Win32 build fixes from D.J. Heap:
3561
3562 * src/ne_auth.c: Move protocols[] array declaration up, remove
3563 forward-declaration.
3564 (request_sspi): Fix declaration.
3565
3566 ------------------------------------------------------------------------
3567 r1020 | joe | 2006-03-24 12:24:39 +0000 (Fri, 24 Mar 2006) | 2 lines
3568
3569 * test/run.sh: Don't limit virtual memory use.
3570
3571 ------------------------------------------------------------------------
3572 r1016 | joe | 2006-03-14 16:57:43 +0000 (Tue, 14 Mar 2006) | 3 lines
3573
3574 * macros/neon.m4 (LIBNEON_SOURCE_CHECKS): Make the timezone test match
3575 the code; fix OS X build.
3576
3577 ------------------------------------------------------------------------
3578 r1004 | joe | 2006-03-11 18:51:51 +0000 (Sat, 11 Mar 2006) | 2 lines
3579
3580 * po/: make update-po.
3581
3582 ------------------------------------------------------------------------
3583 r1003 | joe | 2006-03-11 18:49:46 +0000 (Sat, 11 Mar 2006) | 18 lines
3584
3585 * macros/neon.m4: Bump to 0.26.0.
3586
3587 * NEWS: Final updates.* macros/neon.m4: Bump to 0.26.0.
3588
3589 * NEWS: Final updates.* macros/neon.m4: Bump to 0.26.0.
3590
3591 * NEWS: Final updates.* macros/neon.m4: Bump to 0.26.0.
3592
3593 * NEWS: Final updates.* macros/neon.m4: Bump to 0.26.0.
3594
3595 * NEWS: Final updates.* macros/neon.m4: Bump to 0.26.0.
3596
3597 * NEWS: Final updates.* macros/neon.m4: Bump to 0.26.0.
3598
3599 * NEWS: Final updates.* macros/neon.m4: Bump to 0.26.0.
3600
3601 * NEWS: Final updates.
3602
3603 ------------------------------------------------------------------------
3604 r1002 | joe | 2006-03-11 18:46:05 +0000 (Sat, 11 Mar 2006) | 2 lines
3605
3606 * README, AUTHORS: Update copyright info.
3607
3608 ------------------------------------------------------------------------
3609 r1001 | joe | 2006-03-11 18:44:14 +0000 (Sat, 11 Mar 2006) | 4 lines
3610
3611 * doc/manual.xml: s/GFDL/GPL/ for Debian policy compliance.
3612
3613 * doc/fdl.sgml: Removed.
3614
3615 ------------------------------------------------------------------------
3616 r999 | joe | 2006-03-10 10:45:03 +0000 (Fri, 10 Mar 2006) | 2 lines
3617
3618 * test/lock.c (fail_lockauth): Use many_serve_string.
3619
3620 ------------------------------------------------------------------------
3621 r998 | joe | 2006-03-10 10:23:54 +0000 (Fri, 10 Mar 2006) | 2 lines
3622
3623 * doc/ref/neon.xml: Fix typo.
3624
3625 ------------------------------------------------------------------------
3626 r996 | joe | 2006-03-08 10:30:07 +0000 (Wed, 08 Mar 2006) | 3 lines
3627
3628 * src/ne_auth.c (ah_post_send): Remove strdup which is now
3629 unnecessary.
3630
3631 ------------------------------------------------------------------------
3632 r995 | joe | 2006-03-08 10:22:18 +0000 (Wed, 08 Mar 2006) | 3 lines
3633
3634 * src/ne_auth.c (negotiate_challenge): Renamed from gssapi_challenge.
3635 (request_negotiate): Renamed from request_gssapi.
3636
3637 ------------------------------------------------------------------------
3638 r994 | joe | 2006-03-07 21:38:21 +0000 (Tue, 07 Mar 2006) | 7 lines
3639
3640 * src/ne_private.h (struct ne_session_s): Remove use of bitfields.
3641
3642 * src/ne_auth.c (struct auth_session_s): Likewise.
3643
3644 * src/ne_request.c (struct body_reader, struct ne_request_s):
3645 Likewise.
3646
3647 ------------------------------------------------------------------------
3648 r993 | joe | 2006-03-07 21:29:19 +0000 (Tue, 07 Mar 2006) | 3 lines
3649
3650 * src/ne_basic.c (ne_put) [NE_LFS]: Use ne_set_request_body_fd64,
3651 fstat64.
3652
3653 ------------------------------------------------------------------------
3654 r992 | joe | 2006-03-07 21:25:41 +0000 (Tue, 07 Mar 2006) | 6 lines
3655
3656 * src/ne_basic.h (ne_get_range64): Add prototype.
3657
3658 * src/ne_basic.c (get_range_common): Factored out from ne_get_range.
3659 (ne_get_range): Use get_range_common.
3660 (ne_get_range64): Implement.
3661
3662 ------------------------------------------------------------------------
3663 r991 | joe | 2006-03-07 09:47:07 +0000 (Tue, 07 Mar 2006) | 2 lines
3664
3665 * src/ne_request.c (read_status_line): Update comment.
3666
3667 ------------------------------------------------------------------------
3668 r990 | joe | 2006-03-07 09:36:43 +0000 (Tue, 07 Mar 2006) | 6 lines
3669
3670 * src/ne_utils.h (NE_FEATURE_I18N): Add macro.
3671
3672 * src/ne_utils.c (ne_has_support): Support NE_FEATURE_I18N.
3673
3674 * test/util-tests.c (support): Test for NE_FEATURE_I18N.
3675
3676 ------------------------------------------------------------------------
3677 r989 | joe | 2006-03-07 09:34:43 +0000 (Tue, 07 Mar 2006) | 2 lines
3678
3679 * src/ne_session.h: Fix typo.
3680
3681 ------------------------------------------------------------------------
3682 r980 | joe | 2006-03-01 20:31:52 +0000 (Wed, 01 Mar 2006) | 4 lines
3683
3684 * src/ne_basic.c (dispatch_to_fd): Fix ne_get() regression.
3685
3686 * test/basic.c (get): Add test case.
3687
3688 ------------------------------------------------------------------------
3689 r979 | joe | 2006-03-01 20:04:06 +0000 (Wed, 01 Mar 2006) | 4 lines
3690
3691 * src/ne_basic.c (dispatch_to_fd): Fix content-range parsing.
3692
3693 * test/basic.c (get_range, fail_range_*): Fix test cases.
3694
3695 ------------------------------------------------------------------------
3696 r978 | joe | 2006-03-01 19:53:59 +0000 (Wed, 01 Mar 2006) | 4 lines
3697
3698 * src/ne_uri.c (URI_ESCAPE): Do path-escape "%".
3699
3700 * test/uri-tests.c (escapes): Add test cases.
3701
3702 ------------------------------------------------------------------------
3703 r976 | joe | 2006-03-01 18:53:30 +0000 (Wed, 01 Mar 2006) | 3 lines
3704
3705 * Makefile.in (update-po): Send output to /dev/null when checking
3706 format strings.
3707
3708 ------------------------------------------------------------------------
3709 r975 | joe | 2006-03-01 17:59:02 +0000 (Wed, 01 Mar 2006) | 2 lines
3710
3711 * po/: make update-po.
3712
3713 ------------------------------------------------------------------------
3714 r974 | joe | 2006-03-01 17:57:45 +0000 (Wed, 01 Mar 2006) | 2 lines
3715
3716 Clarify remaining GnuTLS issues.
3717
3718 ------------------------------------------------------------------------
3719 r973 | joe | 2006-03-01 17:49:53 +0000 (Wed, 01 Mar 2006) | 3 lines
3720
3721 * macros/neon.m4 (NEON_USE_EXTERNAL): Check for TS_SSL feature.
3722 (NEON_SSL): Disable TS_SSL feature for non-SSL builds.
3723
3724 ------------------------------------------------------------------------
3725 r972 | joe | 2006-03-01 17:45:02 +0000 (Wed, 01 Mar 2006) | 3 lines
3726
3727 * src/ne_session.c (ne_ssl_cert_validity): Handle
3728 ne_ssl_cert_validity_time()'s error cases.
3729
3730 ------------------------------------------------------------------------
3731 r971 | joe | 2006-03-01 17:40:44 +0000 (Wed, 01 Mar 2006) | 2 lines
3732
3733 Document changes for 0.26.0.
3734
3735 ------------------------------------------------------------------------
3736 r970 | joe | 2006-03-01 17:28:58 +0000 (Wed, 01 Mar 2006) | 23 lines
3737
3738 Move to opaque MD5 context, avoiding exposure of md5_uint32 type:
3739
3740 * src/ne_md5.h: Make struct ne_md5_ctx opaque. (ne_md5_create_ctx,
3741 ne_md5_reset_ctx, ne_md5_destroy_ctx): New prototypes.
3742 (ne_md5_init_ctx): Removed prototype.
3743
3744 * src/ne_md5.c: Add struct ne_md5_ctx definition; use simpler
3745 autoconf-based md5_uint32 definition.
3746 (ne_md5_create_ctx, ne_md5_destroy_ctx, ne_md5_reset_ctx): New
3747 functions.
3748 (ne_md5_init_ctx): Make static.
3749
3750 * src/ne_auth.c (auth_session): Store a pointer to the MD5 context.
3751 (clean_session): Destroy stored MD5 context if necessary.
3752 (get_cnonce, digest_challenge, request_digest, verify_digest_response):
3753 Adjust to use opaque context constructor/destructor.
3754
3755 * test/auth.c (make_digest): Adjust likewise.
3756
3757 * test/util-test.c (digest_md5, md5_alignment): Adjust likewise.
3758
3759 * config.hw.in: Define SIZEOF_INT, SIZEOF_LONG.
3760
3761 ------------------------------------------------------------------------
3762 r969 | joe | 2006-02-28 22:37:49 +0000 (Tue, 28 Feb 2006) | 2 lines
3763
3764 * src/ne_md5.h: Remove support for non-C89 prototypes.
3765
3766 ------------------------------------------------------------------------
3767 r968 | joe | 2006-02-28 22:27:11 +0000 (Tue, 28 Feb 2006) | 20 lines
3768
3769 Formalize the date formatting by ne_ssl_cert_validity and add
3770 ne_ssl_cert_validity_time, which is better for i18n:
3771
3772 * src/ne_ssl.h (ne_ssl_cert_validity): Adopt a fixed format for
3773 returned date.
3774 (ne_ssl_cert_validity_time): New prototype.
3775
3776 * src/ne_openssl.c (asn1time_to_timet, ne_ssl_cert_validity_time): New
3777 functions.
3778
3779 * src/ne_gnutls.c (ne_ssl_cert_validity_time): New function.
3780
3781 * src/ne_session.c (ne_ssl_cert_validity): New function.
3782
3783 * src/ne_stubssl.c (ne_ssl_cert_validity_time): New stub.
3784
3785 * test/ssl.c (cert_validity): Adjust for new date formatting.
3786
3787 * macros/neon.m4 (LIBNEON_SOURCE_CHECKS): Check for timezone global.
3788
3789 ------------------------------------------------------------------------
3790 r967 | joe | 2006-02-28 16:26:32 +0000 (Tue, 28 Feb 2006) | 10 lines
3791
3792 Avoid most issues with misaligned md5 result buffers:
3793
3794 * src/ne_md5.c (ne_md5_finish_ascii): New function.
3795
3796 * src/ne_md5.h (ne_md5_finish_ascii): Add prototype.
3797
3798 * src/ne_auth.c (get_cnonce, digest_challenge, request_digest,
3799 verify_digest_response): Use ne_md5_finish_ascii in place of
3800 ne_md5_finish_ctx/ne_md5_to_ascii.
3801
3802 ------------------------------------------------------------------------
3803 r965 | joe | 2006-02-27 18:12:31 +0000 (Mon, 27 Feb 2006) | 2 lines
3804
3805 * doc/manual.xml: Include the ne_i18n_init refentry.
3806
3807 ------------------------------------------------------------------------
3808 r964 | joe | 2006-02-27 18:11:31 +0000 (Mon, 27 Feb 2006) | 5 lines
3809
3810 * doc/ref/i18n.xml: New file.
3811
3812 * doc/ref/init.xml, doc/ref/neon.xml: More process-global
3813 initialization stuff.
3814
3815 ------------------------------------------------------------------------
3816 r963 | joe | 2006-02-27 17:43:42 +0000 (Mon, 27 Feb 2006) | 2 lines
3817
3818 * src/ne_props.c (ne_propfind_create): Use ne_buffer_czappend.
3819
3820 ------------------------------------------------------------------------
3821 r962 | joe | 2006-02-27 17:30:26 +0000 (Mon, 27 Feb 2006) | 2 lines
3822
3823 * doc/ref/feat.xml: Fix id, use an xref, improve text, add see also.
3824
3825 ------------------------------------------------------------------------
3826 r961 | joe | 2006-02-27 17:29:18 +0000 (Mon, 27 Feb 2006) | 2 lines
3827
3828 * doc/ref/reqbody.xml: Document ne_set_request_body_fd*.
3829
3830 ------------------------------------------------------------------------
3831 r960 | joe | 2006-02-27 17:28:34 +0000 (Mon, 27 Feb 2006) | 25 lines
3832
3833 Add destructor callback to PROPFIND interface to guarantee cleanup of
3834 memory allocated by the creator callback:
3835
3836 * src/ne_props.h (ne_propfind_set_private): Take destructor argument.
3837
3838 * src/ne_props.c (struct ne_propfind_handler_s): Add destructor field,
3839 rename private_creator to creator and private_userdata to cd_userdata.
3840 (start_response): Adjust for field renames.
3841 (free_propset): Take handler argument; call destructor if necessary.
3842 (end_response, ne_propfind_destroy): Pass handler to free_propset.
3843 (ne_propfind_set_private): Adjust for field renames, store destructor.
3844
3845 * src/ne_locks.c (discover_results): Don't destroy lock here.
3846 (ld_destroy): New function.
3847 (ne_lock_discover): Register the destructor.
3848
3849 * test/lock.c: Mark fail_discover as no-longer-expected-to-leak.
3850
3851 * test/props.c (diffcmp): Improve diagnostics.
3852 (pf_creator, pf_destructor): New functions.
3853 (run_propfind): Renamed from run_simple_propfind; enhanced to run
3854 non-simple PROPFIND requests too.
3855 (propfind): Renamed from pfind_simple; call run_propfind; test
3856 invocation of creator/destructor callbacks too.
3857
3858 ------------------------------------------------------------------------
3859 r959 | joe | 2006-02-27 11:36:54 +0000 (Mon, 27 Feb 2006) | 5 lines
3860
3861 * macros/neon.m4 (NEON_SSL): Don't define HAVE_PTHREADS.
3862
3863 * src/ne_gnutls.c, src/ne_openssl.c: Use NE_HAVE_TS_SSL feature macro
3864 in place of HAVE_PTHREADS.
3865
3866 ------------------------------------------------------------------------
3867 r958 | joe | 2006-02-27 11:33:53 +0000 (Mon, 27 Feb 2006) | 4 lines
3868
3869 * src/ne_openssl.c (thread_id_neon): Revert previous change (which is
3870 more portable, but less safe), and replace with a rant on why OpenSSL
3871 is completely broken.
3872
3873 ------------------------------------------------------------------------
3874 r957 | joe | 2006-02-27 11:17:40 +0000 (Mon, 27 Feb 2006) | 3 lines
3875
3876 * src/ne_openssl.c (thread_id_neon): Work regardless of whether
3877 pthread_t is a structure.
3878
3879 ------------------------------------------------------------------------
3880 r956 | joe | 2006-02-27 11:10:29 +0000 (Mon, 27 Feb 2006) | 2 lines
3881
3882 * src/ne_session.c (ne__ssl_set_verify_err): Make array static const.
3883
3884 ------------------------------------------------------------------------
3885 r955 | joe | 2006-02-27 10:41:21 +0000 (Mon, 27 Feb 2006) | 9 lines
3886
3887 * src/ne_session.c (ne__ssl_set_verify_err): Moved here...
3888
3889 * src/ne_openssl.c (verify_err): ... from here.
3890 (check_certificate): Use it.
3891
3892 * src/ne_gnutls.c (check_certificate): Use it on verification failure.
3893
3894 * src/ne_private.h (ne__ssl_set_verify_err): Add prototype.
3895
3896 ------------------------------------------------------------------------
3897 r954 | joe | 2006-02-26 20:59:08 +0000 (Sun, 26 Feb 2006) | 3 lines
3898
3899 * doc/ref/init.xml, doc/ref/neon.xml: Document thread-safe SSL
3900 handling.
3901
3902 ------------------------------------------------------------------------
3903 r953 | joe | 2006-02-26 20:55:43 +0000 (Sun, 26 Feb 2006) | 11 lines
3904
3905 * macros/neon.m4 (NEON_SSL): Define a feature macro for thread-safe
3906 SSL support.
3907
3908 * src/ne_utils.h: Add NE_FEATURE_TS_SSL feature code.
3909
3910 * src/ne_utils.c (ne_has_support): Support it (or... not).
3911
3912 * neon-config.in: Add feature code.
3913
3914 * test/util-tests.c (support): Test for it.
3915
3916 ------------------------------------------------------------------------
3917 r952 | joe | 2006-02-26 20:52:58 +0000 (Sun, 26 Feb 2006) | 4 lines
3918
3919 * doc/manual.xml: Add ne_has_support refentry.
3920
3921 * doc/ref/feat.xml: New document.
3922
3923 ------------------------------------------------------------------------
3924 r951 | joe | 2006-02-26 10:11:31 +0000 (Sun, 26 Feb 2006) | 3 lines
3925
3926 * test/request.c (hooks): Use many_serve_string to serve the three
3927 responses, to avoid spurious failures.
3928
3929 ------------------------------------------------------------------------
3930 r950 | joe | 2006-02-25 23:23:56 +0000 (Sat, 25 Feb 2006) | 3 lines
3931
3932 * test/Makefile.in: Add some missing dependencies on the "random
3933 file", NEWS.
3934
3935 ------------------------------------------------------------------------
3936 r949 | joe | 2006-02-25 23:17:45 +0000 (Sat, 25 Feb 2006) | 4 lines
3937
3938 * src/ne_basic.c (ne_post): Flag POST request as non-idempotent.
3939
3940 * src/ne_locks.c (ne_lock): Flag LOCK request as non-idempotent.
3941
3942 ------------------------------------------------------------------------
3943 r948 | joe | 2006-02-25 23:16:51 +0000 (Sat, 25 Feb 2006) | 3 lines
3944
3945 Interfaces to allow correct handling of non-idempotent
3946 requests done, and SSLv2-disabling done.
3947
3948 ------------------------------------------------------------------------
3949 r947 | joe | 2006-02-25 23:16:11 +0000 (Sat, 25 Feb 2006) | 17 lines
3950
3951 Add per-request flags interface, and correct retry handling of
3952 non-idempotent methods:
3953
3954 * src/ne_request.h (ne_set_request_flag, ne_get_request_flag): New
3955 prototypes.
3956 (ne_set_request_expect100): Remove prototype.
3957
3958 * src/ne_request.c (struct ne_request_s): Add flags array, remove
3959 use_expect100 field.
3960 (ne_set_request_flag, ne_get_request_flag): New functions.
3961 (ne_set_request_expect100): Remove function.
3962 (build_request, send_request): Adapt to use expect100 flag.
3963 (ne_begin_request): I
3964
3965 * test/request.c (expect_100_once, expect_100_nobody): Use
3966 ne_set_request_flag.
3967
3968 ------------------------------------------------------------------------
3969 r946 | joe | 2006-02-25 23:09:08 +0000 (Sat, 25 Feb 2006) | 3 lines
3970
3971 * src/ne_openssl.c (ne_ssl_context_set_flag): Fix to actually respect
3972 the flag setting.
3973
3974 ------------------------------------------------------------------------
3975 r945 | joe | 2006-02-25 16:29:54 +0000 (Sat, 25 Feb 2006) | 10 lines
3976
3977 Forward-port ICY protocol support from 0.25.x branch, conditional on
3978 NE_SESSFLAG_ICYPROTO.
3979
3980 * src/ne_session.h: Add NE_SESSFLAG_ICYPROTO flag.
3981
3982 * src/ne_request.c (read_status_line): Parse ICY responses if flag is
3983 set.
3984
3985 * test/request.c (icy_protocol): Add test case.
3986
3987 ------------------------------------------------------------------------
3988 r944 | joe | 2006-02-25 16:26:50 +0000 (Sat, 25 Feb 2006) | 17 lines
3989
3990 * src/ne_ssl.h (NE_SSL_CTX_SSLv2): New constant.
3991 (ne_ssl_context_set_flag): New prototype.
3992
3993 * src/ne_stubssl.c (ne_ssl_context_set_flag): New stub.
3994
3995 * src/ne_openssl.c (ne_ssl_context_set_flag): New function.
3996
3997 * src/ne_gnutls.c (ne_ssl_context_set_flag): New stub.
3998
3999 * src/ne_session.h: Add NE_SESSFLAG_SSLv2 flag (defaults to on).
4000
4001 * src/ne_session.c (ne_session_create) [NE_HAVE_SSL]: Set the
4002 NE_SESSFLAG_SSLv2 flag.
4003 (ne_set_session_flag) [NE_HAVE_SSL]: Call ne_ssl_context_set_flag.
4004
4005 * test/ssl.c (simple_sslv2): Enable SSLv2 support.
4006
4007 ------------------------------------------------------------------------
4008 r943 | joe | 2006-02-25 16:21:45 +0000 (Sat, 25 Feb 2006) | 19 lines
4009
4010 * src/ne_session.h (ne_set_session_flag): New enum.
4011 (ne_set_session_flag, ne_get_session_flag): New prototypes.
4012 (ne_set_persist): Removed prototype.
4013
4014 * src/ne_session.c (ne_set_session_flag, ne_get_session_flag): New
4015 functions.
4016 (ne_set_persist): Removed function.
4017
4018 * src/ne_private.h (ne_session): Replace no_persist field with flags
4019 array.
4020
4021 * src/ne_request.c (add_fixed_headers, ne_end_request): Use flags
4022 array.
4023 (ne_begin_request): Remove redunant check for no_persist flag;
4024 send_request() will only return NE_RETRY if a persistent connection
4025 was reused.
4026
4027 * test/session.c (flags): New test case.
4028
4029 ------------------------------------------------------------------------
4030 r942 | joe | 2006-02-25 15:02:25 +0000 (Sat, 25 Feb 2006) | 11 lines
4031
4032 Forward-port the compression-vs-retry fix by using the new ne_unhook_*
4033 functions:
4034
4035 * src/ne_compress.c (gz_pre_send): New function.
4036 (ne_decompress_reader): Don't initialize all context state here;
4037 register pre_send hook.
4038 (ne_decompress_destroy): Unregister hook; move function lower in
4039 module.
4040
4041 * test/compress.c: retry_compress is no longer XFAIL.
4042
4043 ------------------------------------------------------------------------
4044 r941 | joe | 2006-02-25 14:47:18 +0000 (Sat, 25 Feb 2006) | 2 lines
4045
4046 * src/ne_request.h: Clarify exactly what is unsafe.
4047
4048 ------------------------------------------------------------------------
4049 r940 | joe | 2006-02-25 14:45:09 +0000 (Sat, 25 Feb 2006) | 9 lines
4050
4051 * src/ne_request.h: Make behaviour undefined when unregistering hooks
4052 from a corresponding hook implementation, except for the
4053 destroy_request hook.
4054
4055 * src/ne_request.c (ne_request_destroy): Make safe against the hook
4056 list changing under foot.
4057
4058 * test/request.c (hook_self_destroy): New test.
4059
4060 ------------------------------------------------------------------------
4061 r939 | joe | 2006-02-25 14:10:05 +0000 (Sat, 25 Feb 2006) | 3 lines
4062
4063 * src/ne_request.c (send_request): Set error string to socket error if
4064 sending request header fails.
4065
4066 ------------------------------------------------------------------------
4067 r938 | joe | 2006-02-25 13:52:31 +0000 (Sat, 25 Feb 2006) | 7 lines
4068
4069 * src/ne_request.c (hash_and_lower, read_response_headers): Use
4070 ne_tolower.
4071
4072 * src/ne_string.h (NE_ASC2HEX): Use ne_tolower.
4073
4074 * src/ne_md5.c: Don't include ctype.h.
4075
4076 ------------------------------------------------------------------------
4077 r937 | joe | 2006-02-25 13:43:13 +0000 (Sat, 25 Feb 2006) | 4 lines
4078
4079 * src/ne_string.h (ne_tolower, ne_tolower_array): New macro, function.
4080
4081 * src/ne_string.c (ne_tolower_array): New function.
4082
4083 ------------------------------------------------------------------------
4084 r936 | joe | 2006-02-25 13:21:30 +0000 (Sat, 25 Feb 2006) | 3 lines
4085
4086 * src/ne_string.c (ascii_tolower, TOLOWER): Use array-based lowercase
4087 conversion.
4088
4089 ------------------------------------------------------------------------
4090 r931 | joe | 2006-02-21 17:29:00 +0000 (Tue, 21 Feb 2006) | 6 lines
4091
4092 * src/ne_locks.c (lk_pre_send, ne_lock): Use ne_buffer_czappend for
4093 constant strings; use "\n" not EOL macro.
4094
4095 * src/ne_props.c (set_body, ne_propfind_allprop, ne_propfind_named,
4096 ne_proppatch, ne_propfind_create, ne_propnames): Likewise.
4097
4098 ------------------------------------------------------------------------
4099 r930 | joe | 2006-02-21 17:18:05 +0000 (Tue, 21 Feb 2006) | 6 lines
4100
4101 * src/ne_request.h: Clarify what may be in the Request-URI passed to a
4102 create_request hook.
4103
4104 * BUGS: create_request hook URI handling has been well-defined for a
4105 while; bug was fixed.
4106
4107 ------------------------------------------------------------------------
4108 r929 | joe | 2006-02-20 22:48:45 +0000 (Mon, 20 Feb 2006) | 2 lines
4109
4110 * src/ne_session.c (remove_hook): Don't leak the hook structure.
4111
4112 ------------------------------------------------------------------------
4113 r928 | joe | 2006-02-20 22:46:32 +0000 (Mon, 20 Feb 2006) | 2 lines
4114
4115 * test/request.c (hooks): Improve hook coverage some more.
4116
4117 ------------------------------------------------------------------------
4118 r927 | joe | 2006-02-20 22:26:47 +0000 (Mon, 20 Feb 2006) | 9 lines
4119
4120 * src/ne_request.h (ne_unhook_pre_send, ne_unhook_post_send,
4121 ne_unhook_destroy_request, ne_unhook_destroy_session): Add prototypes.
4122
4123 * src/ne_session.c (remove_hook, ne_unhook_pre_send,
4124 ne_unhook_post_send, ne_unhook_destroy_request,
4125 ne_unhook_destroy_session): New functions.
4126
4127 * test/request.c (hooks): New test case.
4128
4129 ------------------------------------------------------------------------
4130 r926 | joe | 2006-02-20 21:55:55 +0000 (Mon, 20 Feb 2006) | 7 lines
4131
4132 * src/ne_session.c (add_hook, ne_hook_create_request,
4133 ne_hook_pre_send, ne_hook_post_send, ne_hook_destroy_request,
4134 ne_hook_destroy_session, ne_set_session_private): Moved here...
4135
4136 * src/ne_request.c: ...from here.
4137 (ne_set_request_private): Inline add_hook.
4138
4139 ------------------------------------------------------------------------
4140 r925 | joe | 2006-02-20 21:42:38 +0000 (Mon, 20 Feb 2006) | 2 lines
4141
4142 * test/socket.c (multi_init): Update for refcounting init/exit.
4143
4144 ------------------------------------------------------------------------
4145 r924 | joe | 2006-02-20 21:42:24 +0000 (Mon, 20 Feb 2006) | 3 lines
4146
4147 * src/ne_openssl.c (ne__ssl_exit): Don't use debugging calls in
4148 ne_sock_exit; debug stream may have been closed.
4149
4150 ------------------------------------------------------------------------
4151 r923 | joe | 2006-02-18 09:17:41 +0000 (Sat, 18 Feb 2006) | 3 lines
4152
4153 * src/ne_gnutls.c: Fix --enable-threadsafe-ssl build; include
4154 pthread.h and errno.h, fix cpp syntax error.
4155
4156 ------------------------------------------------------------------------
4157 r922 | joe | 2006-02-17 22:16:24 +0000 (Fri, 17 Feb 2006) | 2 lines
4158
4159 * TODO: Strike out stuff which is either done or out-of-scope.
4160
4161 ------------------------------------------------------------------------
4162 r921 | joe | 2006-02-17 17:27:32 +0000 (Fri, 17 Feb 2006) | 11 lines
4163
4164 * macros/neon.m4 (NEON_SSL): Add --enable-threadsafe-ssl flag which
4165 requests thread-safety for the SSL library using POSIX mutexes.
4166
4167 * src/ne_openssl.c [HAVE_PTHREADS] (thread_id_neon, thread_lock_neon):
4168 New functions.
4169 (ne__ssl_init, ne__ssl_exit) [HAVE_PTHREADS]: Register/unregister
4170 thread-safety callbacks, if safe to do so.
4171
4172 * src/ne_gnutls.c (ne__ssl_init, ne__ssl_exit): Register libgcrypt
4173 POSIX thread support.
4174
4175 ------------------------------------------------------------------------
4176 r920 | joe | 2006-02-17 17:07:40 +0000 (Fri, 17 Feb 2006) | 2 lines
4177
4178 * src/ne_auth.c: Fix typo.
4179
4180 ------------------------------------------------------------------------
4181 r919 | joe | 2006-02-17 17:07:03 +0000 (Fri, 17 Feb 2006) | 10 lines
4182
4183 * src/ne_privssl.h (ne__ssl_init, ne__ssl_exit): Add prototypes.
4184
4185 * src/ne_socket.c (init_ssl): Removed.
4186 (ne_sock_init, ne_sock_init): Call ne__ssl_init, ne__ssl_exit
4187 to handle process-global init/exit of the SSL library.
4188
4189 * src/ne_openssl.c (ne__ssl_init, ne__ssl_exit): New functions.
4190
4191 * src/ne_gnutls.c (ne__ssl_init, ne__ssl_exit): New functions.
4192
4193 ------------------------------------------------------------------------
4194 r917 | joe | 2006-02-16 18:38:25 +0000 (Thu, 16 Feb 2006) | 3 lines
4195
4196 * src/ne_socket.c, src/ne_socket.h (ne_sock_init, ne_sock_exit):
4197 Refcount to allow multiple calls per process.
4198
4199 ------------------------------------------------------------------------
4200 r916 | joe | 2006-02-16 09:37:40 +0000 (Thu, 16 Feb 2006) | 3 lines
4201
4202 * test/common/tests.h (ONCMP): Show expected/unexpected string in
4203 failure message if other is NULL.
4204
4205 ------------------------------------------------------------------------
4206 r915 | joe | 2006-02-16 09:36:57 +0000 (Thu, 16 Feb 2006) | 2 lines
4207
4208 * test/common/tests.c (TEST_DEBUG): Add NE_DBG_HTTPPLAIN.
4209
4210 ------------------------------------------------------------------------
4211 r913 | joe | 2006-02-15 21:00:39 +0000 (Wed, 15 Feb 2006) | 8 lines
4212
4213 * test/auth.c (make_digest): Handle MD5-sess algorithm.
4214 (verify_digest_header): Verify that all expected fields
4215 are present, not that all present fields are as expected.
4216 (make_authinfo_header): Respect proxy parameter.
4217 (make_digest_header): New function.
4218 (serve_digest, test_digest): Respect proxy parameter.
4219 (digest): Factor out from digest_* functions.
4220
4221 ------------------------------------------------------------------------
4222 r912 | joe | 2006-02-15 20:57:28 +0000 (Wed, 15 Feb 2006) | 3 lines
4223
4224 * src/ne_auth.c (digest_challenge): Give useful error messages for
4225 malformed challenges.
4226
4227 ------------------------------------------------------------------------
4228 r911 | joe | 2006-02-15 16:48:05 +0000 (Wed, 15 Feb 2006) | 2 lines
4229
4230 * test/lock.c (fail_lockauth): Set lock token.
4231
4232 ------------------------------------------------------------------------
4233 r909 | joe | 2006-02-15 09:16:09 +0000 (Wed, 15 Feb 2006) | 13 lines
4234
4235 * src/ne_auth.c: Remove unnecessary forward declaration of
4236 struct auth_protocol.
4237 (verify_digest_response): Reflow to give useful errors;
4238 drop conditional which was needed for qop=auth-int.
4239
4240 * test/auth.c (make_digest): Factored out from check_digest.
4241 (check_digest): Use make_digest.
4242 (make_authinfo_header): New function.
4243 (serve_digest): Add Authentication-Info handling.
4244 (test_digest): Factored out from digest_rfc2617/digest_rfc2069.
4245 (digest_rfc2617, digest_rfc2069): Use test_digest.
4246 (digest_auth_info, digest_failures): New test cases.
4247
4248 ------------------------------------------------------------------------
4249 r897 | joe | 2006-02-14 12:17:49 +0000 (Tue, 14 Feb 2006) | 4 lines
4250
4251 * src/ne_auth.c (struct auth_request): Remove unused response_body
4252 field and pointless will_handle field.
4253 (verify_digest_response, ah_pre_send): Remove will_handle flag.
4254
4255 ------------------------------------------------------------------------
4256 r896 | joe | 2006-02-14 12:10:01 +0000 (Tue, 14 Feb 2006) | 13 lines
4257
4258 * src/ne_auth.c (struct auth_request): Move attempt field here from
4259 auth_session.
4260 (struct auth_protocol): Pass attempt counter to challenge callback.
4261 (get_credentials): Take attempt counter as parameter.
4262 (basic_challenge, digest_challenge): Pass through attempt counter
4263 to get_credentials accordingly.
4264 (gssapi_challenge): Only respect a Negotiate challenge if it is an
4265 initial challenge, with no input token, or a continuation, with an
4266 input token.
4267 (auth_challenge): Pass through attempt counter.
4268 (ah_create): Don't reset session->attempt.
4269 (ah_post_send): Pass and increment attempt counter here.
4270
4271 ------------------------------------------------------------------------
4272 r895 | joe | 2006-02-14 11:51:03 +0000 (Tue, 14 Feb 2006) | 3 lines
4273
4274 * src/ne_auth.c: Clean up debugging output a little; no functional
4275 change.
4276
4277 ------------------------------------------------------------------------
4278 r890 | joe | 2006-02-12 22:24:03 +0000 (Sun, 12 Feb 2006) | 3 lines
4279
4280 * test/auth.c (dup_header, check_digest, verify_digest_header,
4281 serve_digest, digest_rfc2617, digest_rfc2069): New functions.
4282
4283 ------------------------------------------------------------------------
4284 r889 | joe | 2006-02-12 12:05:14 +0000 (Sun, 12 Feb 2006) | 6 lines
4285
4286 * src/ne_sspi.c, src/ne_sspi.h (ne_sspi_get_mechanism): Remove
4287 function.
4288
4289 * src/ne_auth.c (request_sspi): Use protocol name rather than jumping
4290 through SSPI code.
4291
4292 ------------------------------------------------------------------------
4293 r888 | joe | 2006-02-12 10:14:42 +0000 (Sun, 12 Feb 2006) | 2 lines
4294
4295 * doc/ref/auth.xml: Fix callback type name.
4296
4297 ------------------------------------------------------------------------
4298 r885 | joe | 2006-02-11 23:56:58 +0000 (Sat, 11 Feb 2006) | 2 lines
4299
4300 * doc/ref/ssltrust.xml: Fix typo.
4301
4302 ------------------------------------------------------------------------
4303 r883 | joe | 2006-02-11 23:46:47 +0000 (Sat, 11 Feb 2006) | 2 lines
4304
4305 * NEWS: Remove completed TODO list item.
4306
4307 ------------------------------------------------------------------------
4308 r882 | joe | 2006-02-11 17:03:16 +0000 (Sat, 11 Feb 2006) | 2 lines
4309
4310 * src/ne_auth.c (free_auth): Free the handlers when the session is destroyed.
4311
4312 ------------------------------------------------------------------------
4313 r881 | joe | 2006-02-11 16:30:27 +0000 (Sat, 11 Feb 2006) | 3 lines
4314
4315 * test/run.sh: Set MALLOC_PERTURB_ to enable glibc malloc
4316 randomization.
4317
4318 ------------------------------------------------------------------------
4319 r880 | joe | 2006-02-11 13:29:34 +0000 (Sat, 11 Feb 2006) | 20 lines
4320
4321 Allow control over which auth protocols are used:
4322
4323 * src/ne_auth.h (ne_add_server_auth, ne_add_proxy_auth): New
4324 prototypes.
4325
4326 * src/ne_auth.c (struct auth_handler): New structure.
4327 (auth_challenge): Store a pointer to a handler.
4328 (auth_session): Store a list of handlers.
4329 (auth_protocol): Make id type 'unsigned'.
4330 (get_credentials): Take challenge argument.
4331 (basic_challenge, digest): Pass challenge structure to get_credentials.
4332 (auth_register): Take protocol mask; allow multiple calls per session.
4333 Append a handler to list registered for the session. Only initialize
4334 GSSAPI fields if Negotiate is allowed.
4335 (auth_register_default): New function.
4336 (auth_challenge): Iterate through the session's handler list for
4337 each challenge; store a pointer to the handler in the challenge.
4338 (ne_set_server_auth, ne_set_proxy_auth): Use auth_register_default.
4339 (ne_add_server_auth, ne_add_proxy_auth): New functions.
4340
4341 ------------------------------------------------------------------------
4342 r879 | joe | 2006-02-11 11:37:32 +0000 (Sat, 11 Feb 2006) | 18 lines
4343
4344 Refactor auth protocol support as first step to exposing protocols in
4345 the API:
4346
4347 * src/ne_auth.c (struct auth_protocol): New structure; replaces
4348 auth_scheme enum.
4349 (struct auth_session, struct auth_challenge): Store pointer
4350 to protocol structure in place of scheme value.
4351 (request_basic, request_gssapi, verify_negotiate_response,
4352 gssapi_challenge, sspi_challenge): Adjust to use generic callback
4353 prototypes; don't set ->scheme, use ->protocol instead.
4354 (insert_challenge): New function.
4355 (auth_challenge): Adjust to construct a list of challenges,
4356 kept sorted by protocol strength field. Walk the list once
4357 until a protocol challenge callback succeeds.
4358 (ah_pre_send): Adjust to use the protocol response callback.
4359 (ah_post_send): Adjust to use the protocol verify callback.
4360 (protocols): Add global protocol definitions array.
4361
4362 ------------------------------------------------------------------------
4363 r878 | joe | 2006-02-11 11:15:32 +0000 (Sat, 11 Feb 2006) | 2 lines
4364
4365 * src/ne_auth.h: Move hint on using attempt as return value.
4366
4367 ------------------------------------------------------------------------
4368 r869 | joe | 2006-02-08 23:04:03 +0000 (Wed, 08 Feb 2006) | 12 lines
4369
4370 Patch from Stefan Küng to fix endless authentication loop if the
4371 authentication fails:
4372
4373 * src/ne_sspi.c, src/ne_sspi.h:
4374 New public function to tell the lib that an authentication was
4375 successful.
4376 Return an error if the authentication is restarted without a
4377 successful authentication before.
4378 * src/ne_auth.c:
4379 Call the new public function to tell the library about a successful
4380 authentication.
4381
4382 ------------------------------------------------------------------------
4383 r842 | joe | 2006-01-11 12:10:50 +0000 (Wed, 11 Jan 2006) | 3 lines
4384
4385 * test/uri-tests.c (parse): Add some more test cases and make failure
4386 messages clearer.
4387
4388 ------------------------------------------------------------------------
4389 r840 | joe | 2006-01-10 23:19:39 +0000 (Tue, 10 Jan 2006) | 2 lines
4390
4391 * src/ne_auth.c (ah_post_send): Fix non-SSPI build.
4392
4393 ------------------------------------------------------------------------
4394 r839 | joe | 2006-01-10 23:19:01 +0000 (Tue, 10 Jan 2006) | 6 lines
4395
4396 Apply other half of Stefan's patch which got lost in the wash
4397 somewhere:
4398
4399 * src/ne_sspi.c: Return an error if the authentication is restarted
4400 without a successful authentication before.
4401
4402 ------------------------------------------------------------------------
4403 r838 | joe | 2006-01-10 22:59:47 +0000 (Tue, 10 Jan 2006) | 7 lines
4404
4405 Fix build on some AIX systems:
4406
4407 * src/ne_request.c: Include sys/limits.h if available. Define
4408 LONG_LONG_MAX to LONGLONG_MAX if necessary.
4409
4410 * macros/neon.m4 (LIBNEON_SOURCE_CHECKS): Check for sys/limits.h.
4411
4412 ------------------------------------------------------------------------
4413 r837 | joe | 2006-01-10 22:51:39 +0000 (Tue, 10 Jan 2006) | 12 lines
4414
4415 Patch from Stefan Küng to fix endless authentication loop if the
4416 authentication fails:
4417
4418 * src/ne_sspi.c, src/ne_sspi.h:
4419 New public function to tell the lib that an authentication was
4420 successful.
4421 Return an error if the authentication is restarted without a
4422 successful authentication before.
4423 * src/ne_auth.c:
4424 Call the new public function to tell the library about a successful
4425 authentication.
4426
4427 ------------------------------------------------------------------------
4428 r836 | joe | 2006-01-10 13:50:45 +0000 (Tue, 10 Jan 2006) | 8 lines
4429
4430 Fix ne_lock_discover() regression:
4431
4432 * src/ne_locks.c (struct discover_ctx): Add reference to the PROPFIND
4433 handler.
4434 (end_element_ldisc): Use it to retrieve current lock.
4435 (ne_lock_discover): Store pointer to the PROPFIND handler in the context;
4436 pass the context as userdata to the XML parser callbacks.
4437
4438 ------------------------------------------------------------------------
4439 r835 | joe | 2006-01-10 13:39:59 +0000 (Tue, 10 Jan 2006) | 2 lines
4440
4441 * src/ne_uri.c (CMPWITH): M-x backslash-region.
4442
4443 ------------------------------------------------------------------------
4444 r834 | joe | 2006-01-10 13:27:52 +0000 (Tue, 10 Jan 2006) | 2 lines
4445
4446 * src/ne_uri.h: Minor comment tweaks.
4447
4448 ------------------------------------------------------------------------
4449 r833 | joe | 2006-01-09 14:39:05 +0000 (Mon, 09 Jan 2006) | 2 lines
4450
4451 Revert r832 per request from Stefan Küng.
4452
4453 ------------------------------------------------------------------------
4454 r832 | joe | 2006-01-07 17:36:42 +0000 (Sat, 07 Jan 2006) | 5 lines
4455
4456 Patch from Stefan Küng:
4457
4458 * src/ne_sspi.c:
4459 free allocated memory before returning with an error.
4460
4461 ------------------------------------------------------------------------
4462 r831 | joe | 2006-01-06 15:36:46 +0000 (Fri, 06 Jan 2006) | 4 lines
4463
4464 * src/ne_gnutls.c, src/ne_openssl.c, src/ne_basic.c,
4465 src/ne_compress.c, src/ne_uri.c, src/ne_auth.c, src/ne_locks.c: Use
4466 ne_strcasecmp in favour of locale-dependent strcasecmp throughout.
4467
4468 ------------------------------------------------------------------------
4469 r830 | joe | 2006-01-06 14:54:32 +0000 (Fri, 06 Jan 2006) | 4 lines
4470
4471 * src/ne_locks.c (CMPWITH): Simplify to reduce number of branches.
4472
4473 * test/uri-tests.c (cmp): Test every comparison for reflexivity;
4474
4475 ------------------------------------------------------------------------
4476 r829 | joe | 2006-01-06 14:37:12 +0000 (Fri, 06 Jan 2006) | 8 lines
4477
4478 * src/ne_uri.c (CMPWITH): New macro.
4479 (CMP, CASECMP): Implement using it. Use ne_strcasecmp.
4480 (ne_uri_cmp): Fix handling of empty paths; compare query, fragment
4481 and userinfo.
4482
4483 * test/uri-tests.c (cmp): Rewrite and improve coverage.
4484 (cmp_differ): Remove function.
4485
4486 ------------------------------------------------------------------------
4487 r828 | joe | 2006-01-06 14:05:40 +0000 (Fri, 06 Jan 2006) | 2 lines
4488
4489 * src/ne_i18n.h: Expand on use of ne_i18n_init a little.
4490
4491 ------------------------------------------------------------------------
4492 r827 | joe | 2006-01-06 12:26:46 +0000 (Fri, 06 Jan 2006) | 9 lines
4493
4494 Add locale-independent implementations of strcasecmp/strncasecmp, from
4495 glibc:
4496
4497 * src/ne_string.h (ne_strcasecmp, ne_strncasecmp): Add prototypes.
4498
4499 * src/ne_string.c (ne_strcasecmp, ne_strncasecmp): New functions.
4500
4501 * test/string-tests.c (casecmp, casencmp): Add test cases.
4502
4503 ------------------------------------------------------------------------
4504 r825 | joe | 2006-01-02 11:43:19 +0000 (Mon, 02 Jan 2006) | 40 lines
4505
4506 * src/ne_207.h (ne_207_create): Take a base URI argument.
4507 (ne_207_start_response): Give parsed URI structure rather than raw
4508 string.
4509
4510 * src/ne_207.c (struct ne_207_parser_s): Add URI base member.
4511 (end_element): Parse and resolve the href URI; pass resolved URI
4512 to start_response callback.
4513 (ne_207_create): Take a copy of given base URI.
4514 (ne_207_destroy): ... and free it.
4515 (start_response): Unparse the given URI.
4516 (ne_simple_request): Mock up a base URI.
4517
4518 * src/ne_props.h (ne_props_result, ne_props_create_complex): Take URI
4519 structure rather than raw string.
4520
4521 * src/ne_props.c (ne_prop_result_set_s): Store URI structure.
4522 (start_response): Take a copy of passed-in URI in propset; pass it
4523 back to creator callback.
4524 (free_propset): Free stored URI.
4525 (end_response): Pass stored URI to results callback.
4526 (ne_propfind_create): Create base URI to pass to ne_207_create.
4527
4528 * src/ne_locks.h (ne_lock_result): Take a URI structure rather than
4529 raw string.
4530
4531 * src/ne_locks.c (struct discover_ctx): Remove session member.
4532 (discover_results): Use given URI structure throughout.
4533 (ld_create): Copy URI structure directly to lock.
4534 (ne_lock_discover): No need to take a reference to the session.
4535
4536 * src/Makefile.in: Update dependencies.
4537
4538 * test/props.c (dummy_results, simple_results, tos_startresp): Adjust
4539 to take URI structure.
4540 (run_207_response): Initialize base URI to pass to ne_207_create.
4541 (pfind_simple): Only use URI path in result strings.
4542
4543 * test/lock.c (discover_result, dummy_discover): Adjust to take URI
4544 structure.
4545
4546 ------------------------------------------------------------------------
4547 r824 | joe | 2006-01-02 10:28:10 +0000 (Mon, 02 Jan 2006) | 2 lines
4548
4549 * src/ne_xmlreq.h: Fix typo in comment.
4550
4551 ------------------------------------------------------------------------
4552 r823 | joe | 2006-01-01 23:42:03 +0000 (Sun, 01 Jan 2006) | 4 lines
4553
4554 * src/ne_uri.h, src/ne_uri.c (ne_uri_resolve): Return target pointer.
4555
4556 * test/uri-tests.c (resolve): Test for such.
4557
4558 ------------------------------------------------------------------------
4559 r822 | joe | 2006-01-01 23:17:51 +0000 (Sun, 01 Jan 2006) | 3 lines
4560
4561 * test/uri-tests.c (parse): Test for the slightly odd triple-slash
4562 case.
4563
4564 ------------------------------------------------------------------------
4565 r821 | joe | 2006-01-01 23:02:41 +0000 (Sun, 01 Jan 2006) | 3 lines
4566
4567 * test/uri-tests.c (parse): Explicitly test for a URI with no path
4568 component.
4569
4570 ------------------------------------------------------------------------
4571 r820 | joe | 2006-01-01 22:37:50 +0000 (Sun, 01 Jan 2006) | 3 lines
4572
4573 * src/ne_locks.c (ne_lock_using_parent): Zero-initalize lock
4574 structure.
4575
4576 ------------------------------------------------------------------------
4577 r819 | joe | 2006-01-01 22:35:38 +0000 (Sun, 01 Jan 2006) | 6 lines
4578
4579 Fixes found by --enable-memleak build:
4580
4581 * src/ne_uri.c (ne_uri_resolve): Fix double assignment of query
4582 component.
4583 (ne_uri_free): Free the query and fragment fields.
4584
4585 ------------------------------------------------------------------------
4586 r818 | joe | 2006-01-01 22:29:45 +0000 (Sun, 01 Jan 2006) | 3 lines
4587
4588 * src/ne_uri.c (remove_dot_segments): malloc the correct size of
4589 output buffer rather than strdup'ing the input buffer.
4590
4591 ------------------------------------------------------------------------
4592 r817 | joe | 2006-01-01 22:22:07 +0000 (Sun, 01 Jan 2006) | 2 lines
4593
4594 * src/ne_locks.c (ne_lock_copy): Use ne_uri_copy.
4595
4596 ------------------------------------------------------------------------
4597 r816 | joe | 2006-01-01 21:20:33 +0000 (Sun, 01 Jan 2006) | 6 lines
4598
4599 * src/ne_uri.h (ne_uri_copy): Add prototype.
4600
4601 * src/ne_uri.c (ne_uri_copy): New function.
4602
4603 * test/uri-tests.c (copy): New test case.
4604
4605 ------------------------------------------------------------------------
4606 r815 | joe | 2006-01-01 21:19:25 +0000 (Sun, 01 Jan 2006) | 5 lines
4607
4608 * src/ne_uri.c (ne_uri_unparse): Handle port correctly if scheme is
4609 undefined.
4610
4611 * test/uri-tests.c (unparse): Add test case.
4612
4613 ------------------------------------------------------------------------
4614 r814 | joe | 2006-01-01 19:02:23 +0000 (Sun, 01 Jan 2006) | 2 lines
4615
4616 * src/ne_uri.c (ne_uri_unparse): Fix missing NULL list terminator.
4617
4618 ------------------------------------------------------------------------
4619 r813 | joe | 2006-01-01 18:58:00 +0000 (Sun, 01 Jan 2006) | 7 lines
4620
4621 * src/ne_uri.c (remove_dot_segments): Fix case 2.A.
4622 (copy_authority): Fix to duplicate userinfo if defined.
4623 (ne_uri_resolve): Fix to only copy scheme if defined.
4624 (ne_uri_unparse): Fix handling of URIs with authority but no scheme.
4625
4626 * test/uri-tests.c (unparse, resolve): Add test cases for above.
4627
4628 ------------------------------------------------------------------------
4629 r812 | joe | 2006-01-01 17:22:11 +0000 (Sun, 01 Jan 2006) | 7 lines
4630
4631 * src/ne_uri.h (ne_uri_resolve): Add prototype.
4632
4633 * src/ne_uri.c (copy_authority, merge_paths, remove_dot_segments,
4634 ne_uri_resolve): New functions.
4635
4636 * test/uri-tests.c (resolve): Add test cases.
4637
4638 ------------------------------------------------------------------------
4639 r811 | joe | 2006-01-01 17:10:57 +0000 (Sun, 01 Jan 2006) | 7 lines
4640
4641 * src/ne_uri.c (ne_uri_parse): Empty string is a valid URI-reference,
4642 so allow it.
4643 (ne_uri_unparse): Handle URIs with undefined authority.
4644
4645 * test/uri-tests.c (parse): Add test case for former.
4646 (unparse): Add test case for latter.
4647
4648 ------------------------------------------------------------------------
4649 r810 | joe | 2006-01-01 14:58:37 +0000 (Sun, 01 Jan 2006) | 2 lines
4650
4651 * src/Makefile.in (neonreq): Depend on ne_uri.h.
4652
4653 ------------------------------------------------------------------------
4654 r809 | joe | 2006-01-01 14:57:28 +0000 (Sun, 01 Jan 2006) | 3 lines
4655
4656 * test/uri-tests.c (escapes, failparse, unparse): Improve test
4657 coverage (100% of branches taken).
4658
4659 ------------------------------------------------------------------------
4660 r808 | joe | 2006-01-01 14:43:11 +0000 (Sun, 01 Jan 2006) | 15 lines
4661
4662 * src/ne_uri.h (ne_uri): Rename authinfo field to userinfo.
4663 Add query and fragment fields.
4664
4665 * src/ne_locks.c (ne_lock_using_parent): Adjust accordingly.
4666
4667 * src/ne_uri.c (ne_uri_parse): Adjust for userinfo/authinfo rename.
4668 Parse fragment and query; parse path component strictly.
4669 (ne_uri_free): Adjust for authinfo rename.
4670 (ne_uri_unparse): Adjust for authinfo rename; handle query and
4671 fragment.
4672
4673 * test/uri-tests.c (parse, unparse): Add tests for query/fragment
4674 handling.
4675 (failparse): Add some cases with invalid path segments.
4676
4677 ------------------------------------------------------------------------
4678 r807 | joe | 2006-01-01 13:37:56 +0000 (Sun, 01 Jan 2006) | 11 lines
4679
4680 * src/ne_uri.h (ne_uri_parse): Redefine to take a URI-reference as
4681 input.
4682
4683 * src/ne_uri.c (uri_chars): Redefine array giving more detailed
4684 character classes.
4685 (ne_uri_parse): Rewrite to properly parse a URI-reference.
4686 (ne_path_escape): Do respect the authinfo field.
4687
4688 * test/uri-tests.c (just_hostname, just_path): Remove tests.
4689 (parse): Remove some non-URI-reference tests; add some more.
4690
4691 ------------------------------------------------------------------------
4692 r806 | joe | 2005-12-31 18:22:35 +0000 (Sat, 31 Dec 2005) | 2 lines
4693
4694 * test/session.c (fill_uri): Use ONCMP.
4695
4696 ------------------------------------------------------------------------
4697 r775 | joe | 2005-11-29 20:58:08 +0000 (Tue, 29 Nov 2005) | 3 lines
4698
4699 * src/ne_socket.c: Revert debugging code accidentally committed in
4700 r774.
4701
4702 ------------------------------------------------------------------------
4703 r774 | joe | 2005-11-29 20:54:50 +0000 (Tue, 29 Nov 2005) | 10 lines
4704
4705 * macros/neon.m4 (NEON_SSL): Check for gnutls_session_get_data2.
4706
4707 * src/ne_privssl.h (ne_ssl_context_s) [HAVE_GNUTLS &&
4708 HAVE_GNUTLS_SESSION_GET_DATA2]: Just store a single gnutls_datum for
4709 the cache.client field.
4710
4711 * src/ne_socket.c [HAVE_GNUTLS] (ne_sock_connect_ssl): Use
4712 gnutls_session_get_data2 if available; otherwise do check for errors
4713 from _get_data.
4714
4715 ------------------------------------------------------------------------
4716 r773 | joe | 2005-11-29 17:46:26 +0000 (Tue, 29 Nov 2005) | 3 lines
4717
4718 * src/ne_gnutls.c (ne__negotiate_ssl): Skip verification of the cert
4719 if it's the same as last time; fixes the "cache_verify" test.
4720
4721 ------------------------------------------------------------------------
4722 r772 | joe | 2005-11-29 16:55:16 +0000 (Tue, 29 Nov 2005) | 9 lines
4723
4724 * macros/neon.m4 (NEON_SSL): Add --with-ca-bundle flag to allow an
4725 (alternative) SSL CA bundle to be configured/used.
4726
4727 * src/ne_openssl.c (ne_ssl_trust_default_ca): Honour NE_SSL_CA_BUNDLE
4728 if defined, in preference to use of OpenSSL-default CA bundle.
4729
4730 * src/ne_gnutls.c (ne_ssl_trust_default_ca): Implement using
4731 NE_SSL_CA_BUNDLE.
4732
4733 ------------------------------------------------------------------------
4734 r771 | joe | 2005-11-29 16:07:48 +0000 (Tue, 29 Nov 2005) | 3 lines
4735
4736 * macros/neon.m4 (NEON_SSL): Allow enabling GNUTLS support since it's
4737 mostly complete now.
4738
4739 ------------------------------------------------------------------------
4740 r770 | joe | 2005-11-29 16:04:01 +0000 (Tue, 29 Nov 2005) | 4 lines
4741
4742 * src/ne_socket.c (ne_sock_sessid): Fail for non-SSL sockets.
4743
4744 * test/socket.c (ssl_session_id): Fix for non-SSL build.
4745
4746 ------------------------------------------------------------------------
4747 r769 | joe | 2005-11-29 15:13:02 +0000 (Tue, 29 Nov 2005) | 4 lines
4748
4749 * src/ne_socket.c (ne_sock_sessid): Fail for non-SSL sockets.
4750
4751 * test/socket.c (ssl_session_id): Fix for non-SSL build.
4752
4753 ------------------------------------------------------------------------
4754 r768 | joe | 2005-11-29 15:09:06 +0000 (Tue, 29 Nov 2005) | 6 lines
4755
4756 * src/ne_socket.c (ne_sock_sessid): New function.
4757
4758 * src/ne_socket.h (ne_sock_sessid): Add prototype.
4759
4760 * test/socket.c (ssl_session_id): New test.
4761
4762 ------------------------------------------------------------------------
4763 r767 | joe | 2005-11-29 13:17:49 +0000 (Tue, 29 Nov 2005) | 12 lines
4764
4765 Implement session caching for GNUTLS:
4766
4767 * src/ne_socket.c (copy_datum, store_sess, match_datum, retrieve_sess,
4768 remove_sess): New functions.
4769 (ne_sock_accept_ssl) [HAVE_GNUTLS]: Implement dummy session cache.
4770 (ne_sock_connect_ssl) [HAVE_GNUTLS]: Cache client session.
4771
4772 * src/ne_gnutls.c (ne_ssl_context_destroy): Free session cache.
4773
4774 * src/ne_privssl.h [HAVE_GNUTLS] (struct ne_ssl_context_s): Add
4775 session cache fields.
4776
4777 ------------------------------------------------------------------------
4778 r766 | joe | 2005-11-28 21:54:09 +0000 (Mon, 28 Nov 2005) | 2 lines
4779
4780 * src/ne_207.h, src/ne_dates.h: Fix multiple-inclusion-safety symbols.
4781
4782 ------------------------------------------------------------------------
4783 r765 | joe | 2005-11-28 13:02:36 +0000 (Mon, 28 Nov 2005) | 2 lines
4784
4785 * src/ne_gnutls.c (make_peers_chain): Don't leak if import fails.
4786
4787 ------------------------------------------------------------------------
4788 r764 | joe | 2005-11-28 11:47:06 +0000 (Mon, 28 Nov 2005) | 3 lines
4789
4790 * src/ne_socket.c (error_gnutls): Distinguish between generic errors
4791 and receipt of an SSL alert.
4792
4793 ------------------------------------------------------------------------
4794 r763 | joe | 2005-11-28 11:44:41 +0000 (Mon, 28 Nov 2005) | 4 lines
4795
4796 * src/ne_socket.c (error_gnutls): Improve error handling; always treat
4797 GNUTLS_E_UNEXPECTED_PACKET_LENGTH as a truncation, socket errors as a
4798 reset.
4799
4800 ------------------------------------------------------------------------
4801 r761 | joe | 2005-11-28 10:59:08 +0000 (Mon, 28 Nov 2005) | 3 lines
4802
4803 * test/ssl.c (wildcard_init): Update error message now most hostname
4804 commands should work OK.
4805
4806 ------------------------------------------------------------------------
4807 r760 | joe | 2005-11-28 08:53:45 +0000 (Mon, 28 Nov 2005) | 7 lines
4808
4809 * test/makekeys.sh: Create a PKCS#12 client cert with embedded CA
4810 cert.
4811
4812 * test/Makefile.in (clean): Clean all PKCS#12 certs.
4813
4814 * test/ssl.c (load_client_cert): Load the new cert.
4815
4816 ------------------------------------------------------------------------
4817 r759 | joe | 2005-11-28 08:36:20 +0000 (Mon, 28 Nov 2005) | 3 lines
4818
4819 * src/ne_openssl.c (ne_ssl_clicert_decrypt): Check that private
4820 key/cert match.
4821
4822 ------------------------------------------------------------------------
4823 r755 | joe | 2005-11-24 22:37:49 +0000 (Thu, 24 Nov 2005) | 10 lines
4824
4825 * src/ne_request.c (open_connection, do_connect): Take session pointer
4826 as argument not request.
4827
4828 * src/ne_openssl.c (ne__negotiate_ssl): Take session pointer as
4829 argument not request.
4830
4831 * src/ne_gnutls.c (ne__negotiate_ssl): Likewise.
4832
4833 * src/ne_private.h (ne__negotiate_ssl): Update prototype.
4834
4835 ------------------------------------------------------------------------
4836 r754 | joe | 2005-11-23 15:20:37 +0000 (Wed, 23 Nov 2005) | 2 lines
4837
4838 * test/makekeys.sh: Fix new domain extraction for multi-part domains.
4839
4840 ------------------------------------------------------------------------
4841 r750 | joe | 2005-10-29 14:41:18 +0100 (Sat, 29 Oct 2005) | 2 lines
4842
4843 * src/ne_alloc.h: Remove NE_FREE macro.
4844
4845 ------------------------------------------------------------------------
4846 r749 | joe | 2005-10-29 14:40:09 +0100 (Sat, 29 Oct 2005) | 4 lines
4847
4848 * src/ne_props.c (free_propset): Eliminate use of NE_FREE macro.
4849
4850 * src/ne_redirect.c (create): Likewise.
4851
4852 ------------------------------------------------------------------------
4853 r748 | joe | 2005-10-29 14:34:59 +0100 (Sat, 29 Oct 2005) | 2 lines
4854
4855 * src/ne_auth.c (clean_session): Eliminate use of NE_FREE macro.
4856
4857 ------------------------------------------------------------------------
4858 r747 | joe | 2005-10-29 14:31:22 +0100 (Sat, 29 Oct 2005) | 3 lines
4859
4860 * src/ne_207.c (end_element, start_response, ne_simple_request):
4861 Eliminate use of NE_FREE macro.
4862
4863 ------------------------------------------------------------------------
4864 r746 | joe | 2005-10-29 00:32:50 +0100 (Sat, 29 Oct 2005) | 6 lines
4865
4866 Fix type mismatch with OpenSSL >= 0.9.8.
4867
4868 * src/ne_openssl.c (ne_d2i_uchar): Add typedef.
4869 (ne_ssl_cert_import): Use ne_d2i_uchar as type of second
4870 argument to d2i_x509.
4871
4872 ------------------------------------------------------------------------
4873 r736 | joe | 2005-10-13 20:01:35 +0100 (Thu, 13 Oct 2005) | 3 lines
4874
4875 * test/makekeys.sh: Begin octal escapes with \0; use sed to munge
4876 hostname. (based on patch by Mikhail Teterin)
4877
4878 ------------------------------------------------------------------------
4879 r735 | joe | 2005-10-13 08:18:17 +0100 (Thu, 13 Oct 2005) | 9 lines
4880
4881 GSSAPI fixes for non-MIT Kerberos implementations, from Mikhail
4882 Teterin:
4883
4884 * src/ne_auth.c (clean_session): Pass pointer to gssctx to
4885 gss_delete_sec_context. Don't release stored gssmech.
4886 (continue_negotiate): Pass sess->gssmech directly to
4887 gss_init_sec_context.
4888 (free_auth): Pass pointer to stored name to gss_release_name.
4889
4890 ------------------------------------------------------------------------
4891 r733 | joe | 2005-10-09 14:31:00 +0100 (Sun, 09 Oct 2005) | 3 lines
4892
4893 * src/: In all files, s/BEGIN_NEON_DECLS/NE_BEGIN_DECLS/g and
4894 s/END_NEON_DECLS/NE_END_DECLS/g.
4895
4896 ------------------------------------------------------------------------
4897 r732 | joe | 2005-10-09 14:28:03 +0100 (Sun, 09 Oct 2005) | 2 lines
4898
4899 * src/ne_i18n.h: Use {BEGIN,END}_NEON_DECLS.
4900
4901 ------------------------------------------------------------------------
4902 r730 | joe | 2005-10-09 09:16:39 +0100 (Sun, 09 Oct 2005) | 3 lines
4903
4904 * src/ne_private.h (struct ne_session_s): Use 512-byte buffer for
4905 error string.
4906
4907 ------------------------------------------------------------------------
4908 r729 | joe | 2005-10-09 09:15:49 +0100 (Sun, 09 Oct 2005) | 3 lines
4909
4910 * src/ne_request.c [!NE_LFS]: Define NE_OFFT_MAX correctly for
4911 platforms with sizeof(off_t) == sizeof(long long).
4912
4913 ------------------------------------------------------------------------
4914 r726 | joe | 2005-10-06 09:08:36 +0100 (Thu, 06 Oct 2005) | 10 lines
4915
4916 * src/ne_defs.h (NE_BUFSIZ): Define.
4917
4918 * src/ne_request.c (struct ne_request_s): Use NE_BUFSIZ for respbuf
4919 size.
4920 (send_request_body): Use NE_BUFSIZ for buffer.
4921 (ne_print_request_header): Use NE_BUFSIZ for stack buffer.
4922
4923 * src/ne_compress.c (struct ne_decompress_s): Use NE_BUFSIZ for outbuf
4924 size.
4925
4926 ------------------------------------------------------------------------
4927 r722 | joe | 2005-09-22 02:02:12 +0100 (Thu, 22 Sep 2005) | 3 lines
4928
4929 * src/ne_xml.c [HAVE_EXPAT]: Fix NEED_BOM_HANDLING for the
4930 !defined(XML_MAJOR_VERSION) case; patch by D.J. Heap.
4931
4932 ------------------------------------------------------------------------
4933 r721 | joe | 2005-09-22 01:59:37 +0100 (Thu, 22 Sep 2005) | 2 lines
4934
4935 * config.hw.in (in_addr_t) [!USE_GETADDRINFO]: Define to unsigned int.
4936
4937 ------------------------------------------------------------------------
4938 r719 | joe | 2005-09-19 20:36:57 +0100 (Mon, 19 Sep 2005) | 2 lines
4939
4940 * doc/ref/reqopts.xml: Fix parameter type.
4941
4942 ------------------------------------------------------------------------
4943 r718 | joe | 2005-09-19 10:17:43 +0100 (Mon, 19 Sep 2005) | 2 lines
4944
4945 * doc/ref/iaddr.xml: Fix function name.
4946
4947 ------------------------------------------------------------------------
4948 r716 | joe | 2005-09-19 10:14:53 +0100 (Mon, 19 Sep 2005) | 2 lines
4949
4950 * src/ne_request.h (ne_get_response_header): Fix docco.
4951
4952 ------------------------------------------------------------------------
4953 r715 | joe | 2005-09-19 10:14:23 +0100 (Mon, 19 Sep 2005) | 2 lines
4954
4955 * doc/ref/resphdr.xml: Fix typo in element name.
4956
4957 ------------------------------------------------------------------------
4958 r713 | joe | 2005-09-17 18:07:53 +0100 (Sat, 17 Sep 2005) | 3 lines
4959
4960 * src/ne_gnutls.c (provide_client_cert): Remove unused variable.
4961 (ne_ssl_cert_write, ne_ssl_cert_read): Fix type of length variables.
4962
4963 ------------------------------------------------------------------------
4964 r712 | joe | 2005-09-17 14:55:17 +0100 (Sat, 17 Sep 2005) | 4 lines
4965
4966 * src/ne_gnutls.c (ne_ssl_context_create): Zero-initialize allocated
4967 structure. (provide_client_cert): Fail if no ne_session * pointer is
4968 registered with the socket.
4969
4970 ------------------------------------------------------------------------
4971 r711 | joe | 2005-09-17 14:44:38 +0100 (Sat, 17 Sep 2005) | 2 lines
4972
4973 * src/ne_gnutls.c (check_identity): Handle iPAddress subjectAltName.
4974
4975 ------------------------------------------------------------------------
4976 r710 | joe | 2005-09-17 13:35:43 +0100 (Sat, 17 Sep 2005) | 6 lines
4977
4978 Hook up basic client cert provision; based on patch by Aleix Conchillo
4979 Flaque:
4980
4981 * src/ne_gnutls.c (provide_client_cert): New function.
4982 (ne_ssl_context_create): Install client cert provider callback.
4983
4984 ------------------------------------------------------------------------
4985 r709 | joe | 2005-09-17 13:26:41 +0100 (Sat, 17 Sep 2005) | 9 lines
4986
4987 * src/ne_privssl.h (struct ne_ssl_context_s) [HAVE_GNUTLS]: Add verify
4988 field.
4989
4990 * src/ne_socket.c (ne_sock_accept_ssl): If ctx->verify is set, verify
4991 peer certificate.
4992
4993 * src/ne_gnutls.c (ne_ssl_context_set_verify): Set ctx->verify.
4994 Comment on lack of handling of ca_names argument.
4995
4996 ------------------------------------------------------------------------
4997 r708 | joe | 2005-09-17 12:38:32 +0100 (Sat, 17 Sep 2005) | 3 lines
4998
4999 * src/ne_gnutls.c (x509_crt_copy): Fix check for gnutls_x509_crt_init
5000 return value.
5001
5002 ------------------------------------------------------------------------
5003 r707 | joe | 2005-09-17 12:37:26 +0100 (Sat, 17 Sep 2005) | 4 lines
5004
5005 * src/ne_gnutls.c (ne_ssl_readable_dname): Switch to new
5006 implementation since fixed GNUTLS is required.
5007 (ne_ssl_dname_cmp): Implement.
5008
5009 ------------------------------------------------------------------------
5010 r706 | joe | 2005-09-17 12:05:51 +0100 (Sat, 17 Sep 2005) | 2 lines
5011
5012 * po/: make update-po.
5013
5014 ------------------------------------------------------------------------
5015 r705 | joe | 2005-09-17 12:05:21 +0100 (Sat, 17 Sep 2005) | 3 lines
5016
5017 * Makefile.in (XGETTEXT_OPTS): Explicitly mark functions taking format strings.
5018 (update-po): Pass --check-format to msgfmt.
5019
5020 ------------------------------------------------------------------------
5021 r704 | joe | 2005-09-17 12:02:37 +0100 (Sat, 17 Sep 2005) | 3 lines
5022
5023 * src/ne_request.c (body_fd_send): Avoid using macro in string passed
5024 to gettext.
5025
5026 ------------------------------------------------------------------------
5027 r698 | joe | 2005-09-14 22:11:32 +0100 (Wed, 14 Sep 2005) | 4 lines
5028
5029 * doc/ref/resphdr.xml: New file; document response header handling.
5030
5031 * doc/manual.xml: Reference it.
5032
5033 ------------------------------------------------------------------------
5034 r697 | joe | 2005-09-14 21:53:41 +0100 (Wed, 14 Sep 2005) | 3 lines
5035
5036 * Makefile.in (doc-status): Add hacky target to see what is undocumented...
5037 "for maintainer's use only".
5038
5039 ------------------------------------------------------------------------
5040 r696 | joe | 2005-09-14 21:47:45 +0100 (Wed, 14 Sep 2005) | 6 lines
5041
5042 * doc/ref/reqopts.xml: Document ne_set_request_expect100.
5043
5044 * doc/ref/opts.xml: Remove ne_set_expect100 documentation.
5045
5046 * doc/manual.xml: Pull in reqopts.xml.
5047
5048 ------------------------------------------------------------------------
5049 r695 | joe | 2005-09-14 21:40:44 +0100 (Wed, 14 Sep 2005) | 2 lines
5050
5051 * doc/ref/opts.xml: Update for neon 0.25 API.* doc/ref/opts.xml: Update for neon 0.25 API.* doc/ref/opts.xml: Update for neon 0.25 API.* doc/ref/opts.xml: Update for neon 0.25 API.* doc/ref/opts.xml: Update for neon 0.25 API.* doc/ref/opts.xml: Update for neon 0.25 API.* doc/ref/opts.xml: Update for neon 0.25 API.* doc/ref/opts.xml: Update for neon 0.25 API.
5052
5053 ------------------------------------------------------------------------
5054 r692 | joe | 2005-08-29 17:31:34 +0100 (Mon, 29 Aug 2005) | 3 lines
5055
5056 * configure.in, po/it.po: Remove translation which looks too
5057 sitecopy-specific.
5058
5059 ------------------------------------------------------------------------
5060 r691 | joe | 2005-08-29 17:29:05 +0100 (Mon, 29 Aug 2005) | 10 lines
5061
5062 * src/ne_i18n.h (ne_i18n_init): Take an encoding parameter.
5063
5064 * src/ne_i18n.c (ne_i18n_init) [HAVE_BIND_TEXTDOMAIN_CODESET]: Call
5065 bind_textdomain_codeset if encoding is specified.
5066
5067 * macros/neon.m4 (NEON_I18N): Fix to enable NLS by default. Check for
5068 bind_textdomain_codeset.
5069
5070 * test/common/tests.c (main): Pass NULL to ne_i18n_init.
5071
5072 ------------------------------------------------------------------------
5073 r680 | joe | 2005-08-19 10:24:20 +0100 (Fri, 19 Aug 2005) | 32 lines
5074
5075 Implement support for internationalization of error message:
5076
5077 * src/Makefile.in (NEON_BASEOBJS): Build ne_i18n.o.
5078
5079 * src/ne_i18n.c: Include config.h, ne_i18n.h. (ne_i18n_init): Renamed
5080 from neon_i18n_init.
5081
5082 * src/ne_i18n.h: Remove library-private definition of '_' and 'N_'
5083 macros.
5084
5085 * src/ne_internal.h: New header; add definitions of _ and N_.
5086
5087 * src/*.c: Update all sources to include ne_internal.h instead of
5088 ne_i18n.h.
5089
5090 * po/: New directory. Add message catalog template and translated
5091 message catalogs extracted from sitecopy.
5092
5093 * macros/neon-test.m4: Check for setlocale and locale.h.
5094
5095 * test/common/tests.c: Include locale.h, ne_i18n.h. (main): Call
5096 setlocale and ne_i18n_init.
5097
5098 * test/run.sh: By default disable i18n to allow checks for English
5099 error messages to succeed.
5100
5101 * .release.sh: Compile the gmo files here.
5102
5103 * macros/neon.m4 (NEON_I18N): Add macro.
5104
5105 * configure.in: Use NEON_I18N. Define ALL_LINGUAS.
5106
5107 ------------------------------------------------------------------------
5108 r679 | joe | 2005-08-19 08:24:32 +0100 (Fri, 19 Aug 2005) | 3 lines
5109
5110 * src/ne_socket.c (INADDR_NONE): Define using in_addr_t if system is
5111 missing the definition.
5112
5113 ------------------------------------------------------------------------
5114 r678 | joe | 2005-08-19 08:19:45 +0100 (Fri, 19 Aug 2005) | 7 lines
5115
5116 * src/ne_socket.c (ne_addr_resolve) [!USE_GETADDRINFO]: Use in_addr_t
5117 not unsigned long for address; fix for LP64 platforms - patch by
5118 Matthew Sanderson.
5119
5120 * macros/neon.m4 (LIBNEON_SOURCE_CHECKS): Add check for in_addr_t.
5121 Fix check for h_errno declaration.
5122
5123 ------------------------------------------------------------------------
5124 r671 | joe | 2005-08-14 18:20:23 +0100 (Sun, 14 Aug 2005) | 5 lines
5125
5126 * src/ne_locks.c (ne_lock, ne_unlock): Don't lose the NE_AUTH etc
5127 return code for non-2xx responses.
5128
5129 * test/lock.c (fail_lockauth, no_creds): Add test case.
5130
5131 ------------------------------------------------------------------------
5132 r657 | joe | 2005-07-06 12:08:21 +0100 (Wed, 06 Jul 2005) | 2 lines
5133
5134 * src/ne_redirect.c (post_send): Code cleanup.
5135
5136 ------------------------------------------------------------------------
5137 r656 | joe | 2005-07-02 12:20:11 +0100 (Sat, 02 Jul 2005) | 2 lines
5138
5139 Add Jiang.
5140
5141 ------------------------------------------------------------------------
5142 r655 | joe | 2005-07-02 12:19:44 +0100 (Sat, 02 Jul 2005) | 2 lines
5143
5144 * macros/neon.m4 (NE_MACOSX): Disable poll on Darwin.
5145
5146 ------------------------------------------------------------------------
5147 r654 | joe | 2005-07-02 12:18:37 +0100 (Sat, 02 Jul 2005) | 2 lines
5148
5149 * test/Makefile.in (VALGRIND): Update to work with modern valgrind.
5150
5151 ------------------------------------------------------------------------
5152 r651 | joe | 2005-06-30 13:17:33 +0100 (Thu, 30 Jun 2005) | 2 lines
5153
5154 * configure.in: Disable tests-install mode by default.
5155
5156 ------------------------------------------------------------------------
5157 r650 | joe | 2005-06-30 13:02:29 +0100 (Thu, 30 Jun 2005) | 2 lines
5158
5159 * src/ne_xml.c: Omit BOM handling for recent releases of libxml2.
5160
5161 ------------------------------------------------------------------------
5162 r648 | joe | 2005-06-29 09:54:11 +0100 (Wed, 29 Jun 2005) | 12 lines
5163
5164 * Makefile.in (install-tests): New target.
5165
5166 * configure.in: Add --enable-install-tests to support test suite
5167 installation; only add -no-install to TEST_LDFLAGS if not given.
5168
5169 * test/Makefile.in (install, random.txt): New targets.
5170 (LINK): Use TEST_LDFLAGS.
5171 (ZLIB_HELPERS): Add random.txt.
5172
5173 * test/compress.c (init): Use random.txt in pwd rather than trying to
5174 find NEWS from the srcdir.
5175
5176 ------------------------------------------------------------------------
5177 r636 | joe | 2005-06-22 09:21:48 +0100 (Wed, 22 Jun 2005) | 17 lines
5178
5179 Merge r627, r629, r631 from 0.25.x branch:
5180
5181 * src/ne_auth.c (ah_post_send): Print auth_hdr safely.
5182 Remove unused SAFELY macro.
5183
5184 * src/ne_compress.c (process_footer): Don't invoke reader callback
5185 with len=0 here as well when end-of-response is really reached.
5186 (do_inflate): Do pass on the reader callback return value.
5187
5188 * test/compress.c (reader): Catch multiple invocations with len=0.
5189 (retry_accept): Reset the reader state.
5190 (reader_abort, compress_abort): New functions.
5191
5192 * src/ne_xml.c (end_element): Use NE_DBG_XML debug channel for
5193 consistency.
5194
5195
5196 ------------------------------------------------------------------------
5197 r635 | joe | 2005-06-22 09:14:15 +0100 (Wed, 22 Jun 2005) | 2 lines
5198
5199 * config.hw.in: Really fix the Win32 build.
5200
5201 ------------------------------------------------------------------------
5202 r624 | joe | 2005-06-01 10:13:16 +0100 (Wed, 01 Jun 2005) | 3 lines
5203
5204 * src/ne_openssl.c (ne__negotiate_ssl): Replace the cached session
5205 with the new one if they differ; based on patch by Robert Eiglmaier.
5206
5207 ------------------------------------------------------------------------
5208 r623 | joe | 2005-06-01 10:10:12 +0100 (Wed, 01 Jun 2005) | 5 lines
5209
5210 * src/ne_basic.c (ne_get_content_type): Ensure that ->charset is NULL
5211 on exit (Johannes Schneider).
5212
5213 * test/basic.c (content_type): Test that all fields are set.
5214
5215 ------------------------------------------------------------------------
5216 r622 | joe | 2005-05-20 01:56:31 +0100 (Fri, 20 May 2005) | 3 lines
5217
5218 * src/ne_xml.c (start_element): Use NE_DBG_XML debug constant.
5219 (ne_xml_parse): Use NE_DBG_XMLPARSE debug constant.
5220
5221 ------------------------------------------------------------------------
5222 r621 | joe | 2005-05-20 01:44:36 +0100 (Fri, 20 May 2005) | 2 lines
5223
5224 * src/ne_xml.c (char_data): Tidy up debug message.
5225
5226 ------------------------------------------------------------------------
5227 r619 | joe | 2005-05-19 22:06:55 +0100 (Thu, 19 May 2005) | 2 lines
5228
5229 Updates.
5230
5231 ------------------------------------------------------------------------
5232 r618 | joe | 2005-05-19 22:04:27 +0100 (Thu, 19 May 2005) | 3 lines
5233
5234 * src/ne_request.h (ne_hook_post_send): Clarify when the post_send
5235 hook runs.
5236
5237 ------------------------------------------------------------------------
5238 r616 | joe | 2005-05-14 12:35:50 +0100 (Sat, 14 May 2005) | 2 lines
5239
5240 Credit Vladimir.
5241
5242 ------------------------------------------------------------------------
5243 r615 | joe | 2005-05-14 12:35:22 +0100 (Sat, 14 May 2005) | 2 lines
5244
5245 * src/ne_auth.c: Fix Windows SSPI build.
5246
5247 ------------------------------------------------------------------------
5248 r614 | joe | 2005-05-12 15:24:53 +0100 (Thu, 12 May 2005) | 3 lines
5249
5250 * INSTALL.win32: Update to reference 0.9.7g from confirmation from
5251 David Reid.
5252
5253 ------------------------------------------------------------------------
5254 r613 | joe | 2005-05-11 16:07:05 +0100 (Wed, 11 May 2005) | 3 lines
5255
5256 * src/ne_string.c (b64_alphabet): Use constant array; eliminate last
5257 sizeof(pointer)'s worth of data section in libneon.
5258
5259 ------------------------------------------------------------------------
5260 r612 | joe | 2005-05-11 16:01:03 +0100 (Wed, 11 May 2005) | 3 lines
5261
5262 * src/ne_dates.c (rfc1123_weekdays, short_months): Mark pointers as
5263 const.
5264
5265 ------------------------------------------------------------------------
5266 r611 | joe | 2005-05-09 15:28:47 +0100 (Mon, 09 May 2005) | 2 lines
5267
5268 * src/ne_request.h: Fix nonsensical API requirement.
5269
5270 ------------------------------------------------------------------------
5271 r608 | joe | 2005-05-06 15:25:41 +0100 (Fri, 06 May 2005) | 3 lines
5272
5273 Fix the feature name, thanks to the report on the evening
5274 news from a Mr Fogel.
5275
5276 ------------------------------------------------------------------------
5277 r599 | joe | 2005-04-24 19:34:46 +0100 (Sun, 24 Apr 2005) | 4 lines
5278
5279 * macros/neon.m4 (NE_REQUIRE_VERSIONS): New macro, replacing
5280 NEON_REQUIRE. (NEON_CHECK_VERSION): Just check version against that
5281 reported by 'neon-config --version'; support multiple minor versions.
5282
5283 ------------------------------------------------------------------------
5284 r593 | joe | 2005-04-24 11:54:55 +0100 (Sun, 24 Apr 2005) | 2 lines
5285
5286 * neon-config.in: Remove idna support flag.
5287
5288 ------------------------------------------------------------------------
5289 r592 | joe | 2005-04-24 11:51:15 +0100 (Sun, 24 Apr 2005) | 2 lines
5290
5291 Synch with 0.25.x branch.
5292
5293 ------------------------------------------------------------------------
5294 r588 | joe | 2005-04-24 11:06:37 +0100 (Sun, 24 Apr 2005) | 2 lines
5295
5296 * test/stubs.c [!NE_HAVE_ZLIB] (sd_reader): Fix to match prototype.
5297
5298 ------------------------------------------------------------------------
5299 r586 | joe | 2005-04-24 09:00:59 +0100 (Sun, 24 Apr 2005) | 3 lines
5300
5301 * test/request.c (send_bad_offset): Use an empty file and a negative
5302 offset rather than /dev/null.
5303
5304 ------------------------------------------------------------------------
5305 r585 | joe | 2005-04-24 08:56:46 +0100 (Sun, 24 Apr 2005) | 2 lines
5306
5307 * macros/neon.m4 (NEON_WARNINGS): Tweak gcc warnings.
5308
5309 ------------------------------------------------------------------------
5310 r584 | joe | 2005-04-24 08:55:34 +0100 (Sun, 24 Apr 2005) | 2 lines
5311
5312 * src/Makefile.in (c++.c): Fix to exclude ne_privssl.h too.
5313
5314 ------------------------------------------------------------------------
5315 r582 | joe | 2005-04-17 22:29:56 +0100 (Sun, 17 Apr 2005) | 2 lines
5316
5317 * Makefile.in (DIST_HEADERS): Do install ne_xmlreq.h.
5318
5319 ------------------------------------------------------------------------
5320 r579 | joe | 2005-04-17 21:54:37 +0100 (Sun, 17 Apr 2005) | 2 lines
5321
5322 * src/ne_stubssl.c (ne_ssl_clicert_name): Match new prototype.
5323
5324 ------------------------------------------------------------------------
5325 r577 | joe | 2005-04-17 17:05:27 +0100 (Sun, 17 Apr 2005) | 6 lines
5326
5327 Merge r576 from 0.25.x branch:
5328
5329 * config.hw.in: Define the correct version macros.
5330
5331 * .release.sh: Substitute release correctly.
5332
5333 ------------------------------------------------------------------------
5334 r574 | joe | 2005-04-17 16:43:25 +0100 (Sun, 17 Apr 2005) | 2 lines
5335
5336 * src/ne_openssl.c (check_identity): Fix typo.
5337
5338 ------------------------------------------------------------------------
5339 r571 | joe | 2005-04-16 17:24:56 +0100 (Sat, 16 Apr 2005) | 2 lines
5340
5341 * src/ne_alloc.c (ne_realloc_ml): Fix realloc tracking.
5342
5343 ------------------------------------------------------------------------
5344 r570 | joe | 2005-04-15 15:33:04 +0100 (Fri, 15 Apr 2005) | 4 lines
5345
5346 Fix further memory leak found by --enable-memleak:
5347
5348 * src/ne_openssl.c (check_identity): Destroy buffer on error path.
5349
5350 ------------------------------------------------------------------------
5351 r569 | joe | 2005-04-15 14:45:32 +0100 (Fri, 15 Apr 2005) | 6 lines
5352
5353 Fix memory leaks found by --enable-memleak:
5354
5355 * src/ne_openssl.c (check_identity): Destroy buffer on error path.
5356
5357 * test/request.c (iterate_many): Destroy temp buffer.
5358
5359 ------------------------------------------------------------------------
5360 r568 | joe | 2005-04-15 02:23:13 +0100 (Fri, 15 Apr 2005) | 5 lines
5361
5362 * src/ne_request.c (body_fd_send): Set session error string if seek
5363 fails, per new interface requirement.
5364
5365 * test/request.c (send_bad_offset): New test.
5366
5367 ------------------------------------------------------------------------
5368 r567 | joe | 2005-04-15 02:19:34 +0100 (Fri, 15 Apr 2005) | 4 lines
5369
5370 * src/ne_request.h: Improve general comments.
5371 (ne_request_dispatch, ne_set_request_expect100): Clarify.
5372 (ne_get_session): Mark as const.
5373
5374 ------------------------------------------------------------------------
5375 r563 | joe | 2005-04-14 20:05:53 +0100 (Thu, 14 Apr 2005) | 2 lines
5376
5377 * neon-config.in: Fix syntax error.
5378
5379 ------------------------------------------------------------------------
5380 r562 | joe | 2005-04-14 20:04:50 +0100 (Thu, 14 Apr 2005) | 3 lines
5381
5382 * Makefile.in (DIST_HEADERS): Don't try to install non-existant
5383 ne_cookies.h.
5384
5385 ------------------------------------------------------------------------
5386 r560 | joe | 2005-04-14 19:44:56 +0100 (Thu, 14 Apr 2005) | 3 lines
5387
5388 * test/util-tests.c (versioning): Update for new macros, correct
5389 interface.
5390
5391 ------------------------------------------------------------------------
5392 r559 | joe | 2005-04-11 14:55:45 +0100 (Mon, 11 Apr 2005) | 4 lines
5393
5394 * src/ne_ssl.h (ne_ssl_clicert_name): Take const clicert argument.
5395
5396 * src/ne_openssl.c, src/ne_gnutls.c: Adapt likewise.
5397
5398 ------------------------------------------------------------------------
5399 r558 | joe | 2005-04-06 09:07:18 +0100 (Wed, 06 Apr 2005) | 5 lines
5400
5401 * configure.in: Use NE_VERSIONS_BUNDLED.
5402
5403 * src/ne_utils.c (ne_version_match): Update for new version macros;
5404 make behaviour and docs match reference documentation.
5405
5406 ------------------------------------------------------------------------
5407 r554 | joe | 2005-04-05 20:22:40 +0100 (Tue, 05 Apr 2005) | 5 lines
5408
5409 * macros/neon.m4 (NE_DEFINE_VERSIONS): New macro.
5410 (NE_VERSIONS_BUNDLED): Renamed from NEON_VERSIONS; use
5411 NE_DEFINE_VERSIONS.
5412 (NEON_USE_EXTERNAL): Use NE_DEFINE_VERSIONS.
5413
5414 ------------------------------------------------------------------------
5415 r553 | joe | 2005-04-05 16:02:49 +0100 (Tue, 05 Apr 2005) | 2 lines
5416
5417 * src/Makefile.in: Add deps for ne_xmlreq.c.
5418
5419 ------------------------------------------------------------------------
5420 r551 | joe | 2005-04-05 11:19:42 +0100 (Tue, 05 Apr 2005) | 2 lines
5421
5422 Update.
5423
5424 ------------------------------------------------------------------------
5425 r550 | joe | 2005-04-05 11:19:16 +0100 (Tue, 05 Apr 2005) | 2 lines
5426
5427 * src/ne_request.h: Improve comment wording.
5428
5429 ------------------------------------------------------------------------
5430 r549 | joe | 2005-04-05 00:50:26 +0100 (Tue, 05 Apr 2005) | 2 lines
5431
5432 Fix typo.
5433
5434 ------------------------------------------------------------------------
5435 r548 | joe | 2005-04-04 21:01:56 +0100 (Mon, 04 Apr 2005) | 2 lines
5436
5437 Updates.
5438
5439 ------------------------------------------------------------------------
5440 r547 | joe | 2005-04-04 20:51:33 +0100 (Mon, 04 Apr 2005) | 3 lines
5441
5442 * test/uri-tests.c (leak_authinfo): Remove test; API now clarified
5443 such that current implementation is valid.
5444
5445 ------------------------------------------------------------------------
5446 r546 | joe | 2005-04-04 20:50:36 +0100 (Mon, 04 Apr 2005) | 2 lines
5447
5448 * src/ne_uri.h (ne_uri_free, ne_uri_parse): Clarify API.
5449
5450 ------------------------------------------------------------------------
5451 r545 | joe | 2005-04-04 20:40:08 +0100 (Mon, 04 Apr 2005) | 4 lines
5452
5453 * src/ne_alloc.c, src/ne_alloc.h (ne_oom_callback): Use a typedef for
5454 the callback argument, to fix warnings with OpenWatcom; patch by
5455 Vitali E. Pelenyov.
5456
5457 ------------------------------------------------------------------------
5458 r544 | joe | 2005-04-04 20:34:26 +0100 (Mon, 04 Apr 2005) | 4 lines
5459
5460 * src/ne_request.c (add_fixed_headers): Send "close" token in
5461 Connection header if persistent connections are disabled; patch by Tom
5462 Hoefakker. Use ne_buffer_czappend throughout.
5463
5464 ------------------------------------------------------------------------
5465 r542 | joe | 2005-04-04 18:32:15 +0100 (Mon, 04 Apr 2005) | 6 lines
5466
5467 * test/xmlreq.c: New file.
5468
5469 * test/Makefile.in: Build it.
5470
5471 * test/utils.h: Include child.h.
5472
5473 ------------------------------------------------------------------------
5474 r541 | joe | 2005-04-04 18:30:50 +0100 (Mon, 04 Apr 2005) | 8 lines
5475
5476 * src/ne_xmlreq.h (ne_xml_parse_response, ne_xml_dispatch_request):
5477 Specify that session error string is set for XML parse errors.
5478
5479 * src/ne_xmlreq.c (parse_error): New function.
5480 (ne_xml_parse_response): On successful end-of-response, tell
5481 the the XML parser the end of the document is reached. Use
5482 parse_error() for error handling.
5483
5484 ------------------------------------------------------------------------
5485 r540 | joe | 2005-04-04 14:49:25 +0100 (Mon, 04 Apr 2005) | 2 lines
5486
5487 * src/ne_socket.c (ne_service_lookup): Remove function.
5488
5489 ------------------------------------------------------------------------
5490 r531 | joe | 2005-03-19 22:30:43 +0000 (Sat, 19 Mar 2005) | 2 lines
5491
5492 * test/request.c: Remove idna_hostname; missed in previous commit.
5493
5494 ------------------------------------------------------------------------
5495 r530 | joe | 2005-03-19 22:19:37 +0000 (Sat, 19 Mar 2005) | 7 lines
5496
5497 Avoid use of "read" and "write" since POSIX owns these names and
5498 allows them to be macros.
5499
5500 * src/ne_socket.c (struct iofns): Rename read and write functions to
5501 sread and swrite.
5502 (ne_sock_read, ne_sock_peek, ne_sock_fullwrite, ne_sock_readline): Synch.
5503
5504 ------------------------------------------------------------------------
5505 r529 | joe | 2005-03-19 21:24:27 +0000 (Sat, 19 Mar 2005) | 2 lines
5506
5507 * src/ne_uri.c (uri_paths): Fix URI encoding default.
5508
5509 ------------------------------------------------------------------------
5510 r518 | joe | 2005-03-05 09:14:59 +0000 (Sat, 05 Mar 2005) | 11 lines
5511
5512 Remove support for IDNA: IDNA really needs to be done at application
5513 level.
5514
5515 * macros/neon.m4 (NEON_LIBIDN): Remove.
5516
5517 * src/ne_session.c (set_hostinfo): Remove IDNA support.
5518
5519 * src/ne_utils.c, src/ne_utils.h: Don't advertise IDNA feature.
5520
5521 * test/util-tests.c, test/request.c: Remove IDNA tests.
5522
5523 ------------------------------------------------------------------------
5524 r517 | joe | 2005-03-03 19:25:11 +0000 (Thu, 03 Mar 2005) | 3 lines
5525
5526 * src/ne_socket.c (NE_ISRESET): Also treat ENOTCONN as a "connection
5527 reset" error.
5528
5529 ------------------------------------------------------------------------
5530 r516 | joe | 2005-03-03 19:20:03 +0000 (Thu, 03 Mar 2005) | 3 lines
5531
5532 * macros/neon-xml-parser.m4 (NEON_XML_PARSER): Default to detect
5533 expat; fall back on libxml2.
5534
5535 ------------------------------------------------------------------------
5536 r515 | joe | 2005-03-03 19:11:45 +0000 (Thu, 03 Mar 2005) | 3 lines
5537
5538 * macros/neon.m4 (NEON_SSL): Disable GNU TLS support for the 0.25.0
5539 release, since it's not complete yet.
5540
5541 ------------------------------------------------------------------------
5542 r512 | joe | 2005-02-28 14:17:09 +0000 (Mon, 28 Feb 2005) | 2 lines
5543
5544 Note string type changes.
5545
5546 ------------------------------------------------------------------------
5547 r511 | joe | 2005-02-28 14:16:24 +0000 (Mon, 28 Feb 2005) | 5 lines
5548
5549 Missed in previous commit:
5550
5551 * src/ne_ssl.h (ne_ssl_cert_identity, ne_ssl_cert_name): Define to
5552 return UTF-8 only.
5553
5554 ------------------------------------------------------------------------
5555 r510 | joe | 2005-02-28 14:15:59 +0000 (Mon, 28 Feb 2005) | 9 lines
5556
5557 * src/ne_ssl.h (ne_ssl_cert_identity, ne_ssl_cert_name): Define to
5558 return UTF-8 only.
5559
5560 * src/ne_openssl.c (append_dirstring): Factor out from
5561 ne_ssl_readable_dname. (ne_ssl_readable_dname): Use factored-out
5562 version. (dup_ia5string): New function.
5563 (check_identity): Use append_dirstring to convert commonName
5564 to UTF-8 if necessary; use dup_ia5string.
5565
5566 ------------------------------------------------------------------------
5567 r509 | joe | 2005-02-28 14:09:02 +0000 (Mon, 28 Feb 2005) | 9 lines
5568
5569 * src/ne_ssl.h (ne_ssl_cert_identity, ne_ssl_cert_name): Define to
5570 return UTF-8 only.
5571
5572 * src/ne_openssl.c (append_dirstring): Factor out from
5573 ne_ssl_readable_dname. (ne_ssl_readable_dname): Use factored-out
5574 version. (dup_ia5string): New function.
5575 (check_identity): Use append_dirstring to convert commonName
5576 to UTF-8 if necessary; use dup_ia5string.
5577
5578 ------------------------------------------------------------------------
5579 r508 | joe | 2005-02-28 11:54:17 +0000 (Mon, 28 Feb 2005) | 2 lines
5580
5581 * test/xml.c (matches): Test that with-BOM without-prolog also parses.
5582
5583 ------------------------------------------------------------------------
5584 r507 | joe | 2005-02-28 11:53:39 +0000 (Mon, 28 Feb 2005) | 3 lines
5585
5586 * src/ne_xml.c (ne_xml_parser_s, ne_xml_parse): Conditionalize BOM
5587 handling to expat <= 1.95.2 and all current versions of libxml2.
5588
5589 ------------------------------------------------------------------------
5590 r506 | joe | 2005-02-28 11:07:11 +0000 (Mon, 28 Feb 2005) | 2 lines
5591
5592 * test/compress.c: Fix signedness warning.
5593
5594 ------------------------------------------------------------------------
5595 r505 | joe | 2005-02-28 11:03:42 +0000 (Mon, 28 Feb 2005) | 3 lines
5596
5597 * test/socket.c (addr_compare): Fix to pass real raw addresses and
5598 fixed signedness warnings.
5599
5600 ------------------------------------------------------------------------
5601 r504 | joe | 2005-02-28 10:54:28 +0000 (Mon, 28 Feb 2005) | 2 lines
5602
5603 Add ne_get_content_type change and reshuffle.
5604
5605 ------------------------------------------------------------------------
5606 r503 | joe | 2005-02-28 10:52:09 +0000 (Mon, 28 Feb 2005) | 3 lines
5607
5608 * src/ne_basic.h (ne_get_content_type): Clarify that all fields will
5609 be non-NULL on success.
5610
5611 ------------------------------------------------------------------------
5612 r502 | joe | 2005-02-26 19:57:19 +0000 (Sat, 26 Feb 2005) | 2 lines
5613
5614 Note provider-callback error handling API change; fixed bug.
5615
5616 ------------------------------------------------------------------------
5617 r501 | joe | 2005-02-26 19:56:24 +0000 (Sat, 26 Feb 2005) | 14 lines
5618
5619
5620 * src/ne_private.h (ne__pull_request_body): Remove prototype.
5621
5622 * src/ne_request.h: Require that request-body-provider callback sets
5623 the session error string if returning errors.
5624
5625 * src/ne_request.c (struct ne_request_s): Remove body_progress field.
5626 (send_request_body): Combine old ne__pull_request_body,
5627 send_request_body and send_with_progress functions into one. Fix
5628 error handling confusion between provider errors and socket errors;
5629 move NE_RETRY handling here and take a retry flag. (send_request):
5630 Update to pass retry flag to send_request_body and remove NE_RETRY
5631 handling on errors from same.
5632
5633 ------------------------------------------------------------------------
5634 r500 | joe | 2005-02-26 19:24:49 +0000 (Sat, 26 Feb 2005) | 1 line
5635
5636 Ignore ChangeLog
5637 ------------------------------------------------------------------------
5638 r499 | joe | 2005-02-26 19:23:52 +0000 (Sat, 26 Feb 2005) | 3 lines
5639
5640 ne_lock_refresh does now DTRT, and D.J.'s cunningly borked proxy
5641 should now be handled.
5642
5643 ------------------------------------------------------------------------
5644 r498 | joe | 2005-02-26 19:22:31 +0000 (Sat, 26 Feb 2005) | 6 lines
5645
5646 * src/ne_request.h: Remove EOL definition, namespace violation.
5647
5648 * test/stubs.c, test/lock.c, test/auth.c, src/ne_request.c,
5649 src/ne_request.h, src/ne_props.c, src/ne_acl.c, src/ne_locks.c: Define
5650 EOL.
5651
5652 ------------------------------------------------------------------------
5653 r497 | joe | 2005-02-26 19:16:14 +0000 (Sat, 26 Feb 2005) | 3 lines
5654
5655 * src/ne_locks.c (ne_lock_refresh): Always update timeout of passed-in
5656 lock structure, even if new timeout is unknown.
5657
5658 ------------------------------------------------------------------------
5659 r496 | joe | 2005-02-26 19:10:19 +0000 (Sat, 26 Feb 2005) | 2 lines
5660
5661 ne_uri_escape escaping rules updated.
5662
5663 ------------------------------------------------------------------------
5664 r495 | joe | 2005-02-26 19:09:52 +0000 (Sat, 26 Feb 2005) | 2 lines
5665
5666 * src/ne_uri.h (ne_path_escape): Fix grammar.
5667
5668 ------------------------------------------------------------------------
5669 r494 | joe | 2005-02-26 19:02:53 +0000 (Sat, 26 Feb 2005) | 4 lines
5670
5671 * ChangeLog.CVS: Renamed from ChangeLog.
5672
5673 * Makefile.in (ChangeLog): New target.
5674
5675 ------------------------------------------------------------------------
5676 r493 | joe | 2005-02-26 18:58:46 +0000 (Sat, 26 Feb 2005) | 2 lines
5677
5678 * macros/neon.m4 (NE_SNPRINTF): Use new trio URL.
5679
5680 ------------------------------------------------------------------------
5681 r492 | joe | 2005-02-26 18:57:32 +0000 (Sat, 26 Feb 2005) | 3 lines
5682
5683 * src/ne_socket.c (init_ssl): Call OpenSSL_add_all_algorithms instead
5684 of the specific PKCS12_PBE_add.
5685
5686 ------------------------------------------------------------------------
5687 r488 | joe | 2005-02-24 14:42:09 +0000 (Thu, 24 Feb 2005) | 4 lines
5688
5689 * src/ne_auth.c (clean_session, make_gss_error, free_auth): Fixed
5690 signdness mismatch warnings from GSSAPI code; always use unsigned
5691 integers for error codes.
5692
5693 ------------------------------------------------------------------------
5694 r483 | joe | 2005-02-24 14:05:44 +0000 (Thu, 24 Feb 2005) | 2 lines
5695
5696 * macros/neon.m4 (NEON_FORMAT): Support type arguments with spaces.
5697
5698 ------------------------------------------------------------------------
5699 r481 | joe | 2005-02-14 16:07:35 +0000 (Mon, 14 Feb 2005) | 3 lines
5700
5701 * configure.in: Just AC_DEFINE NEON_IS_LIBRARY; update copyright
5702 notice; be less noisy.
5703
5704 ------------------------------------------------------------------------
5705 r480 | joe | 2005-02-14 16:02:58 +0000 (Mon, 14 Feb 2005) | 2 lines
5706
5707 * Makefile.in (clean, subdirs, check): Be less noisy.
5708
5709 ------------------------------------------------------------------------
5710 r479 | joe | 2005-02-14 15:43:27 +0000 (Mon, 14 Feb 2005) | 10 lines
5711
5712 * common/tests.c (W): Suppress glibc warn_unused_result annoyance.
5713 (W_RED): New macro. (child_segv): Use W_RED; do dump core.
5714 (parent_segv): Rename from segv; don't call async-signal-unsafe
5715 fflush(); use W_RED; sleep after kill();
5716 (in_child, main): Install signal handlers for SIGABRT as well
5717 as SIGSEGV.
5718
5719 * common/child.c (server_child, spawn_server_repeat): Suppress glibc
5720 warn_unused_result annoyance; abort if write() fails.
5721
5722 ------------------------------------------------------------------------
5723 r477 | joe | 2005-02-11 13:15:22 +0000 (Fri, 11 Feb 2005) | 2 lines
5724
5725 * neon-config.in (--libs): Don't print -L$libdir if $prefix==/usr.
5726
5727 ------------------------------------------------------------------------
5728 r464 | joe | 2005-01-27 22:27:26 +0000 (Thu, 27 Jan 2005) | 3 lines
5729
5730 * test/uri-tests.c (leak_authinfo): Add expected-leaky test for
5731 ne_uri_parse leak.
5732
5733 ------------------------------------------------------------------------
5734 r463 | joe | 2005-01-27 22:13:10 +0000 (Thu, 27 Jan 2005) | 3 lines
5735
5736 * src/ne_auth.c: Only include ne_private.h for GSSAPI code.
5737 (digest_body): Remove function.
5738
5739 ------------------------------------------------------------------------
5740 r462 | joe | 2005-01-27 22:04:44 +0000 (Thu, 27 Jan 2005) | 7 lines
5741
5742 * src/ne_auth.c: Drop qop=auth-int support, sice it is universally
5743 unimplemented by servers and comes with too much baggage. (struct
5744 auth_challenge): Drop qop_auth_int field. (digest_challenge,
5745 request_digest, verify_digest_response, auth_challenge, ah_pre_send):
5746 Drop qop=auth-int support.
5747 (auth_body_reader): Remove function.
5748
5749 ------------------------------------------------------------------------
5750 r461 | joe | 2005-01-27 21:56:19 +0000 (Thu, 27 Jan 2005) | 2 lines
5751
5752 * src/ne_locks.c (ne_lock): Use ne_xml_dispatch_request.
5753
5754 ------------------------------------------------------------------------
5755 r460 | joe | 2005-01-27 21:50:32 +0000 (Thu, 27 Jan 2005) | 1 line
5756
5757 News updates.
5758 ------------------------------------------------------------------------
5759 r459 | joe | 2005-01-27 20:05:25 +0000 (Thu, 27 Jan 2005) | 2 lines
5760
5761 * neon.mak: Conditionally enable SSPI support (Vladimir).
5762
5763 ------------------------------------------------------------------------
5764 r458 | joe | 2005-01-27 20:04:39 +0000 (Thu, 27 Jan 2005) | 2 lines
5765
5766 * test/cookies.c: Remove file.
5767
5768 ------------------------------------------------------------------------
5769 r457 | joe | 2005-01-27 20:03:53 +0000 (Thu, 27 Jan 2005) | 11 lines
5770
5771 Fix SSPI code so that it compiles for Win32 (Vladimir):
5772
5773 * src/ne_sspi.h (ne_sspi_deinit): fixed return type.
5774
5775 * src/ne_sspi.c: Added preprocessor check HAVE_SSPI to allow compilation
5776 without SSPI.
5777 (getMaxTokenSize): removed const qualifier for package parameter because
5778 it has to be passed to a function that takes a not const reference.
5779 (ne_sspi_init, ne_sspi_deinit): Match the function names to the correct
5780 functions.
5781
5782 ------------------------------------------------------------------------
5783 r456 | joe | 2005-01-27 20:01:48 +0000 (Thu, 27 Jan 2005) | 2 lines
5784
5785 * neon.mak: Don't build ne_cookies.c (Vladimir).
5786
5787 ------------------------------------------------------------------------
5788 r450 | joe | 2005-01-26 16:22:26 +0000 (Wed, 26 Jan 2005) | 2 lines
5789
5790 * src/ne_session.h (ne_set_persist): Clarify lifetime of addrs array.
5791
5792 ------------------------------------------------------------------------
5793 r449 | joe | 2005-01-26 14:36:02 +0000 (Wed, 26 Jan 2005) | 7 lines
5794
5795 * src/ne_uri.h (ne_path_escape): Define to percent-encode any
5796 characters barring unreserved and forward-slash.
5797
5798 * src/ne_uri.c (uri_chars): Update to use RF3986 grammar productions.
5799 (path_escape_ch): Replaces ESCAPE. (ne_path_escape): Clean up, use
5800 new path_escape_ch.
5801
5802 ------------------------------------------------------------------------
5803 r448 | joe | 2005-01-26 09:23:36 +0000 (Wed, 26 Jan 2005) | 2 lines
5804
5805 * src/ne_auth.c (get_gss_name): Remove redundant buffer initilization.
5806
5807 ------------------------------------------------------------------------
5808 r446 | joe | 2005-01-22 00:00:54 +0000 (Sat, 22 Jan 2005) | 4 lines
5809
5810 * src/ne_request.c (read_message_header, read_response_headers):
5811 Clarify that both functions guarantee to close the connection on
5812 error.
5813
5814 ------------------------------------------------------------------------
5815 r445 | joe | 2005-01-21 23:54:36 +0000 (Fri, 21 Jan 2005) | 3 lines
5816
5817 * test/request.c (fail_on_invalid): Test for chunk size overflow and
5818 EOF-at-chunk-size cases.
5819
5820 ------------------------------------------------------------------------
5821 r444 | joe | 2005-01-21 23:47:55 +0000 (Fri, 21 Jan 2005) | 3 lines
5822
5823 * test/request.c (fail_on_invalid): Rename from fail_corrupt_chunks;
5824 test for invalid C-L in response.
5825
5826 ------------------------------------------------------------------------
5827 r443 | joe | 2005-01-21 23:41:42 +0000 (Fri, 21 Jan 2005) | 4 lines
5828
5829 * src/ne_request.c (ne_begin_request): Reorder message-length logic to
5830 avoid doing unnecessary work. Fail rather than ignore an invalid
5831 Content-Length response header.
5832
5833 ------------------------------------------------------------------------
5834 r442 | joe | 2005-01-21 23:38:57 +0000 (Fri, 21 Jan 2005) | 3 lines
5835
5836 * Makefile.in (cover): Remove all .*da files before running coverage
5837 testing to avoid gcda merge errors.
5838
5839 ------------------------------------------------------------------------
5840 r441 | joe | 2005-01-21 17:41:00 +0000 (Fri, 21 Jan 2005) | 1 line
5841
5842 Tweak comment.
5843 ------------------------------------------------------------------------
5844 r440 | joe | 2005-01-21 17:28:19 +0000 (Fri, 21 Jan 2005) | 3 lines
5845
5846 * src/ne_request.h (ne_get_response_header,
5847 ne_response_header_iterate): Clarify API guarantees.
5848
5849 ------------------------------------------------------------------------
5850 r439 | joe | 2005-01-21 17:23:06 +0000 (Fri, 21 Jan 2005) | 7 lines
5851
5852 Add a response-header iterator interface, needed by OpenOffice:
5853
5854 * src/ne_request.c (struct ne_request_s): Add current_index field.
5855 (ne_response_header_iterate): New function.
5856
5857 * test/request.c (iterate_many, iterate_none): New tests.
5858
5859 ------------------------------------------------------------------------
5860 r438 | joe | 2005-01-21 16:28:52 +0000 (Fri, 21 Jan 2005) | 2 lines
5861
5862 * src/ne_request.c (struct field): Remove unused valloc field.
5863
5864 ------------------------------------------------------------------------
5865 r437 | joe | 2005-01-21 16:25:12 +0000 (Fri, 21 Jan 2005) | 5 lines
5866
5867 * src/ne_request.c (ne_begin_request): Fix a case where NE_RETRY could
5868 be leaked to the caller if a connection was left open then
5869 ne_set_persist(sess, 0) was called immediately before a request was
5870 sent but suffered a persistent connection timeout.
5871
5872 ------------------------------------------------------------------------
5873 r436 | joe | 2005-01-21 16:19:05 +0000 (Fri, 21 Jan 2005) | 5 lines
5874
5875 * src/ne_request.c (HTTP_ERR, HTTP_EXPECT_*): Remove now-unused
5876 macros. (ne_begin_request, ne_end_request, ne_request_dispatch):
5877 Expand HTTP_ERR usage.
5878
5879
5880 ------------------------------------------------------------------------
5881 r435 | joe | 2005-01-21 16:08:53 +0000 (Fri, 21 Jan 2005) | 3 lines
5882
5883 * test/compress.c (tests): retry_notcompress passes since
5884 response-header-handling fixes.
5885
5886 ------------------------------------------------------------------------
5887 r434 | joe | 2005-01-21 16:07:05 +0000 (Fri, 21 Jan 2005) | 3 lines
5888
5889 * src/ne_request.c (send_request): Code cleanups, no functional
5890 change.
5891
5892 ------------------------------------------------------------------------
5893 r433 | joe | 2005-01-21 16:03:28 +0000 (Fri, 21 Jan 2005) | 2 lines
5894
5895 * src/ne_request.c (ne_request_create): Remove some debugging noise.
5896
5897 ------------------------------------------------------------------------
5898 r432 | joe | 2005-01-21 15:59:37 +0000 (Fri, 21 Jan 2005) | 3 lines
5899
5900 * src/ne_request.c (open_connection): Only call ne_close_connection in
5901 ne__negotiate_ssl failure case.
5902
5903 ------------------------------------------------------------------------
5904 r431 | joe | 2005-01-21 15:54:26 +0000 (Fri, 21 Jan 2005) | 2 lines
5905
5906 * neon.mak: Build ne_xmlreq.c.
5907
5908 ------------------------------------------------------------------------
5909 r430 | joe | 2005-01-20 22:04:23 +0000 (Thu, 20 Jan 2005) | 15 lines
5910
5911 Windows SSPI NTLM/Negotiate implementation from Vladimir Berezniker:
5912
5913 * config.hw.in: Define HAVE_SSPI.
5914
5915 * src/ne_sspi.c, src/ne_sspi.h: New files.
5916
5917 * src/ne_auth.c (auth_scheme): Add new schemes to enum.
5918 [HAVE_SSPI] (auth_session): Add sspi_token, sspi_context fields.
5919 (clean_session): Clean up sspi fields.
5920 (request_sspi, sspi_challenge): New functions.
5921 (auth_challenge, ah_pre_send): Handle Negotiate/NTLM-using-SSPI schemes.
5922
5923 * src/ne_socket.c [HAVE_SSPI] (ne_sock_init, ne_sock_exit):
5924 Initialize/de-initialize SSPI global state.
5925
5926 ------------------------------------------------------------------------
5927 r429 | joe | 2005-01-13 19:00:13 +0000 (Thu, 13 Jan 2005) | 2 lines
5928
5929 Reorganise.
5930
5931 ------------------------------------------------------------------------
5932 r428 | joe | 2005-01-13 18:53:33 +0000 (Thu, 13 Jan 2005) | 6 lines
5933
5934 Re-drop ne_cookies.[ch], change lost in CVS conversion somehow:
5935
5936 * ne_cookies.c, ne_cookies.h: Drop cookies support: used old spec
5937 revision and wasn't very complete anyway.
5938
5939
5940 ------------------------------------------------------------------------
5941 r427 | joe | 2005-01-13 18:51:53 +0000 (Thu, 13 Jan 2005) | 2 lines
5942
5943 * test/string-tests.c (append): Test ne_buffer_czappend.
5944
5945 ------------------------------------------------------------------------
5946 r426 | joe | 2005-01-13 18:44:00 +0000 (Thu, 13 Jan 2005) | 7 lines
5947
5948 Fixes for some warnings from Solaris cc:
5949
5950 * src/ne_openssl.c (ne_ssl_clicert_read): Pass an int not an unsigned
5951 int to X509_alias_get0.
5952 (ne_ssl_cert_export): Use a char * for the ne_base64 return value to fix
5953 signed-vs-unsigned mismatch.
5954
5955 ------------------------------------------------------------------------
5956 r425 | joe | 2005-01-09 13:45:09 +0000 (Sun, 09 Jan 2005) | 2 lines
5957
5958 * src/ne_string.h (ne_buffer_czappend): New macro.
5959
5960 ------------------------------------------------------------------------
5961 r424 | joe | 2005-01-09 13:06:22 +0000 (Sun, 09 Jan 2005) | 3 lines
5962
5963 * src/ne_request.c (free_response_headers): Adjust code style, no
5964 functional change.
5965
5966 ------------------------------------------------------------------------
5967 r414 | joe | 2005-01-07 15:12:17 +0000 (Fri, 07 Jan 2005) | 6 lines
5968
5969 * src/ne_locks.c (lk_startelm): Set timeout of active lock to
5970 NE_TIMEOUT_INVALID. (ne_lock_free, ne_lock): Out-of-line NE_FREE.
5971 (ne_lock_refresh): Use ne_xml_dispatch_request; rejig error handling;
5972 really update timeout field of passed-in lock structure if returned
5973 by server.
5974
5975 ------------------------------------------------------------------------
5976 r413 | joe | 2005-01-07 00:55:42 +0000 (Fri, 07 Jan 2005) | 4 lines
5977
5978 * src/ne_locks.c (lk_startelm): Only retrive lock-token if not already
5979 known; set session error on abort.
5980 (ne_lock_refresh): Store lock-token in context, simplify error handling.
5981
5982 ------------------------------------------------------------------------
5983 r389 | joe | 2005-01-03 10:01:20 +0000 (Mon, 03 Jan 2005) | 3 lines
5984
5985 * macros/neon.m4 (LIBNEON_SOURCE_CHECKS): Only look for gethostbyname
5986 if getaddrinfo is not available.
5987
5988 ------------------------------------------------------------------------
5989 r382 | joe | 2005-01-02 13:18:23 +0000 (Sun, 02 Jan 2005) | 4 lines
5990
5991 * macros/neon-xml-parser.m4 (NEON_XML_PARSER, NE_XML_BUNDLED_EXPAT):
5992 Take srcdir, builddir arguments to support VPATH builds correctly.
5993
5994
5995 ------------------------------------------------------------------------
5996 r373 | joe | 2004-12-31 17:55:39 +0000 (Fri, 31 Dec 2004) | 4 lines
5997
5998 * src/ne_request.c (read_response_block): Read chunk size lines into
5999 req->respbuf to eliminate the "minimum buffer size" requirement of
6000 ne_read_response_block.
6001
6002 ------------------------------------------------------------------------
6003 r372 | joe | 2004-12-31 12:13:22 +0000 (Fri, 31 Dec 2004) | 3 lines
6004
6005 * test/common/tests.h (ONCMP): Fix inverted expected/actual in failure
6006 case.
6007
6008 ------------------------------------------------------------------------
6009 r371 | joe | 2004-12-31 12:12:29 +0000 (Fri, 31 Dec 2004) | 7 lines
6010
6011 * src/ne_request.c (free_response_headers): Factor out from
6012 ne_request_destroy. (ne_request_destroy): Use it.
6013 (ne_begin_request): Free response headers each time the response
6014 is read.
6015
6016 * test/request.c (retry_post_send, reset_headers): New functions.
6017
6018 ------------------------------------------------------------------------
6019 r370 | joe | 2004-12-31 11:19:57 +0000 (Fri, 31 Dec 2004) | 3 lines
6020
6021 * src/ne_redirect.c (post_send): C89 compile fix from Vladimir
6022 Berezniker.
6023
6024 ------------------------------------------------------------------------
6025 r369 | joe | 2004-12-31 01:36:29 +0000 (Fri, 31 Dec 2004) | 1 line
6026
6027 Docco fix.
6028 ------------------------------------------------------------------------
6029 r368 | joe | 2004-12-31 01:11:23 +0000 (Fri, 31 Dec 2004) | 8 lines
6030
6031 * src/ne_auth.c (tokenize): Optionally pass back the separator
6032 character to fix the Negotiate parameter handling.
6033 (auth_challenge): Only grab a Negotiate parameter if the separator
6034 was a space.
6035
6036 * test/auth.c (basic): Test for a Negotiate challenge *without* a
6037 parameter.
6038
6039 ------------------------------------------------------------------------
6040 r367 | joe | 2004-12-30 11:55:13 +0000 (Thu, 30 Dec 2004) | 63 lines
6041
6042 Remove callback-based response header handling in favour of
6043 ne_get_response_header interface:
6044
6045 * src/ne_request.h (ne_get_response_header): New function, replacing
6046 ne_add_response_header_handler and ne_add_response_header_catcher.
6047 * src/ne_request.c (struct header_handler): Remove.
6048 (struct field): Add.
6049 (struct ne_request_s): Store a hash of header fields rather than
6050 a hash of callbacks.
6051 (te_hdr_handler, connection_hdr_handler, clength_hdr_handler,
6052 ne_add_response_header_catcher, ne_add_response_header_handler,
6053 ne_duplicate_header, ne_handle_numeric_header):
6054 Remove functions.
6055 (get_response_header_hv, ne_get_response_header,
6056 add_response_header, remove_response_header): New functions.
6057 (ne_request_create): Don't register the callbacks.
6058 (read_response_headers): Call add_response_header for each
6059 field.
6060 (ne_begin_request): Move handling of Connection, T-E and C-L headers
6061 here. Comply with 2616/14.10 w.r.t. Connection header handling in
6062 HTTP/1.0 responses.
6063 (ne_request_dispatch): Use ne_discard_response (unrelated).
6064
6065 * src/ne_redirect.c (struct redirect): Remove location field.
6066 (post_send): Adjust to retrieve location header here.
6067
6068 * src/ne_basic.h (ne_get_content_type): Replaces
6069 ne_content_type_handler.
6070
6071 * src/ne_basic.c (dispatch_to_fd): New function.
6072 (get_to_fd, get_lastmodified, clength_hdr_handler, accept_206,
6073 content_range_hdr_handler): Remove functions.
6074 (ne_getmodtime): Adjust to use ne_get_response_header.
6075 (ne_get_range, ne_get, ne_post): Adjust to use dispatch_to_fd.
6076 (ne_get_content_type): Adjust for new API, use ne_get_response_header.
6077 (parse_dav_header, ne_options): Adjust to use ne_get_response_header.
6078
6079 * src/ne_compress.c (struct ne_decompress_s): Add ne_request * field,
6080 remove enchdr field.
6081 (gz_reader): Retrieve C-E header on demand, here.
6082 (ne_decompress_reader, ne_decompress_destroy): Remove C-E response
6083 header duplication.
6084
6085 * src/ne_auth.c (auth_request): Remove auth_hdr, auth_info_hdr
6086 fields.
6087 (ah_collect_header): Remove function.
6088 (ah_create, ah_destroy): Remove response-header callback handling.
6089 (ah_post_send): Retrieve -Authenticate header here; correctly handle
6090 the broken proxy which sends a 401 in response to CONNECT.
6091
6092 * src/ne_locks.c (lk_startelm): Retrieve Lock-Token header here.
6093 (get_ltoken_hdr): Remove function.
6094 (ne_lock, ne_lock_refresh): Remove response-header handling.
6095
6096 * test/basic.c (content_type): Test new interface.
6097
6098 * test/request.c (expect_header_value): Adjust to accept NULL value,
6099 use ne_get_response_header interface.
6100 (multi_header): Test new ne_get_response_header multi-header handling.
6101 (multi_header2, strip_http10_connhdr, strip_http10_connhdr2): New
6102 tests.
6103
6104
6105 ------------------------------------------------------------------------
6106 r366 | joe | 2004-12-30 11:38:37 +0000 (Thu, 30 Dec 2004) | 2 lines
6107
6108 * src/ne_compress.c: Debugging message tweaks.
6109
6110 ------------------------------------------------------------------------
6111 r365 | joe | 2004-12-30 10:58:08 +0000 (Thu, 30 Dec 2004) | 2 lines
6112
6113 * test/socket.c (peek_expect): Add buffer overflow detection.
6114
6115 ------------------------------------------------------------------------
6116 r364 | joe | 2004-12-30 10:51:17 +0000 (Thu, 30 Dec 2004) | 2 lines
6117
6118 * test/common/tests.c (main): Fix build for non-NEON_MEMLEAK.
6119
6120 ------------------------------------------------------------------------
6121 r363 | joe | 2004-12-30 10:50:20 +0000 (Thu, 30 Dec 2004) | 3 lines
6122
6123 * test/common/tests.c (main): Print a message for tests which are
6124 marked as T_XLEAKY.
6125
6126 ------------------------------------------------------------------------
6127 r362 | joe | 2004-12-30 10:23:00 +0000 (Thu, 30 Dec 2004) | 3 lines
6128
6129 * test/utils.c (any_2xx_request): Destroy the request object even if
6130 failing.
6131
6132 ------------------------------------------------------------------------
6133 r361 | joe | 2004-12-30 00:11:53 +0000 (Thu, 30 Dec 2004) | 5 lines
6134
6135 * src/ne_xmlreq.c (ne_xml_parse_response, ne_xml_dispatch_request):
6136 New file, new functions.
6137
6138 * src/Makefile.in (NEON_DAVOBJS): Add ne_xmlreq.*o.
6139
6140 ------------------------------------------------------------------------
6141 r360 | joe | 2004-12-24 14:49:02 +0000 (Fri, 24 Dec 2004) | 3 lines
6142
6143 * src/ne_request.c (ne_read_response_to_fd, ne_discard_response): New
6144 functions.
6145
6146 ------------------------------------------------------------------------
6147 r359 | joe | 2004-12-13 14:13:27 +0000 (Mon, 13 Dec 2004) | 6 lines
6148
6149 * src/ne_auth.c (auth_challenge): Fix previous commit; stop parsing if
6150 ne_token() reaches end-of-string.
6151
6152 * test/auth.c (negotiate_regress): Add test.
6153
6154
6155 ------------------------------------------------------------------------
6156 r358 | joe | 2004-12-09 22:22:26 +0000 (Thu, 09 Dec 2004) | 3 lines
6157
6158 * src/ne_auth.c (auth_challenge): Grab the Negotiate parameter
6159 properly.
6160
6161 ------------------------------------------------------------------------
6162 r357 | joe | 2004-12-01 08:42:49 +0000 (Wed, 01 Dec 2004) | 11 lines
6163
6164 From Vladimir Berezniker: update Win32 make file to match the
6165 preprocessor definition changes applied to source code in r256:
6166
6167 * neon.mak:
6168 OpenSSL: Change NEON_SSL to NE_HAVE_SSL and add a missing HAVE_OPENSSL.
6169 ZLib: Change NEON_ZLIB to NE_HAVE_ZLIB.
6170 Expat: Replace NEON_NODAV with NE_HAVE_DAV
6171
6172 * config.hw.in: Discard no longer used USE_DAV_LOCKS.
6173
6174
6175 ------------------------------------------------------------------------
6176 r356 | joe | 2004-11-18 10:09:07 +0000 (Thu, 18 Nov 2004) | 11 lines
6177
6178 Win32 build update from Branko ÄŒibej:
6179
6180 Change the Win32 build to compile ZLib from sources, and change the
6181 ZLib versin requirement. This doesn't change neon.mak's external
6182 interface.
6183
6184 * neon.mak: Add parameters and targets for building ZLib from source.
6185
6186 * INSTALL.win32: Update the documentation, and note that the ZLib version
6187 must be at least 1.2.1.
6188
6189 ------------------------------------------------------------------------
6190 r355 | joe | 2004-11-18 09:50:27 +0000 (Thu, 18 Nov 2004) | 5 lines
6191
6192 Win32 build fix from Vladimir Berezniker:
6193
6194 * src/ne_dates.c: Add windows.h to the list of include files to provide
6195 definition of TIME_ZONE_INFORMATION on WIN32 platforms.
6196
6197 ------------------------------------------------------------------------
6198 r354 | joe | 2004-11-15 14:47:52 +0000 (Mon, 15 Nov 2004) | 7 lines
6199
6200 Improve OpenSSL error handling, fixing "SSL error: (null)" errors from
6201 interrupted Subversion checkouts over SSL; now reported as
6202 "Interrupted system call" as expected:
6203
6204 * src/ne_socket.c (error_ossl): Always check the OpenSSL error stack
6205 for SSL errors other than SSL_ERROR_ZERO_RETURN.
6206
6207 ------------------------------------------------------------------------
6208 r353 | joe | 2004-11-11 14:38:49 +0000 (Thu, 11 Nov 2004) | 3 lines
6209
6210 * test/socket.c (begin) [SOCKET_SSL]: Update to pass third argument to
6211 ne_sock_connect_ssl.
6212
6213 ------------------------------------------------------------------------
6214 r352 | joe | 2004-10-31 22:33:28 +0000 (Sun, 31 Oct 2004) | 2 lines
6215
6216 * macros/neon.m4 (NEON_SSL): Require GNU TLS 1.0.22 or later.
6217
6218 ------------------------------------------------------------------------
6219 r351 | joe | 2004-10-31 19:17:00 +0000 (Sun, 31 Oct 2004) | 3 lines
6220
6221 * src/ne_openssl.c (ne__negotiate_ssl): Set freechain to fix
6222 certificate chain leak for an SSLv2 connection.
6223
6224 ------------------------------------------------------------------------
6225 r350 | joe | 2004-10-31 19:14:47 +0000 (Sun, 31 Oct 2004) | 1 line
6226
6227 Doc fix.
6228 ------------------------------------------------------------------------
6229 r349 | joe | 2004-10-31 19:13:43 +0000 (Sun, 31 Oct 2004) | 11 lines
6230
6231 * src/ne_socket.c (ne_sock_connect_ssl): Take a userdata parameter;
6232 attach this as OpenSSL "app data" pointer and GNU TLS "session
6233 pointer".
6234
6235 * src/ne_openssl.c (provide_client_cert): Adapt to use right app data
6236 pointer. (ne__negotiate_ssl): Pass session pointer to
6237 ne_sock_connect_ssl.
6238
6239 * src/ne_gnutls.c (ne__negotiate_ssl): Pass session pointer to
6240 ne_sock_connect_ssl.
6241
6242 ------------------------------------------------------------------------
6243 r348 | joe | 2004-10-31 18:44:31 +0000 (Sun, 31 Oct 2004) | 3 lines
6244
6245 * Makefile.in (uncover, cover): Remove all .*da files before
6246 re-running coverage testing.
6247
6248 ------------------------------------------------------------------------
6249 r347 | joe | 2004-10-31 18:43:41 +0000 (Sun, 31 Oct 2004) | 8 lines
6250
6251 Improve ne_socket.c coverage:
6252
6253 * test/socket.c (addr_make_v4, addr_make_v6): Test ne_iaddr_typeof.
6254 (addr_compare): Fix ne_iaddr_cmp tests with v6 addresses.
6255 (expect_close, expect_read): Fix error messages. (fullread_expect,
6256 line_overflow, line_long_chunked, expect_block_timeout, blocking,
6257 block_timeout): New functions.
6258
6259 ------------------------------------------------------------------------
6260 r346 | joe | 2004-10-31 15:03:54 +0000 (Sun, 31 Oct 2004) | 1 line
6261
6262 Doc fix.
6263 ------------------------------------------------------------------------
6264 r345 | joe | 2004-10-31 12:15:55 +0000 (Sun, 31 Oct 2004) | 7 lines
6265
6266 * src/ne_compress.c (struct ne_decompress_s): Stop using a union to
6267 decode the gzip header; rename in.buf to header, incount to hdrcount.
6268 (HDR_ID1, HDR_ID2, HDR_CMETH, HDR_FLAGS, HDR_MTIME, HDR_XFLAGS,
6269 HDR_OS): New macros.
6270 (parse_header): Decode the header in-place using new macros.
6271 (gz_reader): Adjust for new field names.
6272
6273 ------------------------------------------------------------------------
6274 r344 | joe | 2004-10-31 12:01:06 +0000 (Sun, 31 Oct 2004) | 2 lines
6275
6276 * test/compress.c (do_fetch): Do call ne_decompress_destroy still.
6277
6278 ------------------------------------------------------------------------
6279 r343 | joe | 2004-10-31 11:53:35 +0000 (Sun, 31 Oct 2004) | 7 lines
6280
6281 * Makefile.in (uncover): New target.
6282 (cover): Adapt for modern gcc.
6283
6284 * src/Makefile.in (clean): Clean more.
6285
6286 * test/Makefile.in (clean): Clean more.
6287
6288 ------------------------------------------------------------------------
6289 r342 | joe | 2004-10-30 12:54:26 +0100 (Sat, 30 Oct 2004) | 3 lines
6290
6291 * src/ne_utils.c (ne_has_support): Avoid a leading 'return 1' without
6292 a case statement when *no* features are supported.
6293
6294 ------------------------------------------------------------------------
6295 r339 | joe | 2004-10-30 12:41:53 +0100 (Sat, 30 Oct 2004) | 5 lines
6296
6297 * src/ne_compress.c (ne_decompress_reader) [!HAVE_ZLIB]: Update
6298 for new interface.
6299
6300 * test/stubs.c (stub_decompress): Update for new interface.
6301
6302 ------------------------------------------------------------------------
6303 r337 | joe | 2004-10-25 21:17:32 +0100 (Mon, 25 Oct 2004) | 4 lines
6304
6305 Missed in previous commit:
6306
6307 * test/Makefile.in (ZLIB_HELPERS, empty.gz): New helper targets.
6308
6309 ------------------------------------------------------------------------
6310 r336 | joe | 2004-10-25 21:12:16 +0100 (Mon, 25 Oct 2004) | 15 lines
6311
6312 Update ne_decompress interface to handle errors by aborting the
6313 response rather than returning errors via ne_decompress_destroy.
6314
6315 * src/ne_compress.c (struct ne_decompress_s): Remove NE_Z_ERROR state.
6316 (parse_header, do_inflate): Don't set error state.
6317 (gz_reader): Do truncated response handling properly at
6318 end-of-response. Don't set state to NE_Z_ERROR on error cases, just
6319 return failure and abort the response.
6320 (ne_decompress_destroy): Return void, do no error handling here.
6321
6322 * test/compress.c (reader): Abort on failure.
6323 (do_fetch): Handle errors returned via ne_request_dispatch rather
6324 than ne_decompress_destroy.
6325 (fail_trailing_1b, fail_empty, notcomp_empty): New tests.
6326
6327 ------------------------------------------------------------------------
6328 r335 | joe | 2004-10-25 20:34:34 +0100 (Mon, 25 Oct 2004) | 2 lines
6329
6330 * test/ssl.c (cert_identities): Check the simplest case first.
6331
6332 ------------------------------------------------------------------------
6333 r334 | joe | 2004-10-25 20:11:55 +0100 (Mon, 25 Oct 2004) | 5 lines
6334
6335 * src/ne_gnutls.c (ne_ssl_context_trustcert): Fix for GNU TLS 1.0
6336 (Aleix).
6337 (check_certificate): Less debugging noise
6338 (ne__negotiate_ssl): Remove unused variable, tweak debug message.
6339
6340 ------------------------------------------------------------------------
6341 r333 | joe | 2004-10-25 10:44:33 +0100 (Mon, 25 Oct 2004) | 3 lines
6342
6343 * src/ne_gnutls.c (check_identity): Fix handling of multiple names in
6344 the subjectAltName extension (per the two_subject_altname2 test).
6345
6346 ------------------------------------------------------------------------
6347 r332 | joe | 2004-10-24 21:10:29 +0100 (Sun, 24 Oct 2004) | 1 line
6348
6349 Note that expect100 is now sensible, and that ne_lock_refresh is not.
6350 ------------------------------------------------------------------------
6351 r331 | joe | 2004-10-24 18:44:49 +0100 (Sun, 24 Oct 2004) | 4 lines
6352
6353 * src/ne_gnutls.c (check_identity): Return -1 if no CN field found.
6354 (make_peers_chain, check_certificates): New function.
6355 (ne__negotiate_ssl): Retrieve and verify the peer certificate chain.
6356
6357 ------------------------------------------------------------------------
6358 r330 | joe | 2004-10-24 16:50:33 +0100 (Sun, 24 Oct 2004) | 7 lines
6359
6360 * src/ne_gnutls.c (ne__negotiate_ssl): Mark pointers as const, prepare for
6361 doing cert verification.
6362 (ne_ssl_context_trustcert): Implement.
6363 (pkcs12_parse): Don't try and determine encryptedness here.
6364 (ne_ssl_clicert_read): Verify the MAC using an empty password.
6365 (ne_ssl_clicert_decrypt): Verify the MAC using the given password.
6366
6367 ------------------------------------------------------------------------
6368 r329 | joe | 2004-10-24 15:46:32 +0100 (Sun, 24 Oct 2004) | 2 lines
6369
6370 * src/ne_gnutls.c (pkcs12_parse): Fix GCC warnings from unhandled enum fields.
6371
6372 ------------------------------------------------------------------------
6373 r328 | joe | 2004-10-24 13:55:14 +0100 (Sun, 24 Oct 2004) | 9 lines
6374
6375 Based on patch from Aleix Conchillo Flaque:
6376
6377 * src/ne_gnutls.c (ne_ssl_clicert_free): Conditionally free the pkey,
6378 subject fields.
6379 (x509_crt_copy): New function.
6380 (dup_client_cert): Fix memory handling.
6381 (pkcs12_parse): Take pointers to pkey, crt, name.
6382 (ne_ssl_clicert_read, ne_ssl_clicert_decrypt): Adjust accordingly.
6383
6384 ------------------------------------------------------------------------
6385 r327 | joe | 2004-10-22 09:41:46 +0100 (Fri, 22 Oct 2004) | 6 lines
6386
6387 From Aleix Conchillo Flaque:
6388
6389 * src/ne_gnutls.c (ne_ssl_context_trustcert): Implement pending
6390 GnuTLS fix.
6391 (pkcs12_parse): Fix certificate handling.
6392
6393 ------------------------------------------------------------------------
6394 r326 | joe | 2004-10-20 07:17:34 +0100 (Wed, 20 Oct 2004) | 6 lines
6395
6396 PKCS#12 support for GnuTLS interface from Aleix Conchillo Flaque:
6397
6398 * src/ne_gnutls.c (ne_ssl_clicert_free, dup_client_cert,
6399 ne_ssl_clicert_read, ne_ssl_clicert_encrypted, ne_ssl_clicert_decrypt,
6400 ne_ssl_clicert_owner, ne_ssl_clicert_owner, pkcs12_parse): New functions.
6401
6402 ------------------------------------------------------------------------
6403 r325 | joe | 2004-10-19 13:39:34 +0100 (Tue, 19 Oct 2004) | 8 lines
6404
6405 * src/ne_xml.c (invalid_ncname): Factor out macro for NCName
6406 checking.
6407 (declare_nspaces): Use invalid_ncname macro. Don't compare 'xmlns'
6408 case-insensitively.
6409 (expand_qname): Use invalid_ncname macro.
6410
6411 * test/xml.c (fail_match): Skip correct checks for the time being.
6412
6413 ------------------------------------------------------------------------
6414 r324 | joe | 2004-10-17 21:32:44 +0100 (Sun, 17 Oct 2004) | 7 lines
6415
6416 * src/ne_gnutls.c (oid_find_highest_index): New function.
6417 (append_rdn): Use oid_find_highest_index to find all RDNs using given
6418 OID.
6419 (ne_ssl_readable_dname): Add #if'd out better code which can be used
6420 once GnuTLS bugs are fixed.
6421 (check_identity): Use oid_find_highest_index.
6422
6423 ------------------------------------------------------------------------
6424 r323 | joe | 2004-10-17 21:07:29 +0100 (Sun, 17 Oct 2004) | 7 lines
6425
6426 * test/openssl.conf [reqDN.twoOU]: New section.
6427
6428 * test/makekeys.sh: Produce a twoou.cert certificate with two OU fields.
6429
6430 * test/ssl.c (dname_readable): Test for printing of certificate with
6431 two OU fields.
6432
6433 ------------------------------------------------------------------------
6434 r322 | joe | 2004-10-17 19:18:20 +0100 (Sun, 17 Oct 2004) | 8 lines
6435
6436 * test/utils.c (serve_infinite): Move from props.c
6437
6438 * test/props.c (serve_infinite): Remove function.
6439
6440 * test/request.c (serve_infinite_folds, serve_infinite_headers):
6441 Remove functions. (unbounded_headers, unbounded_folding): Adjust to
6442 use serve_infinite.
6443
6444 ------------------------------------------------------------------------
6445 r321 | joe | 2004-10-17 19:08:55 +0100 (Sun, 17 Oct 2004) | 3 lines
6446
6447 * src/ne_request.c (debug_dump_request): Revert part of previous
6448 change: only print unsanitized request to debug channel by default.
6449
6450 ------------------------------------------------------------------------
6451 r320 | joe | 2004-10-17 19:07:06 +0100 (Sun, 17 Oct 2004) | 3 lines
6452
6453 * src/ne_request.c (debug_dump_request): Only jump through
6454 request-sanitization debug hoops if really necessary.
6455
6456 ------------------------------------------------------------------------
6457 r319 | joe | 2004-10-17 18:58:31 +0100 (Sun, 17 Oct 2004) | 4 lines
6458
6459 * src/ne_request.c (read_response_block): Update comments, style.
6460 Remove unnecessary early return for zero-length chunk. No functional
6461 changes.
6462
6463 ------------------------------------------------------------------------
6464 r318 | joe | 2004-10-17 18:22:22 +0100 (Sun, 17 Oct 2004) | 1 line
6465
6466 Fix typo.
6467 ------------------------------------------------------------------------
6468 r317 | joe | 2004-10-17 18:19:37 +0100 (Sun, 17 Oct 2004) | 10 lines
6469
6470 Prevent memory exhaustion in PROPFIND response parsing by a hostile
6471 server:
6472
6473 * src/ne_props.c (struct ne_prop_result_set): Add counter field.
6474 (start_propstat, start_prop): Enforce a limit of 1024 properties per
6475 resource.
6476
6477 * test/props.c (serve_infinite, unbounded_response,
6478 unbounded_propstats, unbounded_props): New functions.
6479
6480 ------------------------------------------------------------------------
6481 r316 | joe | 2004-10-17 18:06:22 +0100 (Sun, 17 Oct 2004) | 5 lines
6482
6483 * src/ne_207.h (ne_207_start_propstat): Specify that a NULL return
6484 value means that the parse is aborted.
6485
6486 * src/ne_207.c (start_element): Abort parsing as above.
6487
6488 ------------------------------------------------------------------------
6489 r315 | joe | 2004-10-17 14:06:00 +0100 (Sun, 17 Oct 2004) | 10 lines
6490
6491 * src/ne_xml.h (ne_xml_parse): Returns an error if parsing fails.
6492 (ne_xml_failed): Redefine in terms of ne_xml_parse return value.
6493
6494 * src/ne_xml.c (ne_xml_parse): Return p->failure. (ne_xml_parse_v):
6495 Pass through return value from ne_xml_parse.
6496
6497 * test/xml.c (parse_match): Check ne_xml_parse() return value; handle
6498 match_chunked test mode.
6499 (matches): Test for UTF-8 BOM handling in chunked mode.
6500
6501 ------------------------------------------------------------------------
6502 r314 | joe | 2004-10-17 13:59:26 +0100 (Sun, 17 Oct 2004) | 2 lines
6503
6504 * doc/ref/iaddr.xml: Document ne_iaddr_typeof.
6505
6506 ------------------------------------------------------------------------
6507 r313 | joe | 2004-10-17 13:53:52 +0100 (Sun, 17 Oct 2004) | 2 lines
6508
6509 * src/ne_socket.h: Docs tweaks.
6510
6511 ------------------------------------------------------------------------
6512 r312 | joe | 2004-10-17 13:22:07 +0100 (Sun, 17 Oct 2004) | 7 lines
6513
6514 * src/ne_request.c (read_response_block): Document to always close the
6515 connection on error. (ne_read_response_block): Close the connection
6516 if the reader callback fails.
6517
6518 * test/request.c (abort_reader): Check that the connection is closed
6519 if after the abort.
6520
6521 ------------------------------------------------------------------------
6522 r311 | joe | 2004-10-14 21:26:59 +0100 (Thu, 14 Oct 2004) | 3 lines
6523
6524 * INSTALL.win32, neon.mak: Update to support ENABLE_IPV6 flag. (Kai
6525 Sommerfeld).
6526
6527 ------------------------------------------------------------------------
6528 r310 | joe | 2004-10-14 13:11:30 +0100 (Thu, 14 Oct 2004) | 4 lines
6529
6530 * src/ne_socket.c: Include ws2tcpip.h if USE_GETADDRINFO is defined
6531 (Kai Sommerfeld). (ne_iaddr_print): Use getnameinfo/NI_NUMERICHOST if
6532 inet_ntop is not available.
6533
6534 ------------------------------------------------------------------------
6535 r308 | joe | 2004-10-11 20:59:58 +0100 (Mon, 11 Oct 2004) | 21 lines
6536
6537 Allow response body callbacks to return an error:
6538
6539 * src/ne_request.h (ne_block_reader): Return error code.
6540
6541 * src/ne_request.c (ne_read_response_block): Fail with -1 if a reader
6542 callback returns an error.
6543
6544 * src/ne_xml.c (ne_xml_parse_v): Return 0 (for the moment).
6545
6546 * src/ne_basic.c (get_to_fd): Return error.
6547
6548 * src/ne_compress.c (gz_reader): Return 0 (mostly), or pass through.
6549
6550 * src/ne_auth.c (auth_body_reader): Return 0.
6551
6552 * test/compress.c (reader): Return error.
6553
6554 * test/request.c (collector): Return 0.
6555 (abortive_reader, abort_reader): New functions.
6556
6557
6558 ------------------------------------------------------------------------
6559 r307 | joe | 2004-10-10 22:11:54 +0100 (Sun, 10 Oct 2004) | 4 lines
6560
6561 * src/Makefile.in: Pick up top_builddir from autoconf.
6562
6563 * configure.in: Let autoconf define top_builddir.
6564
6565 ------------------------------------------------------------------------
6566 r303 | joe | 2004-10-10 21:47:06 +0100 (Sun, 10 Oct 2004) | 9 lines
6567
6568 * src/ne_openssl.c (check_identity): Only match iPAddress names
6569 against the hostname used for the session rather than the server IP
6570 address.
6571 (check_certificate, populate_cert): Update callers.
6572
6573 * test/ssl.c (fail_ssl_request): Take hostname argument, update
6574 callers.
6575 (fail_host_ipaltname): New test.
6576
6577 ------------------------------------------------------------------------
6578 r302 | joe | 2004-10-10 18:44:56 +0100 (Sun, 10 Oct 2004) | 2 lines
6579
6580 * Makefile.in (distclean): Remove neon.pc.
6581
6582 ------------------------------------------------------------------------
6583 r301 | joe | 2004-10-09 11:38:46 +0100 (Sat, 09 Oct 2004) | 3 lines
6584
6585 * src/ne_stubssl.c (ne_ssl_context_create): Take mode argument.
6586 (ne_ssl_context_set_verify): New function.
6587
6588 ------------------------------------------------------------------------
6589 r300 | joe | 2004-10-08 15:07:26 +0100 (Fri, 08 Oct 2004) | 4 lines
6590
6591 * tests/common/tests.c (main): Print XFAIL in reverse video so it
6592 stands out better, and use a white foreground for SKIPPED so it's
6593 readable.
6594
6595 ------------------------------------------------------------------------
6596 r299 | joe | 2004-10-08 08:14:45 +0100 (Fri, 08 Oct 2004) | 2 lines
6597
6598 Compress THANKS, update copyright in README and AUTHORS.
6599
6600 ------------------------------------------------------------------------
6601 r298 | joe | 2004-10-07 21:25:00 +0100 (Thu, 07 Oct 2004) | 6 lines
6602
6603 * test/ssl.c (fail_bad_ipaltname): New function.
6604
6605 * test/openssl.conf, test/makekeys.sh: Create altname6.cert. Correct
6606 altname5.cert to have a bad CN field to prevent false positives if
6607 ipAddress altnames are not handled.
6608
6609 ------------------------------------------------------------------------
6610 r297 | joe | 2004-10-07 20:22:56 +0100 (Thu, 07 Oct 2004) | 4 lines
6611
6612 * src/ne_gnutls.c (read_to_datum): New function.
6613 (mmap_file, munmap_file): Remove functions.
6614 (ne_ssl_cert_read): Use read_to_datum.
6615
6616 ------------------------------------------------------------------------
6617 r296 | joe | 2004-10-07 14:47:20 +0100 (Thu, 07 Oct 2004) | 3 lines
6618
6619 * macros/neon.m4 (NEON_GSSAPI): Support --without-gssapi flag to
6620 disable Negotiate support.
6621
6622 ------------------------------------------------------------------------
6623 r295 | joe | 2004-10-07 13:57:44 +0100 (Thu, 07 Oct 2004) | 12 lines
6624
6625 * src/ne_gnutls.c (struct ne_ssl_dname_s): Reference the cert and
6626 subject/issuer flag. (append_rdn): New function.
6627 (ne_ssl_readable_dname): Reimplement to generate dname on the fly,
6628 using append_rdn.
6629 (ne_ssl_dname_cmp): Break.
6630 (check_identity): Check against commonName correctly.
6631 (ne_ssl_cert_write, ne_ssl_cert_export, ne_ssl_cert_digest):
6632 Remove unused variables.
6633 (populate_cert): Populate new dn structures correctly.
6634 (ne_ssl_cert_free): Don't free dnames.
6635 (ne_ssl_cert_import): Fix memory leak.
6636
6637 ------------------------------------------------------------------------
6638 r294 | joe | 2004-10-07 11:47:28 +0100 (Thu, 07 Oct 2004) | 2 lines
6639
6640 * test/ssl.c (ccert_unencrypted): Fail if ne_ssl_clicert_read returns NULL.
6641
6642 ------------------------------------------------------------------------
6643 r293 | joe | 2004-10-07 08:13:54 +0100 (Thu, 07 Oct 2004) | 3 lines
6644
6645 * src/ne_gnutls.c (ne_ssl_cert_import): Fix to import as DER not PEM.
6646 (ne_ssl_cert_export): Handle arbitrary length certificates.
6647
6648 ------------------------------------------------------------------------
6649 r292 | joe | 2004-10-07 08:06:20 +0100 (Thu, 07 Oct 2004) | 6 lines
6650
6651 GNU TLS updates from Aleix:
6652
6653 * src/ne_gnutls.c (match_hostname, check_identity): New functions.
6654 (ne_ssl_cert_cmp, ne_ssl_cert_digest): Simplify.
6655 (x509_get_dn): Fix buffer length handling.
6656
6657 ------------------------------------------------------------------------
6658 r291 | joe | 2004-10-07 08:00:15 +0100 (Thu, 07 Oct 2004) | 10 lines
6659
6660 * src/ne_ssl.h (ne_ssl_context_set_verify): New function.
6661 (ne_ssl_context_create): Change flags argument to 'mode'.
6662
6663 * src/ne_openssl.c (ne_ssl_context_create): Update to handle modes.
6664 (ne_ssl_context_set_verify): Implement.
6665
6666 * src/ne_gnutls.c (ne_ssl_cert_validity): Fix date format and
6667 use correct buffers.
6668 (ne_ssl_context_set_verify): Implement.
6669
6670 ------------------------------------------------------------------------
6671 r290 | joe | 2004-10-06 22:46:01 +0100 (Wed, 06 Oct 2004) | 2 lines
6672
6673 * test/socket.c: Remove OpenSSL includes (Aleix).
6674
6675 ------------------------------------------------------------------------
6676 r289 | joe | 2004-10-06 12:16:58 +0100 (Wed, 06 Oct 2004) | 8 lines
6677
6678 Fix slow startup problems with GNU TLS:
6679
6680 * src/ne_privssl.h (struct ne_ssl_context_s) [HAVE_GNUTLS]: Remove
6681 _params fields.
6682
6683 * src/ne_gnutls.c (ne_ssl_context_create, ne_ssl_context_destroy):
6684 Don't generate temporary RSA keys or DH paramaters.
6685
6686 ------------------------------------------------------------------------
6687 r288 | joe | 2004-10-06 11:58:53 +0100 (Wed, 06 Oct 2004) | 3 lines
6688
6689 * src/ne_socket.c (ne_sock_accept_ssl) [HAVE_OPENSSL]: Fix to return 0
6690 for SSL_accept() success.
6691
6692 ------------------------------------------------------------------------
6693 r287 | joe | 2004-10-06 11:22:57 +0100 (Wed, 06 Oct 2004) | 3 lines
6694
6695 * test/socket.c (read_reset, write_reset, line_closure, ssl_closure):
6696 Print socket error string for failure cases.
6697
6698 ------------------------------------------------------------------------
6699 r286 | joe | 2004-10-06 11:16:58 +0100 (Wed, 06 Oct 2004) | 2 lines
6700
6701 * src/ne_socket.c (read_gnutls): Return NE_SOCK_CLOSED on EOF.
6702
6703 ------------------------------------------------------------------------
6704 r285 | joe | 2004-10-06 09:43:05 +0100 (Wed, 06 Oct 2004) | 8 lines
6705
6706 Fix write handling with GNU TLS:
6707
6708 * src/ne_socket.c (struct iofns): Redefine write semantics to allow
6709 short writes.
6710 (write_raw): Drop short write handling, return bytes written.
6711 (write_ossl, write_gnutls): Return bytes written.
6712 (ne_sock_fullwrite): Handle short writes here.
6713
6714 ------------------------------------------------------------------------
6715 r284 | joe | 2004-10-06 09:30:48 +0100 (Wed, 06 Oct 2004) | 31 lines
6716
6717 Simplify and extend abstraction of SSL layer:
6718
6719 * src/ne_privssl.h: Make ne_ssl_socket a typedef.
6720 [HAVE_GNUTLS]: Remove union cred, gnutls_session pointer.
6721 (ne__sock_sslsock): Add prototype.
6722
6723 * src/ne_socket.h (ne_sock_accept_ssl): Replaces ne_sock_switch_ssl.
6724 Remove ne_sock_sslsock prototype.
6725
6726 * src/ne_socket.c: Include ne_privssl.h later.
6727 (readable_ossl, error_ossl, write_ossl, readable_gnutls, error_gnutls,
6728 read_gnutls, write_gnutls, ne_sock_connect_ssl): Adjust for
6729 ne_ssl_socket change. (ne__sock_sslsock): Rename from
6730 ne_sock_sslsock. (ne_sock_accept_ssl): New function.
6731 (ne_sock_switch_ssl): Remove function.
6732
6733 * src/ne_ssl.h (ne_ssl_context_create): Take flags argument.
6734 (ne_ssl_context_keypair): New prototype.
6735 (ne_ssl_context_trustcert): Renamed from ne_ssl_ctx_trustcert.
6736
6737 * src/ne_openssl.c (ne_ssl_context_create): Take flags.
6738 (ne_ssl_context_keypair): Implement.
6739 (ne__negotiate_ssl): Adjust to use ne__sock_sslsock.
6740
6741 * src/ne_gnutls.c (ne_ssl_context_create): Take flags, adjust
6742 for ctx->cred change.
6743 (ne_ssl_context_keypair): Implement.
6744
6745 * test/socket.c (init_ssl): Switch to use ne_ssl_context for the
6746 server context rather than OpenSSL directly.
6747
6748 ------------------------------------------------------------------------
6749 r283 | joe | 2004-10-06 09:15:30 +0100 (Wed, 06 Oct 2004) | 2 lines
6750
6751 * src/Makefile.in: Add deps for ne_gnutls.lo.
6752
6753 ------------------------------------------------------------------------
6754 r282 | joe | 2004-10-05 21:50:01 +0100 (Tue, 05 Oct 2004) | 3 lines
6755
6756 * test/socket.c (serve_reset): New function.
6757 (write_reset, read_reset): Use it.
6758
6759 ------------------------------------------------------------------------
6760 r281 | joe | 2004-10-05 21:22:35 +0100 (Tue, 05 Oct 2004) | 1 line
6761
6762 Suffer the aclocal noise for the time being.
6763 ------------------------------------------------------------------------
6764 r280 | joe | 2004-10-05 21:21:40 +0100 (Tue, 05 Oct 2004) | 11 lines
6765
6766 Continued work on GNU TLS support, from Aleix Conchillo Flaque:
6767
6768 * src/ne_gnutls.c (ne__negotiate_ssl): Rename from ne_negotiate_ssl.
6769
6770 * src/ne_socket.c [HAVE_GNUTLS] (init_ssl): Call gnutls_global_init.
6771 (ne_sock_exit): Call gnutls_global_deinit.
6772 (check_alert, readable_gnutls, error_gnutls, read_gnutls, write_gnutls):
6773 New functions.
6774 (ne_sock_switch_ssl, ne_sock_connect_ssl, ne_sock_close): Add GNU TLS
6775 specific implementations.
6776
6777 ------------------------------------------------------------------------
6778 r279 | joe | 2004-10-05 21:12:19 +0100 (Tue, 05 Oct 2004) | 6 lines
6779
6780 CygWin fixes:
6781
6782 * src/ne_socket.c (NE_ISRESET): Treat ECONNABORTED like ECONNRESET.
6783 (ne_sock_connect): Don't compare fd numbers to FD_SETSIZE on Win32, do
6784 use ne_close().
6785
6786 ------------------------------------------------------------------------
6787 r275 | joe | 2004-10-04 22:46:13 +0100 (Mon, 04 Oct 2004) | 6 lines
6788
6789 * src/ne_request.c (ne_begin_request): Don't treat 205 like 204, per
6790 http-wg clarification:
6791 http://lists.w3.org/Archives/Public/ietf-http-wg/2004JulSep/0081.html
6792
6793 * test/request.c (no_body_205): Remove test.
6794
6795 ------------------------------------------------------------------------
6796 r274 | joe | 2004-10-04 22:20:31 +0100 (Mon, 04 Oct 2004) | 17 lines
6797
6798 Begin integration of GNU TLS support from Aleix Conchillo Flaque:
6799
6800 * macros/neon.m4 (NE_CHECK_OPENSSLVER): Renamed from NE_CHECK_SSLVER.
6801 (NEON_SSL): Add detection support for GNU TLS. Define HAVE_GNUTLS or
6802 HAVE_OPENSSL as appropriate.
6803
6804 * src/ne_utils.c (version_string): Update to include GNU TLS version
6805 string.
6806
6807 * src/ne_privssl.h (HAVE_GNUTLS): Add alternative private structure
6808 definitions.
6809
6810 * src/ne_auth.c (get_cnonce): Adjust to use HAVE_OPENSSL rather than
6811 NE_HAVE_SSL.
6812
6813 * src/ne_gnutls.c: New file.
6814
6815 ------------------------------------------------------------------------
6816 r273 | joe | 2004-10-04 21:56:57 +0100 (Mon, 04 Oct 2004) | 3 lines
6817
6818 * src/ne_socket.c (ne_sock_connect): Use htons not ntohs (Aleix
6819 Conchillo Flaque).
6820
6821 ------------------------------------------------------------------------
6822 r270 | joe | 2004-10-02 23:26:42 +0100 (Sat, 02 Oct 2004) | 1 line
6823
6824 Add clog to svn:ignore.
6825 ------------------------------------------------------------------------
6826 r269 | joe | 2004-10-02 23:25:13 +0100 (Sat, 02 Oct 2004) | 7 lines
6827
6828 Merge r266, r267 from 0.24.x branch:
6829
6830 * config.hw.in: Define HAVE_SETSOCKOPT to enable Nagle on Windows.
6831
6832 * macros/neon.m4: Check for socket() in ws2_32 for CygWin.
6833
6834
6835 ------------------------------------------------------------------------
6836 r268 | joe | 2004-10-02 23:19:52 +0100 (Sat, 02 Oct 2004) | 1 line
6837
6838 Convert .cvsignore to svn:ignore.
6839 ------------------------------------------------------------------------
6840 r256 | joe | 2004-10-02 20:38:59 +0100 (Sat, 02 Oct 2004) | 1 line
6841
6842 Merge trunk up to current neon CVS HEAD.
6843 ------------------------------------------------------------------------
6844 r255 | joe | 2004-10-02 20:34:48 +0100 (Sat, 02 Oct 2004) | 1 line
6845
6846 Branch trunk from 0.24.4 on 0.24.x branch.
6847 ------------------------------------------------------------------------
6848 r251 | joe | 2004-10-02 20:31:06 +0100 (Sat, 02 Oct 2004) | 1 line
6849
6850 Import neon-0.24.4.
6851 ------------------------------------------------------------------------
6852 r249 | joe | 2004-10-02 20:29:59 +0100 (Sat, 02 Oct 2004) | 1 line
6853
6854 Import neon-0.24.3.
6855 ------------------------------------------------------------------------
6856 r247 | joe | 2004-10-02 20:25:57 +0100 (Sat, 02 Oct 2004) | 1 line
6857
6858 Import neon-0.24.2.
6859 ------------------------------------------------------------------------
6860 r244 | joe | 2004-10-02 20:15:53 +0100 (Sat, 02 Oct 2004) | 1 line
6861
6862 Import neon-0.24.1.
6863 ------------------------------------------------------------------------
6864 r243 | joe | 2004-10-02 19:47:02 +0100 (Sat, 02 Oct 2004) | 2 lines
6865
6866 Import neon 0.24.0 to begin 0.24.x branch.
6867
6868 ------------------------------------------------------------------------