interp
0bee80fadf
Remove bug from POST forms: Let GET-HEADER return only the header
...
value.
2003-01-25 12:19:54 +00:00
interp
1f10457d52
Adapt to recent changes in surflet-handler
2003-01-24 16:05:39 +00:00
interp
3f3bf045de
Add SEND-ERROR, that sends an error.
2003-01-24 16:02:29 +00:00
interp
7055289412
Add comment to MAKE-REDIRECT-RESPONSE.
2003-01-24 15:34:37 +00:00
interp
1dcee71722
Use ASSQ instead of ASSOC in GET-HEADER
2003-01-24 15:29:30 +00:00
interp
90df993fe2
remove double entries; minor name change
2003-01-24 15:28:25 +00:00
interp
6358463b5a
+ Change interface of SEND/SUSPEND, SEND/FINISH, SEND:
...
They expect SURFLET-RESPONSE objects now (not HTTP-RESPONSE).
+ SEND-HTML/SUSPEND, SEND-HTML/FINISH, SEND-HTML respect this.
2003-01-24 15:23:51 +00:00
sperber
9893716650
Actually use READ-LINE parameter in MAKE-READ-RFC822-HEADERS.
...
(Noticed by bernauer.)
2003-01-24 09:51:17 +00:00
sperber
5f4c1b510b
Rename TIME->HTTP-DATE-STRING to RFC822-TIME->STRING.
...
(Missed by sperber, noticed by bernauer.)
2003-01-24 09:48:37 +00:00
sperber
b239184a38
- removed some leftover debugging output
...
- simplified exception handling (and probably fixed some bugs)
- banners are now lists of lines
- rewrote bogus reply output code
2003-01-23 09:38:20 +00:00
interp
27f6c5a832
+ complete renaming SERVLET->SURFLET
...
+ adjust to recent changes in RFC822 (surflets.scm, packages.scm)
2003-01-22 12:53:46 +00:00
mainzelm
73629e6baa
+ octet generation for messages only just before the message is sent
...
+ two additional constructors for query messages
+ rename "question" to "query" when variable hold a dns-message
2003-01-22 12:27:50 +00:00
sperber
4898196703
Long obsolete.
2003-01-22 10:51:50 +00:00
sperber
45a1746bc9
Remove comments which are either superfluous or have moved to the
...
documentation.
2003-01-22 10:48:19 +00:00
sperber
3fb74214f8
Rename CGI-SCRIPT -> CGI-SCRIPTS.
2003-01-22 10:44:56 +00:00
sperber
ee490999df
Re-indent.
2003-01-22 10:42:47 +00:00
sperber
9ca0a42a40
Remove comments that have moved to the documentation.
2003-01-22 10:42:25 +00:00
sperber
565376310b
In SMTP-SEND-MAIL, signal a condition instead of returning funny reply
...
codes upon failure.
2003-01-22 09:29:55 +00:00
sperber
e51180ffdf
Add space before field body in RFC822-TIME->STRING.
2003-01-22 08:54:22 +00:00
interp
1fa3096a34
Rename some files, SF forgot to rename (*SERVLET* --> *SURFLET*)
2003-01-21 19:20:01 +00:00
sperber
c58f265b5b
Rename HTTPD-ERROR -> HTTPD-ERRORS.
2003-01-21 16:16:56 +00:00
mainzelm
1ac2cc0819
Fix forgotten renamings.
2003-01-21 16:09:41 +00:00
sperber
b60335d2cd
Remove some out-of-date comments.
2003-01-21 15:53:47 +00:00
sperber
65279a42e9
Revamp SMTP once more:
...
- introduce SMTP-CONNECTION records
- regularize naming (no funny slashes)
- in SMTP-SEND-MAIL, add date header if not present
- gratuitous capitalizion of word components for field names in outgoing headers
2003-01-21 15:31:38 +00:00
sperber
9b59e5bbe6
Fix insignificant typo.
2003-01-21 14:57:12 +00:00
mainzelm
0c0c27dcb5
+ removed conditions for invalid type and class
...
+ querytype -> query-type
2003-01-21 14:33:54 +00:00
sperber
c04d46910c
Rewrite the NETRC library to something more general and much shorter,
...
along with up-to-date information. Get FTP and POP3 to use the new
code.
2003-01-21 14:20:13 +00:00
sperber
2994678584
Fix two arity errors.
2003-01-21 13:05:11 +00:00
sperber
30062d25df
Add RFC822-TIME->STRING to RFC 822 and use that instead of the old and
...
broken code that was part of the Web server.
2003-01-21 12:45:54 +00:00
sperber
e5d3139845
In RFC867/RFC868: work correctly if the remote server isn't there.
2003-01-21 12:02:51 +00:00
interp
3c73d6a37f
Force SEND/... calls in SEND/FINISH and SEND, too.
...
Rename STRING-OUT-PORT to BUFFER.
2003-01-21 10:36:49 +00:00
sperber
94f127d3b1
Rework NETTIME:
...
- ditch NETTIME structure; create two structures RFC867 and RFC868
instead
- make the UDP versions work
- comment fixes
- add copyright notice
2003-01-21 10:03:27 +00:00
sperber
0cb68b88c9
In POP3:
...
- export POP3-ERROR?
- rename POP3-GET -> POP3-RETRIEVE-MESSAGE,
POP3-HEADERS -> POP3-RETRIEVE-HEADERS
2003-01-21 08:21:20 +00:00
sperber
4abd90075b
Remove "POP3-" prefix from various internal procedure names.
2003-01-21 08:18:05 +00:00
sperber
35b837a3b0
Comment fixes.
2003-01-21 08:14:56 +00:00
sperber
81395d1e48
- remove comments about procedure types.
...
- don't return status from those procedures that used to
2003-01-21 08:13:48 +00:00
sperber
1ee07495ba
For POP3-GET return two values (headers and list of body lines)
...
instead of dumping the message to (current-output-port).
2003-01-20 16:52:25 +00:00
sperber
bdb1cc6b27
Parse headers in POP3-HEADERS.
2003-01-20 16:44:47 +00:00
sperber
d2c43bb132
Add myself to copyright section.
2003-01-20 16:33:37 +00:00
sperber
3611d6486d
Fix two bugs
...
- return 2 values instead of pair from READ-RFC822-FIELD
- return alist in correct order from READ-RFC822-HEADERS and
READ-RFC822-HEADERS-WITH-LINE-BREAKS
2003-01-20 16:32:13 +00:00
sperber
8b2217907e
Overhaul RFC822:
...
- reduce RFC822 to four procedures, 2 for reading header bodies into
lists of lines, 2 for reading them into concatenated strings
- remove lots of Olinism and bugs from rfc822.scm
- massage dependent code accordingly, clarifying semantics
2003-01-20 16:26:26 +00:00
sperber
ef7a21b729
- make MAKE-PATH-PREFIX-HANDLER work right for null paths.
...
- add our own version of GET-HEADER in preparation for the RFC822 overhaul
2003-01-20 16:24:29 +00:00
sperber
7d91324b9a
Signal correct error (not a CALL-ERROR) from
...
POP3-CHECK-TRANSACTION-STATE!; also pass correct caller to it.
2003-01-20 15:12:03 +00:00
sperber
d27381ba4c
Actually signal 'POP3-ERROR instead of '-ERR.
2003-01-20 15:08:44 +00:00
sperber
4ef92c949a
In POP3:
...
replace uses of FORMAT
2003-01-20 15:07:51 +00:00
sperber
99819b7a47
(write-string "\n" port) -> (newline port)
2003-01-20 15:02:59 +00:00
sperber
3ef18b6abf
In POP3:
...
rewrite POP3-DUMP to something legible
2003-01-20 15:02:22 +00:00
sperber
321bb04603
- lower-case "LOG"
...
- slightly beautify POP3-LOG
- rename LOGFD -> LOG-PORT
2003-01-20 14:55:57 +00:00
sperber
b8d8ef0ff6
Remove old definition of MD5-DIGEST.
2003-01-20 14:54:33 +00:00
sperber
490565781a
- READ-LINE -> READ-CRLF-LINE
...
- lower-case "IN" and "OUT"
2003-01-20 14:53:50 +00:00
sperber
74f9e4f704
In POP3:
...
- consolidate login procedure into POP3-CONNECT
- logging goes to a port, not a file
- fix error-handling bug in pop3-login
- rename POP3-LOGIN/APOP -> POP3-APOP-LOGIN
- replace POSIX regexp for challenge by SRE
2003-01-20 14:52:03 +00:00
mainzelm
87deeee77b
Propagate renamings within the DNS package.
2003-01-20 14:21:33 +00:00
mainzelm
54eb862b4a
+ don't output anything in DNS-LOOKUP
...
+ typo fix in pretty-print-dns-message
2003-01-20 14:20:53 +00:00
sperber
7bfa52c689
Remove comments that have migrated to the documentation.
2003-01-20 14:13:26 +00:00
interp
751ee1d6ca
Add javascript code
2003-01-19 17:27:15 +00:00
interp
400e4b916f
Correct javascript code.
2003-01-19 17:26:56 +00:00
interp
e8d592520f
+ Remove nonsense string
...
+ Add forgotten arg to FORMAT.
2003-01-19 17:01:44 +00:00
interp
61fc543af2
Rename SERVLET --> SURFLET
2003-01-19 16:57:27 +00:00
interp
071b59a99f
Hopefully last restructuring.
2003-01-19 11:03:14 +00:00
interp
bee74b3867
More restructuring.
2003-01-19 10:31:16 +00:00
interp
7c33c9ba08
minor restructuring
2003-01-19 09:47:15 +00:00
interp
dfe5c56163
Add comment about serving the servlets' source.
...
(We and the browsers cannot handle .SCM files.)
2003-01-18 17:56:18 +00:00
interp
0bd2a7b254
Remove debug output.
2003-01-18 17:22:57 +00:00
interp
c2bb9ae9e8
Remove bug from previous commit: write out to outport.
2003-01-18 17:18:19 +00:00
interp
b7133f4393
Add finalizer to remove temporary session files.
2003-01-18 15:02:22 +00:00
mainzelm
48290e2f83
+ Expand lots of acronyms.
...
+ Some renamings
2003-01-17 18:29:47 +00:00
interp
104802b3ae
Reindent.
2003-01-17 17:48:20 +00:00
interp
4183ec85ce
Add bang after set-... commands.
2003-01-17 17:47:31 +00:00
interp
05b7af0986
READ-LINE does the job as well as READ-CRLF-IO, so kick CRLF-IO.
2003-01-17 17:40:30 +00:00
interp
92d760a1cd
Tell browser not to cache supples by an HTTTP header.
2003-01-17 17:39:07 +00:00
mainzelm
b77a20674c
Make message-type and message-class an enumerated type.
2003-01-16 20:08:14 +00:00
mainzelm
1087695e37
Use our own md5 library to generate MD5 sum instead of calling an external program.
2003-01-16 16:40:51 +00:00
sperber
b81da26fdc
Don't allow a file name as the "log" argument to FTP-CONNECT---the
...
library never bothered closing the port anyway.
2003-01-16 13:55:13 +00:00
sperber
6af4ba85de
Fix RFC URL.
2003-01-16 13:42:04 +00:00
sperber
5513b85f7d
Add copyright line for me.
2003-01-16 13:40:23 +00:00
sperber
a4766e2abd
Return (VALUES) instead of the reply text for many procedures, lest
...
someone actually try to use that information.
2003-01-16 13:38:21 +00:00
sperber
2f5d5a1f53
Remove obsolete comments.
2003-01-16 13:34:58 +00:00
sperber
6b21a05636
Add COPY-PORT->PORT-BINARY, COPY-PORT->PORT-ASCII, and
...
COPY-ASCII-PORT->PORT to FTP-INTERFACE.
2003-01-16 13:33:39 +00:00
sperber
54ece65f35
Support passive mode in FTP.
2003-01-16 13:32:43 +00:00
sperber
ec42abd6db
Factor PARSE-PORT-ARG out of FTPD into FTP-LIBRARY (in preparation of
...
passive mode support in FTP).
2003-01-16 13:09:14 +00:00
mainzelm
df9cd86232
Minor renamings.
2003-01-16 13:07:14 +00:00
interp
c02cb068af
right-justify ids
2003-01-16 12:58:01 +00:00
interp
422a1db09f
Add note about danger of killing / deleting current continuation.
...
Add current session's id and current session's continuation's id in
this message.
2003-01-16 12:53:10 +00:00
sperber
bba9c34744
- rename FTP-TYPE -> FTP-SET-TYPE!
...
- use enumerated type for argument of FTP-SET-TYPE!
2003-01-16 12:52:16 +00:00
interp
d54645f39b
Update list of return links.
2003-01-16 12:50:14 +00:00
sperber
2ebb8d0e0f
Replace remaining uses of FORMAT.
2003-01-16 12:45:55 +00:00
sperber
1f0bd725cf
Elided FTP-LOGIN from FTP-INTERFACE.
2003-01-16 12:43:41 +00:00
sperber
bd368af1dc
Don't gratuitously parse ~/.netrc.
2003-01-16 12:39:36 +00:00
sperber
bb84449320
- call FTP-LOGIN from FTP-CONNECT
...
- don't store login and password in connection record
- don't try to use password if USER succeeds already
- allow port (instead of file) for logging
- fix protocol bugs between FTP-LS/FTP-DIR and FTP-BUILD-COMMAND-STRING
2003-01-16 12:36:27 +00:00
interp
c9c7eb0a90
Make add examples look the same.
2003-01-16 12:09:49 +00:00
interp
0656602636
Improve handling of gnuplot executable.
...
(`which` at startup, check for executable)
2003-01-16 11:10:38 +00:00
sperber
1b5098bea0
Lower-case silly "IN."
2003-01-16 10:58:02 +00:00
sperber
fddc9bda46
Prettify FTP-LOG.
2003-01-16 10:55:15 +00:00
sperber
d07bf7beae
Revamp FTP-GET, FTP-PUT, and FTP-APPEND: always take remote file name
...
as argument and an ACT procedure which acts on the data input/output
port.
2003-01-16 10:51:40 +00:00
sperber
3be94a89e4
Split out FTP-LIBRARY from FTPD; it contains data-shuffling procedures
...
which are useful for the client as well.
2003-01-16 10:34:39 +00:00
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
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
mainzelm
6156c77161
Put port for logging into session.
2002-12-19 17:11:38 +00:00
mainzelm
63ca4e7c09
Use fork-thread to start new threads to inherit syslog resource.
2002-12-19 16:33:13 +00:00
mainzelm
b5c286e935
Import handle-fatal-error in httpd-logging.
2002-12-19 14:34:55 +00:00