Debian Codegraph @

deps/libneon/test/ChangeLog

raw
1 Wed Aug 25 21:05:28 2004 Joe Orton <[email protected]>
2
3 * cookies.c: Removed.
4
5 * Makefile.in: Updated.
6
7 Wed Aug 25 19:47:28 2004 Joe Orton <[email protected]>
8
9 * socket.c (do_connect, begin): Simplify do_connect use.
10
11 Wed Aug 25 18:28:19 2004 Joe Orton <[email protected]>
12
13 * xml.c (matches, fail_parse): Test for UTF-8 BOM handling.
14
15 Mon Jul 5 18:41:07 2004 Joe Orton <[email protected]>
16
17 * basic.c (content_type): Test for correct default charset for
18 text/xml content-type by RFC3280.
19
20 Mon Jul 5 10:59:17 2004 Joe Orton <[email protected]>
21
22 Add XFAIL regression tests for trio of ne_compress.c bugs:
23
24 * compress.c (reader): Validate that a size=0 call comes only
25 after the expected response data, and use struct string.
26 (do_fetch): Pass a struct string to reader and adapt for failure
27 logic.
28 (auth_cb, retry_compress_helper, retry_compress,
29 retry_notcompress): New tests.
30
31 Sun Jul 4 21:55:00 2004 Joe Orton <[email protected]>
32
33 * utils.c (serve_sstring_slowly, serve_sstring): Moved from
34 sockets.c, renamed from serve_string_slowly, serve_sstring.
35
36 * sockets.c: All callers updated.
37
38 Sun May 2 21:16:45 2004 Joe Orton <[email protected]>
39
40 * util-tests.c (regress_dates): Add regression tests.
41
42 Wed Apr 14 10:45:43 2004 Joe Orton <[email protected]>
43
44 * props.c (regress, patch_regress): Add regression tests for
45 CAN-2004-0179 issues.
46
47 Thu Apr 8 13:57:04 2004 Joe Orton <[email protected]>
48
49 * largefile.c (read_large_response): Go faster: turn off debugging
50 during request dispatch.
51
52 Wed Apr 7 13:39:37 2004 Joe Orton <[email protected]>
53
54 * auth.c (basic): Add some multi-scheme challenges.
55
56 Wed Apr 7 13:14:16 2004 Joe Orton <[email protected]>
57
58 * request.c (s_progress): Use NE_FMT_OFF_T for printing off_t's
59 throughout.
60
61 Sun Feb 22 23:38:05 2004 Joe Orton <[email protected]>
62
63 * request.c (expect_100_once, serve_100_once): Adjust for new
64 100-continue interface.
65 (expect_100_nobody): New test.
66
67 Sun Feb 22 20:39:15 2004 Joe Orton <[email protected]>
68
69 * cookies.c (parsing): Use ne_cookie_empty_cache.
70
71 Sun Feb 22 17:28:41 2004 Joe Orton <[email protected]>
72
73 * props.c (pfind_simple): Test for whitespace handling.
74
75 Sun Feb 22 16:31:52 2004 Joe Orton <[email protected]>
76
77 * auth.c (basic): Test handling of Basic challenge in presence of
78 multiple challenges.
79
80 Sun Feb 15 12:34:13 2004 Joe Orton <[email protected]>
81
82 * makekeys.sh, openssl.conf: Create new utf8subj.cert,
83 bmpsubj.cert, t61subj.cert certificates.
84
85 * ssl.c (dname_readable): Test that ne_ssl_readable_dname always
86 gives back UTF-8.
87
88 Sat Feb 14 21:59:17 2004 Joe Orton <[email protected]>
89
90 * xml.c (fail_parse): Add tests for invalid NCNames in namespace
91 prefix declaration and as element names.
92
93 Sun Jan 25 15:21:56 2004 Joe Orton <[email protected]>
94
95 * largefile.c (serve_large_response, read_large_response): New
96 test.
97
98 Sat Jan 24 18:10:14 2004 Joe Orton <[email protected]>
99
100 * Makefile.in: Fix test suite for 'make' implementatinos which
101 don't handle single-suffix inference rules.
102
103 Sat Jan 3 14:10:14 2004 Joe Orton <[email protected]>
104
105 * largefile.c (send_high_offset): Renamed from send_large_file.
106
107 Sat Jan 3 13:57:16 2004 Joe Orton <[email protected]>
108
109 * Makefile.in (BASIC_TESTS): Add cookies.
110
111 Thu Jan 1 17:42:30 2004 Joe Orton <[email protected]>
112
113 * util-tests.c (support): Check for NE_FEATURE_LFS.
114
115 * largefile.c: New file.
116
117 * Makefile.in: Add lfs-check, largefile, largefile.lo targets.
118
119 Sat Nov 15 08:04:22 2003 Joe Orton <[email protected]>
120
121 * request.c (idna_hostname, dup_header, serve_check_host): New
122 test.
123
124 Fri Nov 14 14:06:57 2003 Joe Orton <[email protected]>
125
126 * util-tests.c (support): Test for NE_FEATURE_IDNA.
127
128 Fri Nov 14 11:26:29 2003 Joe Orton <[email protected]>
129
130 * acl.c: Remove NEON_NODAV condition.
131
132 * stubs.c: Use new NE_HAVE_* conditions.
133
134 * util-tests.c (supports): Test new ne_has_support interface.
135
136 Thu Nov 13 20:33:44 2003 Joe Orton <[email protected]>
137
138 * request.c (no_body_205): New test.
139
140 Tue Nov 11 20:36:43 2003 Joe Orton <[email protected]>
141
142 Adjust for ne_xml_valid->ne_xml_failure API change.
143
144 * xml.c (chardata, startelm_abort, endelm_abort, parse_match):
145 Check for propagation of negative failure codes.
146 (fail_parse): Check for positive failure code.
147 (attributes): Use ne_xml_failure.
148
149 Sat Oct 25 00:11:29 2003 Joe Orton <[email protected]>
150
151 * ssl.c (fail_truncated_eof): Remove test.
152
153 Tue Oct 21 20:29:46 2003 Joe Orton <[email protected]>
154
155 * ssl.c (fail_tunnel, proxy_tunnel): Fix non-C89 code,
156 Radu Greab.
157
158 Thu Oct 9 19:42:13 2003 Joe Orton <[email protected]>
159
160 * socket.c (ssl_closure): Fix occassional spurious errors.
161
162 Tue Oct 7 20:23:35 2003 Joe Orton <[email protected]>
163
164 * ssl.c (ssl_server): Handle several requests if required.
165 (tunnel_header): New function.
166 (serve_tunnel): Fail with a 500 if the request included
167 an Authenticate header; take an ssl_server_args pointer
168 as userdata.
169 (fail_tunnel, proxy_tunnel): Adjust accordingly.
170 (apt_post_send): Adjust for 401 check.
171 (auth_tunnel_creds): New test.
172
173 Wed Oct 1 00:30:25 2003 Joe Orton <[email protected]>
174
175 * ssl.c (simple_sslv2): Regression test.
176 (ssl_server): Create SSL_CTX locally; optionally create an
177 SSLv2-only server.
178 (init_ssl): Do not create the SSL_CTX.
179
180 Wed Sep 17 19:57:22 2003 Joe Orton <[email protected]>
181
182 * ssl.c: Refactor around single SSL server function.
183 (ssl_server): Combination of do_ssl_response and old serve_*
184 functions. All callers updated.
185
186 Sun Sep 14 12:27:22 2003 Joe Orton <[email protected]>
187
188 * socket.c (write_reset, read_reset): Skip if no RESET was
189 returned.
190
191 Sun Sep 14 11:01:08 2003 Joe Orton <[email protected]>
192
193 * Makefile.in: Fix building the 'resolve' tool.
194
195 Sat Sep 6 12:29:53 2003 Joe Orton <[email protected]>
196
197 * makekeys.sh, openssl.conf: Generate altname5.cert with an IPv4
198 address in the subjectAltName attribute.
199
200 * ssl.c (ipaddr_altname): Test for IPv4 address in subjectAltName.
201
202 Sat Sep 6 12:28:55 2003 Joe Orton <[email protected]>
203
204 * Makefile.in: Clear the SUFFIXES list; use standard make syntax;
205 fix build of 'basic' on some platforms.
206
207 Sat Aug 30 18:59:24 2003 Joe Orton <[email protected]>
208
209 * Makefile.in: Rewrite to use libtool to build object files and
210 libtest.
211
212 * run.sh: Don't set LD_LIBRARY_PATH.
213
214 Wed Jul 23 23:25:39 2003 Joe Orton <[email protected]>
215
216 * compress.c (do_fetch): Check for response truncation
217 for success case.
218 (fail_corrupt1, fail_corrupt2): New tests.
219
220 Sat Jun 21 12:59:49 2003 Joe Orton <[email protected]>
221
222 * request.c (versions): Fix and enable test.
223
224 Wed Jun 18 20:09:59 2003 Joe Orton <[email protected]>
225
226 * request.c (is_alive): Adapt for new socket API.
227
228 * socket.c (do_connect, addr_connect): Likewise.
229
230 Tue May 20 20:14:03 2003 Joe Orton <[email protected]>
231
232 * ssl.c (cert_fingerprint): Fix for VPATH builds.
233
234 Sat May 10 17:13:05 2003 Joe Orton <[email protected]>
235
236 * xml.c (matches): Add regression test for prefix matching bug
237 fixed in 0.18.0.
238
239 Sat Apr 26 19:22:29 2003 Joe Orton <[email protected]>
240
241 * request.c (any_te_header): New function.
242
243 Wed Apr 23 18:24:19 2003 Joe Orton <[email protected]>
244
245 * stubs.c (stub_ssl): Test ne_ssl_cert_import, ne_ssl_cert_export,
246 ne_ssl_cert_write stubs.
247
248 Wed Apr 23 14:05:38 2003 Joe Orton <[email protected]>
249
250 * ssl.c (read_write): New function.
251
252 Wed Apr 23 00:34:44 2003 Joe Orton <[email protected]>
253
254 * ssl.c (cache_cert, verify_cache): New functions.
255
256 Wed Apr 23 00:14:14 2003 Joe Orton <[email protected]>
257
258 * ssl.c (any_ssl_request): Free the cert after passing it to
259 ne_ssl_trust_cert.
260
261 Tue Apr 22 23:24:33 2003 Joe Orton <[email protected]>
262
263 * string-tests.c (unbase64): Improve coverage.
264
265 Tue Apr 22 20:25:15 2003 Joe Orton <[email protected]>
266
267 * ssl.c (import_export, flatten_pem, cert_compare): New functions.
268
269 Tue Apr 22 18:32:43 2003 Joe Orton <[email protected]>
270
271 * string-tests.c (b64_check, unbase64): New functions.
272 (base64): Use b64_check.
273
274 Tue Apr 22 15:54:04 2003 Joe Orton <[email protected]>
275
276 * string-tests.c (base64): Test decoding binary data which
277 contains bytes with the high bit set.
278
279 Tue Apr 22 14:18:03 2003 Joe Orton <[email protected]>
280
281 * string-tests.c (base64): Moved here...
282
283 * util-tests.c (base64): ...from here.
284
285 Tue Apr 22 13:17:48 2003 Joe Orton <[email protected]>
286
287 * ssl.c (just_serve_string, fail_not_ssl): New functions.
288
289 Tue Apr 22 13:09:13 2003 Joe Orton <[email protected]>
290
291 * stubs.c (stub_ssl): Test ne_ssl_cert_validity stub.
292
293 Tue Apr 22 11:35:10 2003 Joe Orton <[email protected]>
294
295 * request.c (versions): Run test as XFAIL.
296
297 Tue Apr 22 11:33:43 2003 Joe Orton <[email protected]>
298
299 * util-tests.c (version_string): New function.
300
301 Tue Apr 22 09:23:27 2003 Joe Orton <[email protected]>
302
303 * ssl.c (check_validity, cert_validity): New functions.
304
305 Mon Apr 21 19:45:39 2003 Joe Orton <[email protected]>
306
307 * util-tests.c (digest_md5): Replace ne_md5_buffer.
308 (md5): Use digest_md5; test 500-byte string.
309
310 Mon Apr 21 18:38:02 2003 Joe Orton <[email protected]>
311
312 * xml.c (fail_parse): Call ne_xml_parse with length=0 finish
313 parse.
314
315 Mon Apr 21 17:18:45 2003 Joe Orton <[email protected]>
316
317 * props.c: Add tests for ne_207.h interface and ne_simple_propfind
318 from ne_props.h.
319
320 * xml.c: Add tests for new XML interface.
321
322 * Makefile.in: Run props tests before lock since the latter is
323 implemented using the former.
324
325 Mon Apr 7 22:27:18 2003 Joe Orton <[email protected]>
326
327 * stubs.c (stub_ssl): Test for ne_ssl_cert_identity stub.
328
329 Mon Apr 7 22:17:56 2003 Joe Orton <[email protected]>
330
331 * ssl.c (cert_fingerprint): Renamed from fingerprint.
332 (check_identity, cert_identities): New functions.
333
334 Sun Apr 6 20:18:30 2003 Joe Orton <[email protected]>
335
336 * stubs.c (stub_ssl): Adjust for new clicert API.
337
338 Sun Apr 6 20:12:48 2003 Joe Orton <[email protected]>
339
340 * ssl.c (dname_compare): Renamed from comparisons.
341 (dname_readable): New function.
342
343 * makekeys.sh: Create justmail.cert.
344
345 Sun Apr 6 20:00:18 2003 Joe Orton <[email protected]>
346
347 * ssl.c (keypw_prompt): Removed function.
348 (init, load_client_cert, client_cert_provided): Adapt for new
349 clicert API.
350 (ccert_unencrypted): New function.
351
352 Fri Apr 4 22:34:12 2003 Joe Orton <[email protected]>
353
354 * request.c (fail_request_with_error): Refactored from
355 fail_request; check for a particular error string.
356 (fail_request): Use fail_request_with_error.
357 (invalid_response_gives_error): New function.
358 (fail_long_header): Use it.
359 (fail_corrupt_chunks): New function.
360
361 Sat Mar 29 14:39:20 2003 Joe Orton <[email protected]>
362
363 * ssl.c (comparisons): New function.
364
365 * stubs.c (stub_ssl): Test ne_ssl_dname_cmp.
366
367 Sat Mar 29 13:58:37 2003 Joe Orton <[email protected]>
368
369 * makekeys.sh: Generate noclient.p12.
370
371 * ssl.c (load_client_cert): Test ne_ssl_clicert_name.
372
373 * stubs.c (stub_ssl): Check for ne_ssl_clicert_name stub.
374
375 Sat Mar 29 13:31:35 2003 Joe Orton <[email protected]>
376
377 * ssl.c (load_client_cert): Test ne_ssl_clicert_owner.
378
379 Fri Mar 28 22:13:55 2003 Joe Orton <[email protected]>
380
381 * ssl.c (fingerprint): New function.
382
383 * stubs.c (stub_ssl): Check for ne_ssl_cert_digest stub.
384
385 Wed Mar 26 22:52:15 2003 Joe Orton <[email protected]>
386
387 * ssl.c (fail_missing_CN): New function.
388
389 * makekeys.sh: Generate missingcn.cert.
390
391 * openssl.conf: Allow commonName to be omitted from CSR.
392
393 Wed Mar 26 22:41:48 2003 Joe Orton <[email protected]>
394
395 * ssl.c (load_server_certs): Renamed from load_ca; test loading
396 non-existent file.
397
398 Wed Mar 26 20:38:08 2003 Joe Orton <[email protected]>
399
400 * stubs.c (stub_ssl): Updated for new SSL interface.
401
402 Tue Mar 25 20:32:07 2003 Joe Orton <[email protected]>
403
404 Update tests for changes to SSL interface:
405
406 * socket.c (init_ssl): Use ne_ssl_context_create,
407 ne_ssl_cert_read, ne_ssl_ctx_trustcert.
408 (begin): Use ne_sock_connect_ssl.
409
410 * ssl.c (serve_ssl_chained, trust_default_ca, load_client_cert,
411 check_dname, check_cert_dnames, check_cert, check_chain,
412 parse_chain, cc_check_dnames, cc_provided_dnames): New functions.
413 (serve_ccert): Always trust SERVER_CERT; optionally call
414 SSL_CTX_set_client_CA_list.
415 (any_ssl_request, load_ca, fail_truncated_eof): Use
416 ne_ssl_cert_read and ne_ssl_trust_cert.
417 (keypw_prompt): Fail if userdata is NULL.
418 (fail_load_ccerts, load_pkcs12_ccert, load_pem_ccert, check_DNs):
419 Removed functions.
420 (parse_cert): Use check_cert.
421 (client_cert_provided, client_cert_pkcs12): Rewritten for new API.
422
423 * makekeys.sh: Generate calist.pem, unclient.p12.
424
425 Wed Mar 12 22:36:27 2003 Joe Orton <[email protected]>
426
427 * redirect.c (simple): Fold in tests for 30[237] redirects for
428 better coverage.
429 (no_redirect): Another test for _location returning NULL.
430
431 Wed Mar 12 22:29:45 2003 Joe Orton <[email protected]>
432
433 * redirect.c (process_redir): Factored out from check_redir.
434 (no_redirect): New function.
435
436 Sun Mar 9 17:46:37 2003 Joe Orton <[email protected]>
437
438 * lock.c (fail_discover): New function.
439
440 Sat Mar 1 10:53:58 2003 Joe Orton <[email protected]>
441
442 * uri-tests.c (authinfo): Removed.
443 (escapes): Test nothing-to-escape and invalid URI cases.
444 (compares): Gain 100% branch coverage in ne_path_compare.
445 (default_port): Test unknown scheme case.
446 (parse): Test authinfo here, and some edge cases.
447 (unparse): Fill in port if default.
448
449 Sat Mar 1 09:20:42 2003 Joe Orton <[email protected]>
450
451 * socket.c (multi_init): New function.
452
453 Sat Mar 1 08:04:09 2003 Joe Orton <[email protected]>
454
455 * string-tests.c (cleaner): New function.
456
457 Wed Feb 26 22:13:14 2003 Joe Orton <[email protected]>
458
459 * request.c (fail_eof_chunk, fail_eof_badclen): New tests.
460
461 Wed Feb 26 21:54:39 2003 Joe Orton <[email protected]>
462
463 * util-tests.c (support): New function.
464 (bad_sl, accept_sl): More status-lines.
465
466 Tue Feb 25 21:06:18 2003 Joe Orton <[email protected]>
467
468 * ssl.c (do_ssl_response): Fail if response contains
469 "Proxy-Authorization" header.
470 (apt_post_send, apt_creds, auth_proxy_tunnel): New functions.
471
472 Thu Nov 28 21:25:01 2002 Joe Orton <[email protected]>
473
474 * request.c (te_over_clength2): New test.
475
476 Sun Nov 17 18:59:04 2002 Joe Orton <[email protected]>
477
478 * socket.c (addr_make_v4, addr_make_v6, addr_compare): New
479 functions.
480
481 Fri Oct 11 00:49:01 2002 Joe Orton <[email protected]>
482
483 * props.c (regress): Moved from regress.c:propfind_segv; add
484 regression test for ne_props.c segfault fixed in rev 1.83.
485
486 * regress.c: Removed.
487
488 Tue Oct 8 20:06:55 2002 Joe Orton <[email protected]>
489
490 * xml.c (matches): Add tests that entities in attribute values are
491 dereferenced by the XML parser.
492
493 Fri Oct 4 17:10:19 2002 Joe Orton <[email protected]>
494
495 * request.c (no_body_bad_clength, no_body_empty_clength): New
496 tests.
497 (expect_no_body): Use better paths in the requests.
498
499 Tue Sep 24 21:27:33 2002 Joe Orton <[email protected]>
500
501 * request.c (fail_long_header, versions, hook_create_req): New
502 functions.
503
504 Tue Sep 17 21:08:17 2002 Joe Orton <[email protected]>
505
506 * openssl.conf (neonca): Make 'countryName' optional in CA policy.
507 (reqDN.CNfirst): New section.
508
509 * makekeys.sh: Generate 'cnfirst.cert', which has commonName as
510 first attribute in subject DN.
511
512 * ssl.c (commonName_first): New function.
513
514 Tue Sep 10 21:11:18 2002 Joe Orton <[email protected]>
515
516 * request.c (fail_double_lookup): New function.
517
518 Sun Aug 25 23:16:33 2002 Joe Orton <[email protected]>
519
520 * ssl.c (do_ssl_response): Add 'unclean' argument.
521 (all callers changed).
522 (serve_response_unclean, empty_truncated_eof, fail_truncated_eof):
523 New functions.
524
525 Sun Aug 25 19:16:00 2002 Joe Orton <[email protected]>
526
527 * socket.c (resolve_numeric): Test ne_addr_print too.
528
529 Sun Aug 25 13:39:37 2002 Joe Orton <[email protected]>
530
531 * resolve.c: New file.
532
533 Sun Aug 25 11:25:12 2002 Joe Orton <[email protected]>
534
535 * request.c (is_alive): Update for new ne_addr_* interface.
536
537 Sun Aug 25 08:31:16 2002 Joe Orton <[email protected]>
538
539 * socket.c (serve_truncate, ssl_truncate): New functions.
540
541 Sun Aug 25 08:28:17 2002 Joe Orton <[email protected]>
542
543 * socket.c (do_connect): New function; use new
544 ne_sock_connect/ne_addr interface.
545 (begin) [SOCKET_SSL, !SOCKET_SSL]: Use do_connect.
546 (resolve_numeric): Adjust for new ne_addr interface.
547 (resolve_ipv6): Disable test.
548
549 Sat Aug 24 08:50:06 2002 Joe Orton <[email protected]>
550
551 * request.c (fail_statusline): New function.
552
553 Fri Aug 23 22:52:38 2002 Joe Orton <[email protected]>
554
555 * ssl.c (init): FAILHARD if initialization fails.
556
557 Wed Aug 21 13:29:58 2002 Joe Orton <[email protected]>
558
559 * uri-tests.c (null_uri): Removed test.
560 (parse): More tests including IPv6 address tests; use ONCMP macro.
561 (failparse): New function.
562 (unparse): Add URI with IPv6 address.
563
564 Wed Aug 21 13:28:37 2002 Joe Orton <[email protected]>
565
566 * socket.c (resolve_ipv6): New function.
567
568 Mon Aug 19 16:59:46 2002 Joe Orton <[email protected]>
569
570 * socket.c (resolve): Adapt for new ne_addr_resolve interface.
571 (resolve_numeric): New test.
572
573 * request.c (is_alive): Use new ne_addr_resolve interface.
574
575 Mon Aug 19 16:57:53 2002 Joe Orton <[email protected]>
576
577 * socket.c (begin): Fix handling of connect failure.
578 (TO_BEGIN): Handle errors from to_begin properly.
579
580 Sun Aug 18 23:37:34 2002 Joe Orton <[email protected]>
581
582 * string-tests.c (str_errors): Check return value and behaviour
583 when error string is truncated, an
584
585 Sun Aug 18 23:31:51 2002 Joe Orton <[email protected]>
586
587 * util-tests.c (str_errors): Moved to...
588
589 * string-tests.c (str_errors): here.
590
591 Sun Aug 18 23:11:28 2002 Joe Orton <[email protected]>
592
593 * string-tests.c (strnzcpy): New function.
594
595 Sun Aug 18 08:18:24 2002 Joe Orton <[email protected]>
596
597 * ssl.c (caseless_match): New function.
598
599 * makekeys.sh: Create caseless.cert.
600
601 Sun Aug 18 08:12:32 2002 Joe Orton <[email protected]>
602
603 * ssl.c (notdns_altname): New function.
604
605 * makekeys.sh: Create altname4.cert.
606
607 * openssl.conf (altExt4): New section.
608
609 Sun Aug 18 07:42:30 2002 Joe Orton <[email protected]>
610
611 * ssl.c (multi_commonName): New function.
612
613 * openssl.conf (req): Use distinguished_name section as
614 specificied by $REQDN.
615 (reqDN.doubleCN): New section.
616
617 * makekeys.sh: Set $REQDN; create twocn.cert.
618
619 Sun Aug 18 00:47:19 2002 Joe Orton <[email protected]>
620
621 * ssl.c (accept_signed_cert): New function, factored out from
622 simple.
623 (simple): Use accept_signed_cert.
624 (subject_altname, two_subject_altname, two_subject_altname2):
625 New function.
626
627 * openssl.conf: Add extension sections altExt, altExt2, altExt3.
628
629 * makekeys.sh: Generate altname.cert, altname2.cert,
630 altname3.cert.
631
632 Sat Aug 17 18:41:42 2002 Joe Orton <[email protected]>
633
634 * makekeys.sh (csr_fields): New function; generate output for
635 `openssl req'.
636
637 Sat Aug 17 18:27:36 2002 Joe Orton <[email protected]>
638
639 * makekeys.sh: Add CA and REQ variables to simplify OpenSSL
640 invocation. Pass -config to req rather than relying on installed
641 default configuration.
642
643 * openssl.conf: Add `req' and `reqDN' sections to allow use with
644 `openssl req' command. Add CA basic constraint extention to
645 certificates used.
646
647 Sat Aug 10 10:42:57 2002 Joe Orton <[email protected]>
648
649 * makekeys.sh: Use openssl binary as ${OPENSSL}.
650
651 * Makefile.in: Pick up OPENSSL from configure, and pass it through
652 to makekeys.sh.
653
654 Sat Aug 10 10:18:15 2002 Joe Orton <[email protected]>
655
656 * socket.c (begin): Don't use run-time initialization.
657
658 * request.c (s_progress): Fix warnings on FreeBSD.
659
660 Mon Aug 5 21:08:24 2002 Joe Orton <[email protected]>
661
662 * ssl.c (ccert_provider, client_cert_provided): New functions.
663 (fail_load_ccerts): Enable function.
664
665 Sun Aug 4 22:32:43 2002 Joe Orton <[email protected]>
666
667 * request.c (serve_abort, retry_after_abort): New functions.
668
669 Sun Aug 4 13:28:47 2002 Joe Orton <[email protected]>
670
671 * request.c (continued_header): New function.
672
673 Sun Aug 4 12:54:52 2002 Joe Orton <[email protected]>
674
675 * socket.c [SOCKET_SSL] (ssl_closure): New function; use instead
676 of read_reset, write_reset for SOCKET_SSL build.
677
678 Sun Aug 4 12:27:34 2002 Joe Orton <[email protected]>
679
680 Build socket.c twice, once for testing over SSL connections:
681
682 * Makefile.in (socket-ssl.o, socket-ssl): New targets.
683 (SSL_TESTS): Include socket-ssl target.
684
685 * socket.c [SOCKET_SSL] (init_ssl, wrap_serve): New functions.
686 [SOCKET_SSL] (begin): Alternate implementation.
687
688 Sat Aug 3 22:20:59 2002 Joe Orton <[email protected]>
689
690 * session.c (privates): New function.
691
692 Sat Aug 3 22:20:14 2002 Joe Orton <[email protected]>
693
694 * auth.c (fail_auth_cb, tunnel_regress): New function.
695
696 Sat Aug 3 22:12:48 2002 Joe Orton <[email protected]>
697
698 * auth.c (forget_regress): New function.
699
700 Sun Jul 28 12:24:02 2002 Joe Orton <[email protected]>
701
702 * lock.c (lock_timeout, submit_test, lock_shared): Use ne_concat,
703 not CONCAT? macros.
704
705 * ssl.c (init, fail_expired, fail_notvalid): Likewise.
706
707 Thu Jul 25 00:04:47 2002 Joe Orton <[email protected]>
708
709 * string-tests.c (buf_concat, buf_concat2, buf_concat3): Renamed
710 from concat, concat1, concat3).
711 (concat): New function.
712
713 Sun Jul 14 11:42:03 2002 Joe Orton <[email protected]>
714
715 * util-tests.c (versioning): New function.
716
717 Thu Jul 11 17:24:29 2002 Joe Orton <[email protected]>
718
719 * request.c (no_headers): New function.
720
721 Wed Jul 10 22:58:01 2002 Joe Orton <[email protected]>
722
723 * utils.c (any_2xx_request_body): New function.
724
725 Wed Jul 10 22:44:12 2002 Joe Orton <[email protected]>
726
727 * request.c (ptimeout_eof, ptimeout_eof2, close_not_retried,
728 serve_close2): New functions.
729 (abort_respbody): Rejoin child earlier for reliable results.
730
731 Sun Jul 7 12:17:11 2002 Joe Orton <[email protected]>
732
733 * socket.c (expect_eof): Better error reporting.
734 (good_close): Split from finish().
735 (finish): Use good_close.
736 (expect_write_closed, write_reset, read_reset): Add tests that
737 an ECONNRESET is treated as a SOCK_CLOSED failure.
738
739 Sun Jul 7 08:38:12 2002 Joe Orton <[email protected]>
740
741 * utils.c (serve_response): Use discard_body().
742
743 Sun Jul 7 08:28:56 2002 Joe Orton <[email protected]>
744
745 * socket.c (serve_expect, full_write, small_writes, large_writes,
746 echo_server, echo_expect, echo_lines): New functions.
747
748 Sat Jul 6 13:11:33 2002 Joe Orton <[email protected]>
749
750 * request.c (serve_eof, fail_early_eof, fail_eof_continued,
751 fail_eof_headers): New functions.
752
753 Sat Jul 6 08:58:17 2002 Joe Orton <[email protected]>
754
755 * request.c (serve_100_once, expect_100_once): New functions.
756
757 Fri Jul 5 21:43:58 2002 Joe Orton <[email protected]>
758
759 * auth.c (username): Use the correct spelling of Aladdin.
760 (auth_hdr): Simplify debug messages.
761 (auth_serve): Fail if no Authorization header is given.
762 (basic): Check for response status.
763
764 Fri Jul 5 21:41:02 2002 Joe Orton <[email protected]>
765
766 * utils.c (any_2xx_request): New function.
767
768 Sun Jun 30 17:10:59 2002 Joe Orton <[email protected]>
769
770 * request.c (fail_noserver): Factor out from host_not_found.
771 (fail_lookup): Equivalent to old host_not_found.
772 (fail_connect, abort_respbody): New function.
773
774 Sun Jun 30 14:32:32 2002 Joe Orton <[email protected]>
775
776 * request.c (fail_chunksize): New function.
777
778 Sun Jun 30 10:39:17 2002 Joe Orton <[email protected]>
779
780 * request.c (test_persist): Factor out from persist; take
781 response and response body as arguments.
782 (persist_http11): New function, equivalent to old persist.
783 (persist_chunked, persist_http10): New functions.
784
785 Sun Jun 30 10:25:07 2002 Joe Orton <[email protected]>
786
787 * utils.c (serve_response): Factor out from single_serve_string,
788 many_serve_string.
789 (single_serve_string, many_serve_string): Use serve_response.
790
791 Sun Jun 30 09:13:55 2002 Joe Orton <[email protected]>
792
793 * request.c (expect_response, persist, persist_timeout,
794 multi_header): Rely on the fact that the test framework
795 will reap the server.
796 (expect_no_body, no_body_304, no_body_204, no_body_HEAD,
797 no_body_chunks): New functions.
798
799 Tue Jun 25 23:05:42 2002 Joe Orton <[email protected]>
800
801 * request.c (trailing_header): New function.
802
803 Sun Jun 23 23:00:03 2002 Joe Orton <[email protected]>
804
805 * ssl.c (no_verify): Fix sixth argument to any_ssl_request.
806
807 Sun Jun 23 15:21:06 2002 Joe Orton <[email protected]>
808
809 * Makefile.in (grind): New target.
810
811 * run.sh: Respect $HARNESS.
812
813 Sun Jun 23 15:20:38 2002 Joe Orton <[email protected]>
814
815 * props.c: New file.
816
817 Sun Jun 23 09:37:10 2002 Joe Orton <[email protected]>
818
819 * makekeys.sh: Ignore failure from `hostname -[sdf]' commands, as
820 appropriate tests are skipped on failure.
821
822 Sun Jun 23 08:33:50 2002 Joe Orton <[email protected]>
823
824 * request.c (host_not_found): Use any_request(); simplify.
825 (proxy_no_resolve): New function.
826
827 Sun Jun 16 11:40:19 2002 Joe Orton <[email protected]>
828
829 * ssl.c (do_ssl_response): Succeed if connection is closed
830 by client after negotiation.
831 (serve_tunnel, fail_tunnel, proxy_tunnel): New functions.
832
833 Mon Jun 10 21:18:03 2002 Joe Orton <[email protected]>
834
835 * redirect.c (check_redir): Await server child before returning.
836
837 Sun Jun 9 13:05:25 2002 Joe Orton <[email protected]>
838
839 * socket.c (DECL): Don't use run-time initialization.
840 (single_read, single_peek, small_reads, read_and_peek, line_closure,
841 larger_read, line_toolong): Use DECL, as last declaration.
842
843 Sun Jun 9 13:03:36 2002 Joe Orton <[email protected]>
844
845 * compress.c (reader, do_fetch): Check that inflated data is of
846 expected length.
847
848 Sun Jun 9 11:40:54 2002 Joe Orton <[email protected]>
849
850 * redirect.c (struct redir_args): Add 'path' field.
851 (any_request): Use path in Request-URI.
852 (simple, redir_303, non_absolute): Fill in path.
853 (relative_1, relative_2): New functions.
854
855 Tue Jun 4 16:56:08 2002 Joe Orton <[email protected]>
856
857 * uri-tests.c (parents): Improve ne_path_parent tests.
858
859 Mon Jun 3 18:22:31 2002 Joe Orton <[email protected]>
860
861 * cookies.c: New file.
862
863 Sun Jun 2 10:06:42 2002 Joe Orton <[email protected]>
864
865 * basic.c (dav_capabilities): New function.
866
867 Sat Jun 1 10:39:04 2002 Joe Orton <[email protected]>
868
869 * socket.c (to_begin, to_end, peek_timeout, read_timeout,
870 readline_timeout, fullread_timeout): New functions.
871
872 Sat Jun 1 10:38:13 2002 Joe Orton <[email protected]>
873
874 * request.c (read_timeout): Use sleepy_server.
875 (hung_server): Removed.
876
877 Sat Jun 1 10:32:45 2002 Joe Orton <[email protected]>
878
879 * utils.c (sleepy_server): New function.
880
881 Thu May 30 20:00:40 2002 Joe Orton <[email protected]>
882
883 * socket.c (finish): New function, factored out from common code.
884 (small_reads, read_and_peek, larger_read): Use it.
885 (line_simple, line_closure, line_empty, line_toolong, line_mingle,
886 line_chunked): New functions.
887
888 Sun May 26 14:54:52 2002 Joe Orton <[email protected]>
889
890 * request.c (fill_uri, match_hostport, hostports): Moved functions
891 to session.c.
892
893 * session.c: New file.
894
895 Fri May 24 08:14:21 2002 Joe Orton <[email protected]>
896
897 * request.c (match_hostport, hostports): New functions.
898
899 Tue May 21 21:29:25 2002 Joe Orton <[email protected]>
900
901 * redirect.c: New file.
902
903 Sun May 19 18:25:48 2002 Joe Orton <[email protected]>
904
905 * auth.c, lock.c, regress.c, socket.c, ssl.c, utils.c, utils.h:
906 Update for socket API change; s/sock_/ne_sock_/,
907 s/SOCK_/NE_SOCK_/.
908
909 Wed May 8 19:41:24 2002 Joe Orton <[email protected]>
910
911 * ssl.c (do_ssl_response): Take response body as parameter; all
912 callers changed.
913 (serve_eof, simple_eof): New functions.
914
915 Wed May 8 17:17:27 2002 Joe Orton <[email protected]>
916
917 * socket.c: New file.
918
919 * sock-tests.c: Removed file.
920
921 * Makefile.in: Updated accordingly.
922
923 Wed May 8 11:53:35 2002 Joe Orton <[email protected]>
924
925 * request.c (host_not_found): New function.
926
927 Wed May 1 21:41:02 2002 Joe Orton <[email protected]>
928
929 * uri-tests.c (parse): New function.
930 (simple, simple_ssl): Adjust for ne_uri_parse port default.
931
932 Tue Apr 23 21:39:09 2002 Joe Orton <[email protected]>
933
934 * request.c (read_timeout): Better diagnostic for test failure
935 cases.
936
937 Sun Apr 14 12:00:19 2002 Joe Orton <[email protected]>
938
939 * basic.c (content_type): Updated to reflect default charset
940 ISO-8859-1 for text/ media types.
941
942 Sun Apr 7 17:35:21 2002 Joe Orton <[email protected]>
943
944 * run.sh: Set MALLOC_CHECK_ so glibc's heap corruption detection
945 is enabled.
946
947 Sun Apr 7 17:30:37 2002 Joe Orton <[email protected]>
948
949 * compress.c (do_fetch): Reset 'failed' flag to zero each time.
950
951 Wed Apr 3 20:16:43 2002 Joe Orton <[email protected]>
952
953 * request.c (NO_BODY): Renamed from NOBODY (all callers changed).
954 (empty_header, ignore_header_ws, ignore_header_ws2): New tests.
955 (ignore_header_ws3): Renamed from ignore_header_spaces.
956
957 Tue Apr 2 21:09:33 2002 Joe Orton <[email protected]>
958
959 * request.c (expect_header_value): New function.
960 (ignore_header_case, ignore_header_spaces,
961 ignore_header_tabs): New tests.
962
963 Mon Mar 25 21:51:24 2002 Joe Orton <[email protected]>
964
965 * lock.c (multi_lock_response, lock_shared): New function.
966 (lock_compare): Factored out from discover_results.
967 (discover, lock_timeout, submit_test): Adjust for lock API
968 changes.
969
970 Mon Mar 25 21:36:55 2002 Joe Orton <[email protected]>
971
972 * ssl.c (fail_ssl_request): Check failure bits against
973 NE_SSL_FAILMASK.
974
975 Sun Mar 10 22:07:48 2002 Joe Orton <[email protected]>
976
977 * stubs.c (stub_decompress, sd_reader): New function.
978
979 Sun Mar 10 21:39:29 2002 Joe Orton <[email protected]>
980
981 * lock.c (activelock): New function, factored out from
982 lock_response.
983 (lock_response): Use activelock; adjust argument types.
984 (make_lock): Adjusted for lock_response arg changes.
985 (discard_response, serve_discovery, discover_result, discover):
986 New functions.
987
988 Wed Mar 6 22:22:04 2002 Joe Orton <[email protected]>
989
990 * lock.c (submit_test): Handle failures gracefully.
991
992 Wed Mar 6 21:23:27 2002 Joe Orton <[email protected]>
993
994 * lock.c (submit_test): Update to expect an absoluteURI in If:
995 headers.
996
997 Wed Mar 6 21:17:37 2002 Joe Orton <[email protected]>
998
999 * uri-tests.c (unparse): New function.
1000
1001 Tue Mar 5 22:59:37 2002 Joe Orton <[email protected]>
1002
1003 * uri-tests.c (cmp): Checks for case-insensitive comparison, and
1004 empty path, "/" equivalence.
1005
1006 Mon Mar 4 01:07:03 2002 Joe Orton <[email protected]>
1007
1008 * request.c (blank_response): Add test for potential segfault
1009 in strip_eol (would fail if run under Electric Fence).
1010
1011 Sun Mar 3 20:50:01 2002 Joe Orton <[email protected]>
1012
1013 * lock.c (make_lock, store_single, store_several, got_if_header,
1014 serve_verify_if, do_request, submit_test, if_simple,
1015 if_under_infinite, if_infinite_over, if_child, if_covered_child):
1016 New tests.
1017
1018 (lock_timeout): Adjusted for API changes.
1019
1020 Sun Mar 3 15:29:05 2002 Joe Orton <[email protected]>
1021
1022 * uri-tests.c (cmp_differ, cmp): New functions.
1023
1024 Sun Mar 3 11:08:36 2002 Joe Orton <[email protected]>
1025
1026 * request.c (fill_uri): New function.
1027
1028 Sun Feb 17 21:31:21 2002 Joe Orton <[email protected]>
1029
1030 * ssl.c (fqdn_match): Removed test.
1031
1032 Sun Feb 17 20:32:16 2002 Joe Orton <[email protected]>
1033
1034 * makekeys.sh: Create keypair for client cert.
1035
1036 * ssl.c (do_ssl_response, any_ssl_request, all callers thereof):
1037 Better error handling.
1038 (serve_ccert, load_pem_ccert, keypw_prompt, load_pkcs12_ccert,
1039 fail_load_ccerts, client_cert_pem, client_cert_pkcs12): New
1040 functions.
1041
1042 Sun Feb 17 11:54:19 2002 Joe Orton <[email protected]>
1043
1044 * basic.c (do_range): Factored out from
1045 get_range/fail_range_length.
1046 (get_range, fail_range_length): Use do_range.
1047 (fail_range_units, fail_range_notrange, fail_range_unsatify): New
1048 tests.
1049
1050 Sun Feb 17 11:36:00 2002 Joe Orton <[email protected]>
1051
1052 * basic.c (get_range, fail_range_length): New functions.
1053
1054 Sat Feb 16 23:29:40 2002 Joe Orton <[email protected]>
1055
1056 * xml.c: New file.
1057
1058 * Makefile.in (DAV_TESTS): Add xml tests.
1059
1060 Sat Feb 16 15:26:27 2002 Joe Orton <[email protected]>
1061
1062 * compress.c (do_fetch): Rename from fetch(); add 'expect_fail'
1063 paramater. (fetch): Re-implement using do_fetch.
1064 (fail_trailing, fail_bad_csum, fail_truncate): New functions.
1065
1066 * Makefile.in (trailing.gz, truncated.gz, badcsum.gz): New helper
1067 files.
1068
1069 Thu Feb 14 19:09:42 2002 Joe Orton <[email protected]>
1070
1071 * request.c (everywhere): Simplify use of expect_response.
1072
1073 Thu Feb 14 19:05:48 2002 Joe Orton <[email protected]>
1074
1075 * request.c (ignore_bad_headers): New function.
1076
1077 Mon Feb 11 22:06:40 2002 Joe Orton <[email protected]>
1078
1079 * makekeys.sh: If the hostname command is clever enough to give
1080 FQDN, hostname, domainname, then create wildcard.cert; cert with a
1081 wildcard commonName.
1082
1083 * ssl.c (wildcard_match): New function
1084
1085 Mon Feb 11 21:55:52 2002 Joe Orton <[email protected]>
1086
1087 * ssl.c (any_ssl_request): Take session pointer, don't
1088 initialize here. (DEFSESS): New macro.
1089 (everywhere): Use DEFSESS rather than passing pointer-to-
1090 session pointer.
1091
1092 Mon Feb 11 20:44:44 2002 Joe Orton <[email protected]>
1093
1094 * ssl.c (fqdn_match): Test for FQDN matching against non-qualified
1095 FQDN.
1096 (makekeys.sh): Create server cert with FQDN.
1097
1098 Sun Feb 10 12:36:55 2002 Joe Orton <[email protected]>
1099
1100 * request.c (chunk_oversize): New function.
1101
1102 Sat Feb 9 21:12:47 2002 Joe Orton <[email protected]>
1103
1104 * request.c (reason_phrase): New function.
1105
1106 Sat Feb 9 16:50:58 2002 Joe Orton <[email protected]>
1107
1108 * request.c (read_timeout, hung_server): New functions.
1109
1110 Thu Feb 7 22:58:31 2002 Joe Orton <[email protected]>
1111
1112 * ssl.c (cache_verify, no_verify, count_vfy): New functions.
1113
1114 Thu Feb 7 19:39:33 2002 Joe Orton <[email protected]>
1115
1116 * ssl.c (any_ssl_request): Take server function as argument: all
1117 callers changed.
1118 (fail_ssl_request): Renamed from failreq; uses any_ssl_request.
1119
1120 Wed Feb 6 20:43:32 2002 Joe Orton <[email protected]>
1121
1122 * ssl.c (load_ca): New function.
1123
1124 Wed Feb 6 20:36:15 2002 Joe Orton <[email protected]>
1125
1126 * ssl.c (any_ssl_request): Make ca_cert and verify_fn arguments
1127 optional.
1128 (trustall): Removed function.
1129 (simple): Use the CA cert; no need for a verify function.
1130 (parse_cert): Don't give a CA cert, force use of verify function.
1131 (failreq): Bug fix, don't trust server cert as CA.
1132 (fail_wrongCN, fail_notvalid, fail_expired): Pass server cert
1133 as CA cert server cert is self-signed.
1134
1135 Tue Feb 5 20:33:42 2002 Joe Orton <[email protected]>
1136
1137 * ssl.c (fail_untrusted_ca, fail_self_signed): New tests.
1138 (fail_serve): New function.
1139 (failreq, any_ssl_request): Take ca cert argument.
1140 (check_DNs, trustall, get_failures): Adjust for new verify
1141 callback interface.
1142
1143 Sat Feb 2 14:18:11 2002 Joe Orton <[email protected]>
1144
1145 * ssl.c (do_ssl_response): Factored out from serve_ssl.
1146 (serve_ssl): Use do_ssl_response.
1147 (serve_scache, session_cache): New functions.
1148
1149 Thu Jan 31 21:09:58 2002 Joe Orton <[email protected]>
1150
1151 * Makefile.in (ca-stamp): New target.
1152
1153 * makekeys.sh: New helper script.
1154
1155 * ssl.c (parse_cert, fail_wrongCN, fail_expired, fail_notvalid):
1156 New tests.
1157 (any_ssl_request, trustall, check_DNs, failreq): New auxiliaries.
1158
1159 Thu Jan 31 20:42:38 2002 Joe Orton <[email protected]>
1160
1161 * wrongcn.pem, notvalid.pem, expired.pem, server.key: New files.
1162
1163 * Makefile.in: Remove targets to generate certs.
1164
1165 Wed Jan 30 21:15:33 2002 Joe Orton <[email protected]>
1166
1167 * Makefile.in (wrongcn.pem): New target.
1168
1169 Wed Jan 30 19:58:18 2002 Joe Orton <[email protected]>
1170
1171 * string-tests.c: Updated for ne_buffer API change.
1172
1173 Sat Jan 26 11:23:34 2002 Joe Orton <[email protected]>
1174
1175 * Makefile.in: Pick up appropriate TESTS, HELPERS from configure.
1176 (ssltests*, davtests*): Remove crud.
1177
1178 * compress.c: Presume zlib support present if built.
1179
1180 Sun Jan 20 23:29:37 2002 Joe Orton <[email protected]>
1181
1182 * ssl.c: New file.
1183
1184 * Makefile.in (ssltests-no, ssltests-yes, server.pem, server.key):
1185 New targets.
1186 (check): Conditionally run SSL tests.
1187
1188 Sun Jan 20 13:20:56 2002 Joe Orton <[email protected]>
1189
1190 * Makefile.in (davtests-no, davtests-yes): Separate test programs
1191 which require DAV support; only run if DAV is enabled.
1192
1193 * Makefile.in (test): Pass SRCDIR env var through to run.sh.
1194
1195 * run.sh: Pass SRCDIR as argv[1] to test programs.
1196
1197 * compress.c (init): New function. Use 'newsfn' global for
1198 filename of NEWS file.
1199
1200 Sun Jan 20 13:06:40 2002 Joe Orton <[email protected]>
1201
1202 * Makefile.in: Fixes for VPATH build
1203
1204 Mon Jan 14 01:58:39 2002 Joe Orton <[email protected]>
1205
1206 * basic.c (content_type): Add harsher charset handling tests.
1207
1208 Sun Jan 13 14:01:57 2002 Joe Orton <[email protected]>
1209
1210 * lock.c (lock_timeout): Use make_session.
1211
1212 * acl.c (test_acl): Use make_session.
1213
1214 * auth.c (basic, retries): Use make_session.
1215
1216 Sun Jan 13 14:01:13 2002 Joe Orton <[email protected]>
1217
1218 * utils.c (make_session): New function.
1219
1220 Sun Jan 13 14:00:34 2002 Joe Orton <[email protected]>
1221
1222 * basic.c (content_type): Rename ctype to ct; check if charset is
1223 unexpectedly set.
1224
1225 Sun Jan 13 13:58:07 2002 Joe Orton <[email protected]>
1226
1227 * basic.c: New file.
1228
1229 * Makefile.in: Add `basic' test suite.
1230
1231 Mon Jan 7 22:05:33 2002 Joe Orton <[email protected]>
1232
1233 * Makefile.in: Don't pass CFLAGS to CC when linking.
1234
1235 Mon Jan 7 21:46:03 2002 Joe Orton <[email protected]>
1236
1237 * lock.c: New file.
1238
1239 * Makefile.in: Add 'lock' to TESTS, build lock.
1240
1241 Mon Jan 7 21:17:21 2002 Joe Orton <[email protected]>
1242
1243 * skeleton.c: Add skeleton test suite.
1244
1245 Tue Jan 1 21:47:09 2002 Joe Orton <[email protected]>
1246
1247 * Makefile.in: Use CPPFLAGS correctly.
1248
1249 Sun Dec 9 14:02:50 2001 Joe Orton <[email protected]>
1250
1251 * string-tests.c (ONCMP): New macro. (everywhere): Use it.
1252 (grow): Add ne_buffer_grow test.
1253
1254 Sun Dec 9 13:12:27 2001 Joe Orton <[email protected]>
1255
1256 * string-tests.c (concat2, concat3): New ne_buffer_concat tests.
1257
1258 Sat Dec 1 18:35:29 2001 Joe Orton <[email protected]>
1259
1260 * utils.c (any_request): Don't set the error context.
1261
1262 Sat Dec 1 12:21:48 2001 Joe Orton <[email protected]>
1263
1264 * auth.c (retry_failure, retry_fail_cb, retry_fail_serve): New
1265 functions.
1266
1267 Tue Nov 27 21:24:22 2001 Joe Orton <[email protected]>
1268
1269 * request.c (s_progress, provide_progress, send_progress): New
1270 functions.
1271
1272 Sun Nov 18 19:11:23 2001 Joe Orton <[email protected]>
1273
1274 * auth.c (send_response): New function. (auth_serve): Simplify
1275 using send_response. (retry_serve, retry_cb, retries): New
1276 functions.
1277
1278 Sat Nov 17 22:32:29 2001 Joe Orton <[email protected]>
1279
1280 * auth.c (auth_serve, basic): Simplify, use a persistent
1281 connection and any_request() to work with --disable-dav builds.
1282
1283 Sat Nov 17 22:30:43 2001 Joe Orton <[email protected]>
1284
1285 * utils.c (any_request): New function.
1286
1287 Sun Oct 28 19:38:05 2001 Joe Orton <[email protected]>
1288
1289 * Makefile.in: Use explicit link rules.
1290
1291 Fri Oct 26 20:08:33 2001 Joe Orton <[email protected]>
1292
1293 * request.c (persist_timeout): Test behaviour when connection
1294 closes after between 1 and 10 requests.
1295
1296 Fri Oct 26 20:04:27 2001 Joe Orton <[email protected]>
1297
1298 * utils.c (many_serve_string): New function.
1299
1300 Sun Oct 7 17:48:53 2001 Joe Orton <[email protected]>
1301
1302 * utils.c: New file.
1303
1304 * request.c (single_serve_string): Moved to utils.c.
1305
1306 * Makefile.in: Link utils.o into all libtest.a. Move libtest.a
1307 into this directory.
1308
1309 Sun Oct 7 15:01:47 2001 Joe Orton <[email protected]>
1310
1311 * request.c (persist, persist_timeout, serve_twice, is_alive): New
1312 functions. (closed_connection): Avoid race condition.
1313
1314 Sat Oct 6 14:33:42 2001 Joe Orton <[email protected]>
1315
1316 * request.c (prepare_request, finish_request): Renamed from
1317 make_request, destroy_request. (skip_interim_1xx, skip_many_1xx,
1318 skip_1xx_hdrs): New functions.
1319
1320 Wed Oct 3 00:03:33 2001 Joe Orton <[email protected]>
1321
1322 * request.c (fail_request): Optionally include a request body, and
1323 optionally presume the server runs "forever". (all callers
1324 changed). (serve_close, closed_connection): New function.
1325
1326 Sat Sep 29 14:08:16 2001 Joe Orton <[email protected]>
1327
1328 * compress.c (fetch): Update for new decompression API.
1329
1330 Sat Sep 29 11:21:56 2001 Joe Orton <[email protected]>
1331
1332 * compress.c: New file.
1333
1334 * Makefile.in: Build compress test, and some its helpers. Add
1335 -lneon to LIBS, and pick up NEON_CFLAGS.
1336
1337 Thu Sep 27 20:31:51 2001 Joe Orton <[email protected]>
1338
1339 * utils.h: New file.
1340
1341 * request.c: Moved ONREQ() into utils.h
1342
1343 Mon Aug 27 00:34:56 2001 Joe Orton <[email protected]>
1344
1345 * regress.c: New file.
1346
1347 Mon Aug 27 00:33:13 2001 Joe Orton <[email protected]>
1348
1349 * request.c (discard_request): Moved into common/child.c.
1350 (make_request, destroy_request): Convenience functions.
1351 (serve_non_http, not_http): New test.
1352
1353 Sun Jun 24 22:15:46 2001 Joe Orton <[email protected]>
1354
1355 * test.[ch], child.[ch]: Moved into 'common' subdir.
1356
1357 * Makefile.in: Updated likewise.
1358
1359 Tue Jun 19 22:00:06 2001 Joe Orton <[email protected]>
1360
1361 * util-tests.c (parse_dates): Test date parsers.
1362
1363 Sun Jun 10 17:36:11 2001 Joe Orton <[email protected]>
1364
1365 * request.c (infinite_headers, unbounded_headers): New test.
1366
1367 Sun Jun 10 16:38:53 2001 Joe Orton <[email protected]>
1368
1369 * child.c [HAVE_PIPE]: Use a pipe between child and parent to know
1370 when the child is ready to accept connections. Avoids boring
1371 sleep()ing.
1372
1373 Fri Jun 8 21:19:35 2001 Joe Orton <[email protected]>
1374
1375 * tests.c (segv, main): Remove SEGV handler in favour of useful
1376 core dumps.
1377
1378 Mon Jun 4 01:15:52 2001 Joe Orton <[email protected]>
1379
1380 * child.c (server_socket): Set socket family correctly.
1381
1382 Thu May 31 08:58:41 2001 Joe Orton <[email protected]>
1383
1384 * util-tests.c (md5_alignment): New test for MD5 alignment issue
1385 on Sparc.
1386
1387 Thu May 31 00:40:43 2001 Joe Orton <[email protected]>
1388
1389 * child.c (minisleep): Just sleep for a second anyway.
1390
1391 Thu May 31 00:19:16 2001 Joe Orton <[email protected]>
1392
1393 * child.c (server_socket): Casts for bind and setsockopt arguments.
1394
1395 Thu May 31 00:02:21 2001 Joe Orton <[email protected]>
1396
1397 * request.c (send_bodies): Test callback-provided request bodies.
1398
1399 Wed May 30 22:37:08 2001 Joe Orton <[email protected]>
1400
1401 * tests.c (child_segv): New function. (in_child): Install
1402 different SEGV handler. (segv): Sleep so the re-raised SEGV
1403 signal gets handled and we dump core.
1404
1405 Wed May 30 19:24:32 2001 Joe Orton <[email protected]>
1406
1407 * request.c (send_bodies): New test for sending request bodies.
1408
1409 Wed May 16 21:19:49 2001 Joe Orton <[email protected]>
1410
1411 * request.c (expect_response): Renamed, fold together
1412 single_request and do_get_request. (all callers changed)
1413
1414 Wed May 16 20:59:19 2001 Joe Orton <[email protected]>
1415
1416 * request.c (construct_get, run_request): New functions.
1417 (fold_headers, fold_many_headers, multi_header): New tests.
1418
1419 Sat May 12 17:37:36 2001 Joe Orton <[email protected]>
1420
1421 * server.c: Renamed from http-tests.c.
1422
1423 Sat May 12 17:35:05 2001 Joe Orton <[email protected]>
1424
1425 * child.c (minisleep): New function. (spawn_server, reap_server):
1426 New functions. (server_child): Call in_child.
1427
1428 Sat May 12 17:33:57 2001 Joe Orton <[email protected]>
1429
1430 * tests.c (main): Open two log files for debugging messages.
1431 (in_child): Switch to debug using child log.
1432
1433 Sat May 12 11:18:18 2001 Joe Orton <[email protected]>
1434
1435 * tests.c (main): Call sock_init. (segv): Re-raise SEGV signal
1436 after printing message.
1437
1438 Mon May 7 10:38:50 2001 Joe Orton <[email protected]>
1439
1440 * request.c (chunk_syntax_1, chunk_syntax_2, chunk_syntax_3,
1441 chunk_syntax_4, chunk_syntax_5): Split down from chunk_syntax.
1442
1443 Mon May 7 10:37:38 2001 Joe Orton <[email protected]>
1444
1445 * util-tests.c (base64): Update for ne_base64() changes. Add
1446 tests for binary data.
1447
1448 Sun May 6 23:55:36 2001 Joe Orton <[email protected]>
1449
1450 * tests.h (ON): Use global buffer 'on_err_buf'. Make 'name'
1451 variable public.
1452
1453 Sun May 6 23:53:06 2001 Joe Orton <[email protected]>
1454
1455 * request.c (single_serve_string): General version of
1456 single_serve_*. (single_request): Pass in expected response body.
1457 (single_get_*): Use new single_request/single_serve_string.
1458 (chunk_syntax): Add some tests for chunk syntax.
1459
1460 Sun May 6 22:29:36 2001 Joe Orton <[email protected]>
1461
1462 * child.c, child.h: New files, split down from request.c.
1463
1464 Sun May 6 21:53:28 2001 Joe Orton <[email protected]>
1465
1466 * request.c (spawn_server): Sleep for a while to let the server
1467 get going. (do_request): Use passed parameters when creating
1468 request.
1469
1470 Sun May 6 21:34:27 2001 Joe Orton <[email protected]>
1471
1472 * request.c (spawn_server): Use callback to handle the server side
1473 of connection. (single_request): New function. (single_get_eof,
1474 single_get_clength, single_get_chunked): New functions.
1475 (reap_server): New function.
1476
1477 Sun May 6 20:02:32 2001 Joe Orton <[email protected]>
1478
1479 * request.c: New file.
1480
1481 Wed May 2 12:08:53 2001 Joe Orton <[email protected]>
1482
1483 * string-tests.c (token1, token2, nulls, empty, quoted, badquotes,
1484 shave, combo): New tests for ne_token and ne_shave.
1485
1486 Wed May 2 12:04:52 2001 Joe Orton <[email protected]>
1487
1488 * string-tests.c: Updated for sbuffer -> ne_buffer changes.
1489
1490 Wed May 2 01:08:45 2001 Joe Orton <[email protected]>
1491
1492 * Makefile.in (check): Alias for test goal.
1493
1494 Wed May 2 01:08:36 2001 Joe Orton <[email protected]>
1495
1496 * tests.c (segv): Disable SEGV handler once handling it.
1497
1498 Sun Apr 29 14:57:59 2001 Joe Orton <[email protected]>
1499
1500 * uri-tests.c (slash): Check behaviour of passing zero-length URI.
1501
1502 Sun Apr 29 13:43:59 2001 Joe Orton <[email protected]>
1503
1504 * Makefile.in (clean): New target. (libtest.a): Depend on libneon
1505 to force rebuilds when necessary. (all): Build but don't test.
1506
1507 Sun Apr 29 13:41:13 2001 Joe Orton <[email protected]>
1508
1509 * util-tests.c: Add status line with leading garbage.
1510
1511 Sun Apr 29 13:39:53 2001 Joe Orton <[email protected]>
1512
1513 * util-tests.c (status_lines): Add some tests for invalid status
1514 lines too.
1515
1516 Sun Apr 29 13:38:31 2001 Joe Orton <[email protected]>
1517
1518 * tests.c (main): Use basename(argv[0]) as suite name. Fail if no
1519 tests are in the functions vector.
1520
1521 Sun Apr 29 11:06:45 2001 Joe Orton <[email protected]>
1522
1523 * tests.c (segv): New function. (main): Add SIGSEGV handler.
1524
1525 Fri Apr 27 00:00:12 2001 Joe Orton <[email protected]>
1526
1527 * util-tests.c (base64): New test.
1528
1529 Thu Apr 26 22:39:44 2001 Joe Orton <[email protected]>
1530
1531 * uri-tests.c (just_hostname, just_path, null_uri): New tests.
1532
1533 Thu Apr 26 22:03:58 2001 Joe Orton <[email protected]>
1534
1535 * util-tests.c (md5): Test of MD5 functions.
1536
1537 Mon Apr 23 23:08:02 2001 Joe Orton <[email protected]>
1538
1539 * http-tests.c (simple_head): Add HEAD test.
1540
1541 Mon Apr 23 22:49:52 2001 Joe Orton <[email protected]>
1542
1543 * http-tests.c (simple_get): Check for EOF after reading response
1544 body of HTTP/1.0 GET request.
1545
1546 (null_resource): New function, test for 404 on null resource.
1547
1548