Commit Graph

73 Commits

Author SHA1 Message Date
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 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 c43a8b8f35 Copy with-lock from scsh into sunet-utilities. 2002-12-29 19:09:37 +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
mainzelm 5a20cc1e0a Moved handle-fatal-error.scm from httpd/ to lib/ 2002-12-19 14:27:31 +00:00
sperber 1b13998c69 Fix opened structures for DNS.
(DNS would bomb due to a conflict for DELETE between BIG-UTIL and
SRFI-1.)
2002-12-17 16:32:16 +00:00
sperber 29fc6b1b9d Use DEFINE-RECORD-TYPES instead of DEFREC-PACKAGE in POP3. 2002-12-03 10:55:08 +00:00
sperber 9b272be2b7 Use DEFINE-RECORD-TYPES instead of DEFREC-PACKAGE in NETRC. 2002-12-03 10:50:26 +00:00
sperber fe96c5f2b2 Use DEFINE-RECORD-TYPES instead of DEFREC-PACKAGE in FTP. 2002-12-03 10:44:48 +00:00
sperber 905ad326c2 Synchronize copyright statements. 2002-12-03 10:41:04 +00:00
mainzelm 543dbdf9ab DNS needs srfi-1 2002-11-29 17:08:57 +00:00
sperber 4e859bc92a - renamed USERHOST:xxx to USERHOST-xxx
- renamed HTTP-URL:xxx to HTTP-URL-xxx
2002-11-29 14:56:58 +00:00
sperber 68b1f0c386 Fix typo from structure name normalization commit. 2002-11-29 14:49:46 +00:00
sperber 641b8129ba Renamed REQUEST:xxx to REQUEST-xxx. 2002-11-29 14:49:22 +00:00
sperber b45c23df44 More structure name normalization. 2002-11-29 14:42:02 +00:00
sperber 61c8b7fba2 Use SCHEME-WITH-SCSH throughout. 2002-11-29 14:37:39 +00:00
sperber 4bf3bcb238 Clean up ftpd:
- open fewer structures
- clarify relationship between OPTIONS and SESSION
- use an ordinary fluid for OPTIONS
- pass FTPD-OPTIONS record into FTPD instead of some random arguments
- ...
2002-11-29 14:27:52 +00:00
sperber 2442e88ab7 Renamed HTTPD-REQUEST to HTTPD-REQUESTS, now conforming to Scheme 48
convention.
2002-11-26 12:52:39 +00:00
interp db6b607d0f in ftpd: use signature calculus to get access to scsh's OPEN-OUTPUT-FILE instead of relying on the import order 2002-09-30 10:42:34 +00:00
interp 6a090fba6b change load order of scheme and scsh in ftpd to get access to scsh's open-output-file 2002-09-28 12:37:42 +00:00
sperber c0281e834a Rename "path handler" -> "request handler". 2002-09-22 15:41:41 +00:00
interp 1a1d4f86a0 minor change in comments 2002-09-21 20:19:30 +00:00
interp d5b2b448d9 first shot on adding servlets to HTTPD 2002-09-13 07:21:19 +00:00
interp becf14ce30 move global variables in httpd-logging to preserved-thread-fluids 2002-09-05 10:55:30 +00:00
sperber f9060d992a Redo:
revision 1.38
date: 2002/09/02 09:02:27;  author: sperber;  state: Exp;  lines: +1 -5
Remove crud from SMTP-INTERFACE.

which was accidentally backed out by:

revision 1.40
date: 2002/09/02 14:34:31;  author: interp;  state: Exp;  lines: +7 -2
make MY-REPORTED-FQDN fit for lots of virtual hosts
2002-09-05 09:39:46 +00:00
sperber cfc8d84aad Use DNS for FQDN determination in SMTP. 2002-09-05 09:38:37 +00:00
sperber 1cfa3e3595 Shift FQDN determination code from HTTPD-CORE to DNS. 2002-09-05 09:25:42 +00:00
interp 5746c2b149 send bug report only on non-os-errors 2002-09-04 14:01:34 +00:00
interp 0ab5c48cfc make MY-REPORTED-FQDN fit for lots of virtual hosts 2002-09-02 14:34:31 +00:00
interp ff56fa6ec1 Add redirection feature to web-server: If the handler returns with the
return code HTTP-STATUS/REDIRECT, the server creates a new request out of
the redirection response and recalls the handler to serve the request.
You can use MAKE-REDIRECTION-RESPONSE to create this special response.
2002-09-02 13:42:10 +00:00
sperber b6ff601949 Remvoec rud from SMTP-INTERFACE. 2002-09-02 09:02:27 +00:00
sperber 56cd7c9f2e Remove SMTP-INTERNALS structure. 2002-09-02 08:38:50 +00:00
sperber 060d0f8076 Remove FILTER-MAP from smtp.scm and use the FILTER-MAP from SRFI 1
instead.
2002-09-02 08:36:42 +00:00
sperber e6009cad13 Rename (misnomed) SENDMAIL to SEND-MAIL-VIA-SMTP and make it accept a
FROM argument.
Fix some transaction bugs in its implementation.
Remove %SENDMAIL, now superfluous.
2002-09-02 08:35:09 +00:00
interp 7ca34fa270 * adapt rman-gateway to new response philosophy
* add rman-gateway to example server
* add init proc to http-test in start-web-server
2002-08-29 10:51:47 +00:00
interp 5bced0b8f7 remove introduced but nerving signal stuff from handlers 2002-08-29 08:32:39 +00:00
interp 62b3307fb2 * new response body: :HTTP-READER-WRITER-BODY
* hand over SOCKET:INPORT to SEND-HTTP-RESPONSE
* apply this to seval-handler
2002-08-28 16:44:07 +00:00
interp a2aed3280e adapt seval-handler to new response philosophy
FIXME: problems with input port in POST request
2002-08-28 15:41:52 +00:00
interp c5c67ec837 add delete-headers to rfc822, that removes a header entry 2002-08-28 10:10:00 +00:00
interp 542fea9f55 adpat cgi-server to new response philosophy
NOTE: There's a FIXME left: nph- scripts won't work at all currently.
2002-08-28 09:54:40 +00:00
sperber 3b6b813965 Move NULL-PATH-HANDLER from HTTPD-FILE-DIRECTORY-HANDLERS-INTERFACE to
HTTPD-BASIC-HANDLERS.
2002-08-27 09:42:02 +00:00
sperber c97bbfc1db Move MAKE-HTTP-ERROR-RESPONSE from HTTPD-CORE to HTTPD-RESPONSES.
Elide REALLY-MAKE-HTTP-ERROR-RESPONSE in the process.
2002-08-27 09:39:05 +00:00
sperber f5b7f76bd6 Fix HOME-DIR-HANDLER and TILDE-HOME-DIR-HANDLER. 2002-08-27 09:32:12 +00:00
sperber c668e35e05 HOSTNAME -> HOST-NAME 2002-08-27 09:05:16 +00:00
interp 19a97d0b35 let sunet-version-identifier be a string 2002-08-26 16:36:53 +00:00