Commit Graph

1009 Commits

Author SHA1 Message Date
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
interp c7ec664dcb Get undefined references clear. 2003-01-10 13:50:39 +00:00
interp 3163116a7d Replace (removed) \FIXME command with comments 2003-01-10 13:47:49 +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 047384d846 Removed \ovar.
Fixed TeX-master setting in some files.
2003-01-10 13:30:18 +00:00
sperber 5bae6330f0 Fix TeX-master setting. 2003-01-10 13:28:35 +00:00
sperber dfb7287c41 Re-worked; more complete list of stuff in SUnet. 2003-01-10 13:28:11 +00:00
sperber 020f8264f1 First stab at rudimentary up-to-date documentation for the HTTP
server.
2003-01-10 13:27:05 +00:00
sperber 9eeb665323 Synch with up-to-date code from the scsh repo. 2003-01-10 13:26:24 +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 1b31924b80 Complete and up-to-date documentation for the RFC822 library. 2003-01-09 13:47:19 +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 8c848f1a05 Fix TeX-master. 2003-01-08 14:14:32 +00:00
sperber 7f75b6016a Remove log item showing "ecm-utilities" which no longer exists. 2003-01-08 14:14:16 +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 ed85e7619e Propagate name change of httpd-cgi-handlers. 2002-12-29 19:10:48 +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
mainzelm 8b6d244f0e Protect dns-lookup-ip with a fatal error handler. 2002-12-19 14:30:39 +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
mainzelm a5c873afda Correct tex2page support. 2002-12-11 10:25:01 +00:00
mainzelm 34a2ace724 + Temporary fix in this-host-address: close the socket obtained from
port->socket.

+ read-crlf-line doesn't accept a timeout and it would be nonsense in
  copy-ascii-port->port anyway.
2002-12-11 10:05:50 +00:00
interp 4bee3e42f5 Update links to new 'add' scheme servlets. 2002-12-08 18:46:45 +00:00
interp f4cca95296 Version of add form:
Uses SIMPLE-SERVLET-API.
2002-12-08 18:45:58 +00:00
interp a7357dc1a4 Rename add2.scm to add-servlet.scm
Version of add form:
"Full featured" version: uses both HTML generating and support for
input-fields in forms.
2002-12-08 18:13:59 +00:00
interp 98ff465d73 Rename add.scm to add-html.scm
Version of add form:
Uses SEND-HTML/SUSPEND and SEND-HTML/FINISH with the HTML-generation tool
from serlvets (that is built with Oleg's SSAX)
2002-12-08 18:12:34 +00:00
interp 5879a83b9a "Raw" version of add form:
Uses only tools of servlet-handler/servlets.
2002-12-08 18:10:15 +00:00
interp 7f7eb610d8 use SCHEME-WITH-SCSH instead of SCSH and SCHEME 2002-12-08 15:49:27 +00:00
interp d705974612 Remove checkbox-bug 2002-12-07 22:27:02 +00:00
interp 4606552c2b rename INSTANCE to SESSION and SESSION to INSTANCE 2002-12-07 22:26:40 +00:00
mainzelm 0b57b16fe9 Use select-port-channels. TCP works now. 2002-12-06 12:52:23 +00:00
mainzelm 7e6da5347e + Complete parsing for /etc/resolv.conf
+ use search or domain field from resolv.conf to determine FQDNs
2002-12-03 16:02:17 +00:00