Commit Graph

577 Commits

Author SHA1 Message Date
mainzelm f9474b7a16 Replaced define-record by define-record-type 2003-01-15 12:17:54 +00:00
sperber 3f398e3ba7 Re-indent. 2003-01-15 11:00:22 +00:00
sperber 608bb395f2 Rename "userhost" to "server" according to RFC 2396. 2003-01-15 10:59:46 +00:00
sperber e090e1bd44 Add PARSE-HTTP-URL-STRING procedure to URL structure. 2003-01-15 10:36:16 +00:00
sperber b85f09212e Indentation and comment fixes. As usual, fix Olin's atrocious
line-breaking of IFs.
2003-01-15 10:32:35 +00:00
sperber abc0cdb34d Indentation and typo fixes.
In particular, fix Olin's atrocious line-breaking of IFs.
2003-01-15 10:17:43 +00:00
sperber 8800f37a3b - fix bug: PARSE-URI couldn't handle ? and # in the same URI
- use fixed URI-RESERVED-SANS-= instead of computing
  (char-set-delete uri-reserved #\=)
  each time PARSE-URI is called
2003-01-15 10:14:06 +00:00
sperber ff8061c4ea Reasonably complete and up-to-date docs. 2003-01-14 15:02:44 +00:00
sperber 8ed2a48176 Rename URI-PATH-LIST->PATH to URI-PATH->URI and SPLIT-URI-PATH to
SPLIT-URI.

Also fix paren typo from earlier commit.
2003-01-14 15:02:07 +00:00
sperber 62c597e7ec Rename URI-PATH-LIST->PATH to URI-PATH->URI and SPLIT-URI-PATH to
SPLIT-URI.
2003-01-14 15:01:21 +00:00
sperber d882315133 - elide documentation that's moved to uri.tex
- remove RESOLVE-URI
  (Whatever it was supposed to do (and we don't know what it was
  supposed to do), it didn't work, and there are no known clients for
  it.)
2003-01-14 14:40:57 +00:00
sperber e2d36f3922 Remove RESOLVE-URI. 2003-01-14 14:39:55 +00:00
sperber 9be65fb89a Delete; has been integrated into httpd.tex. 2003-01-14 13:54:05 +00:00
sperber a5bdc8743e Remove comments that have been integrated into the documentation. 2003-01-14 13:53:24 +00:00
sperber ba2d711921 - add Eric Marsden to the list of authors.
- remove toothless.tex from list of includes (has been integrated into
  httpd.tex)
2003-01-14 13:52:28 +00:00
sperber d81d5ed8ca Document SEVAL-HANDLER; pull in former toothless.tex. 2003-01-14 13:51:32 +00:00
sperber 35ca7dabe9 Document response bodies and MAKE-REDIRECT-RESPONSE. 2003-01-14 13:36:26 +00:00
sperber 9dac2674b4 Introduce new response type :HTTP-NPH-RESPONSE for nph-... CGI
scripts.
2003-01-14 13:23:29 +00:00
interp da98e19193 Force the result of the servlet to be printed into a string-port.
The servlet programmer is (nearly) unaware of this.

This removes the problem that arises if send/suspend is called in HTTPD
while transmitting data to the browser.
2003-01-14 11:27:42 +00:00
interp c7ec664dcb Get undefined references clear. 2003-01-10 13:50:39 +00:00
interp 3163116a7d Replace (removed) \FIXME command with comments 2003-01-10 13:47:49 +00:00
sperber 9a9d91fe92 Don't look at (getenv "PATH") when determining the PATH set for the
CGI script.
2003-01-10 13:31:06 +00:00
sperber 722135a77e Remove obsolete comment. 2003-01-10 13:30:36 +00:00
sperber 047384d846 Removed \ovar.
Fixed TeX-master setting in some files.
2003-01-10 13:30:18 +00:00
sperber 5bae6330f0 Fix TeX-master setting. 2003-01-10 13:28:35 +00:00
sperber dfb7287c41 Re-worked; more complete list of stuff in SUnet. 2003-01-10 13:28:11 +00:00
sperber 020f8264f1 First stab at rudimentary up-to-date documentation for the HTTP
server.
2003-01-10 13:27:05 +00:00
sperber 9eeb665323 Synch with up-to-date code from the scsh repo. 2003-01-10 13:26:24 +00:00
sperber 5880441b02 Add implementation of NAME->STATUS-CODE.
Tag export of STATUS-CODE as :SYNTAX.
2003-01-10 09:57:41 +00:00
sperber 86b0639a7f Rename MAKE-HTTP-ERROR-RESPONSE -> MAKE-ERROR-RESPONSE to be
consistent with MAKE-RESPONSE.
2003-01-10 09:52:35 +00:00
sperber 26de50f074 Don't set REMOTE_HOST---we set REMOTE_ADDR, and that's enough
according to the CGI spec.  (REMOTE_HOST required that we do a DNS
lookup.)
2003-01-09 16:02:40 +00:00
sperber 0754b74963 Replace integer HTTP status codes by finite record type instances. 2003-01-09 15:05:30 +00:00
sperber 1b31924b80 Complete and up-to-date documentation for the RFC822 library. 2003-01-09 13:47:19 +00:00
sperber 9b11ac1572 Remove %... procedure brain-damage from RFC822 code and use optional
arguments instead.
2003-01-09 13:23:50 +00:00
sperber 788b75caf0 Add HTTPD structure with all the stuff actually needed to call the
entry point.
2003-01-09 12:59:43 +00:00
sperber 8c848f1a05 Fix TeX-master. 2003-01-08 14:14:32 +00:00
sperber 7f75b6016a Remove log item showing "ecm-utilities" which no longer exists. 2003-01-08 14:14:16 +00:00
sperber 978f28680e Parameterize RMAN-HANDLER over locations of the various binaries. 2003-01-07 14:38:02 +00:00
sperber 7f5219220b Remove stray DECLINE which would shut down the server in the face of
internal server errors.
2003-01-07 13:40:34 +00:00
sperber db72d0f439 Remove obsolete uses of ERROR-PACKAGE. 2003-01-07 12:32:52 +00:00
sperber b5e07aef54 Remove -OBSOLETE packages; we're incompatible with the old SUnet
anyway, and there's little reason to keep compatibility packages for
the rest.
2003-01-07 12:18:27 +00:00
sperber 186e9de56c Streamline structure declarations
- remove some more uses of Olin records
- remove uses of BIG-SCHEME/BIG-UTIL
- subset all uses of SRFI 1, 13, 14
2003-01-07 12:16:33 +00:00
mainzelm ed85e7619e Propagate name change of httpd-cgi-handlers. 2002-12-29 19:10:48 +00:00
mainzelm 9146cb5780 Use with-lock to obtain/release-locks. 2002-12-29 19:10:10 +00:00
mainzelm c43a8b8f35 Copy with-lock from scsh into sunet-utilities. 2002-12-29 19:09:37 +00:00
mainzelm 7fc87572bb Last commit accidentally commented out REMOTE_HOST. 2002-12-29 17:52:26 +00:00
mainzelm e3ef1280c4 Correct leftover from the fork-based implementation: adjust port-buffering of socket's input port. 2002-12-29 17:49:06 +00:00
mainzelm bfab4cc710 Correct leftover from the fork-based implementation: stdin of the CGI
script must be the socket's input port.
2002-12-29 17:47:41 +00:00
mainzelm e7aa14ee73 cache contents of resolv.conf 2002-12-22 13:45:38 +00:00
mainzelm f0dbc7acba Add missing parameter to format in maybe-open-logfile. 2002-12-20 07:53:43 +00:00