Commit Graph

334 Commits

Author SHA1 Message Date
sperber f0448cb34f Have FTP-LS and FTP-DIR returns list of directory lines rather than
printing the directory to (current-output-port).
2003-01-16 10:21:59 +00:00
sperber 101109e785 Fix FTP-SIZE to read reply until the end of the string. 2003-01-16 10:18:22 +00:00
sperber a4810b4cae Rename all those ugly "OUT"s to "out". 2003-01-16 10:03:04 +00:00
sperber 697ed851b8 - fix handling of multi-line replies
- redo FTP-MODIFICATION-TIME and FTP-PWD without regexps
2003-01-16 10:01:28 +00:00
sperber 1a0099230c Rewrite reply code testing with predicates instead of regexps. 2003-01-16 09:40:34 +00:00
sperber 045ded0d30 Rewrite FTP-BUILD-PORT-STRING in terms of FORMAT-INTERNET-HOST-ADDRESS
and FORMAT-PORT.
2003-01-16 09:23:05 +00:00
sperber 30f6f2a0a6 Reanem "response" -> "reply" in accordance with RFC 959. 2003-01-16 09:16:29 +00:00
sperber a138b994ba More comment and indentation fixes. 2003-01-16 09:12:10 +00:00
sperber 3da9d2019d ange-ftp -> EFS (in comments) 2003-01-15 15:41:45 +00:00
sperber fcbc62f29e Fix some mis-indentations of RECEIVE. 2003-01-15 15:40:33 +00:00
sperber f7ca3d5393 Use READ-CRLF-LINE instead of READ-LINE.
(FTP is TELNET-based.)
2003-01-15 15:39:13 +00:00
sperber 9109ecaaf6 Remove comments that have moved to the documentation. 2003-01-15 15:37:22 +00:00
interp 02f9f60e99 + Add code to remove forgotten temporary file.
+ Add note about time of profiling.
+ Don't show profiling pictures anymore. The server can't show them anyway.
Instead provide a link to the pbm file.
2003-01-15 14:42:32 +00:00
mainzelm 46f357d47d nph-responses don't carry a status code so simply guess it to be
(status ok) when generating the log file.
2003-01-15 14:07:57 +00:00
mainzelm 7e274597a4 Fix handling of "npg-" scripts by using make-nph-response. 2003-01-15 14:03:30 +00:00
mainzelm 7170593056 Use number->status-code to generate status-code from the code returned
in the CGI header.
2003-01-15 14:02:02 +00:00
mainzelm 06121b3972 Added number->status-code. 2003-01-15 13:37:05 +00:00
sperber ec99930213 Rename HTTP-URL-FRAG-ID to HTTP-URL-FRAGMENT-IDENTIFIER. 2003-01-15 12:19:45 +00:00
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 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 a5bdc8743e Remove comments that have been integrated into the documentation. 2003-01-14 13:53:24 +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
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 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 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 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 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