Commit Graph

122 Commits

Author SHA1 Message Date
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
interp 755b715a77 * move dotdot-check and copy-inport->outport to sunet-utilities
* open necessary packages in various structures
2002-08-26 16:36:25 +00:00
interp d8c1e7f0ad fixing system-fqdn 2002-08-26 15:33:22 +00:00
sperber 079ce2731a Add copyright notice. 2002-08-26 15:12:06 +00:00
interp 6f2c0d7991 eliminating ecm-utilities, code partial moved to sunet-utilities 2002-08-26 14:49:17 +00:00
sperber 2c5791a133 Be more careful about opening SCSH and SRFI-14 in FTPD. 2002-08-26 14:13:23 +00:00
sperber 7460d8009f Add a MAKE-HTTPD-OPTIONS combinator for a more visually pleasant
layout for HTTPD-OPTIONS constructors.
2002-08-26 13:10:57 +00:00
sperber 2f5f46cb5f Replace all instances of STRING-LIB by SRFI-13. 2002-08-26 11:45:08 +00:00
sperber 1a1dcebbd0 Remove HTTP-CONSTANTS / http/constants.scm. 2002-08-26 11:44:02 +00:00
sperber 35f79521d8 Fold -obsolete.scm files into packages.scm. 2002-08-26 11:39:25 +00:00
sperber 541113a4f0 Fold text-generation.scm (which was down to a few lines) into core.scm. 2002-08-26 11:21:53 +00:00
sperber 038947a515 Open SRFIs instead of CHAR-SET-LIB and STRING-LIB. 2002-08-26 10:54:03 +00:00
sperber 6f7cd467f1 Adopt proper RFC terminology:
"reply" -> "response"
"reply code" -> "status code"
2002-08-26 09:59:14 +00:00
sperber d1438eb4a8 Rework the API of path handlers:
Path handlers must now return a response object similar to the
response objects of the PLT web server, encapsulating headers, mime
type, status code, and so on.

A response object in turn can contain an encoding of a body.  The only
presently supported body type is a procedure which just prints the
body.

Other changes:
- split file-dir-handler.scm out from handlers.scm
- moved the ICON-NAME constructor parameters for file handlers to the
  options
- removed input/output port redirections and work with paths
  explicitly
2002-08-26 09:46:11 +00:00
interp 0119532744 changes in my-reported-fqdn:
* respect change in arguments between different calls before handing out
  cached value
* make its use safe in thread context
2002-08-24 17:26:56 +00:00
interp b20f9a49b7 import sunet-utilities to httpd-core (oops) 2002-08-24 17:07:35 +00:00
interp 514d61b986 moving proc socket-address->string from ftpd internal to sunet-utilities exports 2002-08-24 16:43:26 +00:00
interp ed4ad0798f use dns-lookup-ip before using host-info for fqdn 2002-08-23 15:41:06 +00:00
interp a2c39de2b9 adding dns-lookup to ftpd logging 2002-08-22 17:12:08 +00:00
interp 64d4705ab3 * export selector and transformer of resolve-ip? field in httpd-options
* import dns to httpd-logging
* add dns-lookup facility to logging
2002-08-22 16:40:10 +00:00
interp 2c9b931100 added handler combinators and adapted current basic handlers 2002-08-22 15:32:03 +00:00
cresh efab1a3161 concurrent lookup changes 2002-07-23 08:48:47 +00:00
cresh 470c2fbab3 IPs are now 32bit integer internet addresses,
changed the API for concurrent-lookup,
revised the documentation
2002-07-07 17:43:32 +00:00
sperber 1171926f1e Cleaned-up package definitions for new subdirectory layout. 2002-06-08 15:08:31 +00:00