Commit 164e52cd authored by Roy T. Fielding's avatar Roy T. Fielding
Browse files

I extracted the HTTP date parsing routines from proxy_util.c,

added the asctime format to those being parsed, modified the
interface to only include what was actually being used, and made
a bunch of improvements for speed and robustness.  I tested the
routines with a random date generator (maybe we should add a directory
for test programs?) and a variety of invalid formats.

I needed these for use by http_protocol.c in interpreting IMS and IUS dates,
but I strongly recommend that they also be used by the proxy module;
it will require a bit of work to modify the proxy's calls, but the
new routines supply a superset of functionality with better portability
(i.e., they don't assume long == int) and speed.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76921 13f79535-47bb-0310-9956-ffa450edef68
parent 2fe153af
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment