Commit Graph

102 Commits

Author SHA1 Message Date
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 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
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 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 4ef92c949a In POP3:
replace uses of FORMAT
2003-01-20 15:07:51 +00:00
sperber 3ef18b6abf In POP3:
rewrite POP3-DUMP to something legible
2003-01-20 15:02:22 +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 b77a20674c Make message-type and message-class an enumerated type. 2003-01-16 20:08:14 +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
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
sperber 1f0bd725cf Elided FTP-LOGIN from FTP-INTERFACE. 2003-01-16 12:43:41 +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 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
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 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 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 e2d36f3922 Remove RESOLVE-URI. 2003-01-14 14:39:55 +00:00
sperber 9dac2674b4 Introduce new response type :HTTP-NPH-RESPONSE for nph-... CGI
scripts.
2003-01-14 13:23:29 +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 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