mainzelm
7f81f8bed9
+ Use a port buffer of 4096 bytes for the socket's output port.
...
+ Comment why we cannot do the same for input.
2003-02-26 18:03:40 +00:00
mainzelm
ef3a8af150
Added httpd-options-post-bind-thunk.
2003-02-20 17:52:27 +00:00
mainzelm
2ff86dd73b
Adaption to parameter change in socket-address->fqdn.
2003-02-19 17:40:48 +00:00
sperber
44322977fc
Add HTTPD-INPUT-RESPONSE response values.
2003-02-06 15:05:15 +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
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
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
sperber
608bb395f2
Rename "userhost" to "server" according to RFC 2396.
2003-01-15 10:59:46 +00:00
sperber
9dac2674b4
Introduce new response type :HTTP-NPH-RESPONSE for nph-... CGI
...
scripts.
2003-01-14 13:23:29 +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
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
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
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
641b8129ba
Renamed REQUEST:xxx to REQUEST-xxx.
2002-11-29 14:49:22 +00:00
sperber
91b2f35f0d
Don't print a space after ":" in RFC 822 headers.
2002-09-22 15:43:29 +00:00
sperber
c0281e834a
Rename "path handler" -> "request handler".
2002-09-22 15:41:41 +00:00
interp
becf14ce30
move global variables in httpd-logging to preserved-thread-fluids
2002-09-05 10:55:30 +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
688d576b96
Send bug report to client, if we encounter an internal error
...
(e.g. testing new handler)
2002-09-04 10:38:14 +00:00
interp
a33b7405a5
move CLF log to SEND-HTTP-RESPONSE and log correct status code
2002-09-02 14:49:24 +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
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
57c6710012
* map socket inport to handler inport (allows POST requests)
...
* remove FIXME from seval
* add seval example to example web-server
2002-08-28 15:56:14 +00:00
interp
fd2d2bc79c
clean up dns lookup call
2002-08-27 13:48:30 +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
4c98437ce0
Fix typo in SEND-HTTP-RESPONSE.
2002-08-27 09:28:09 +00:00
sperber
e397f2520e
R4RS -> R5RS
2002-08-26 15:14:10 +00:00
sperber
1a1dcebbd0
Remove HTTP-CONSTANTS / http/constants.scm.
2002-08-26 11:44:02 +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
e8b7ef763f
Remove Olin's import notes which are bound to be inaccurate by now.
...
Fix a few RFC URLs.
2002-08-26 11:18:44 +00:00
sperber
af95d497af
Properly handle HEAD requests.
...
Properly handle HTTP 0.9 requests.
2002-08-26 11:11:40 +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
60df692033
bug removing (...parenthesised...)
2002-08-24 17:45:37 +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
1ea2e0f8e7
remove bug from my-reported-fqdn
2002-08-24 16:46:34 +00:00
interp
ed4ad0798f
use dns-lookup-ip before using host-info for fqdn
2002-08-23 15:41:06 +00:00
sperber
f4bacf411a
Fix URL of HTTP 1.0 RFC.
2002-08-22 14:59:49 +00:00
sperber
0d70f66dd7
Revert to old representation of HTTP-URL:PATH.
2002-06-08 15:29:29 +00:00
interp
77ebc6aea4
* split up big httpd-core file in several pieces
...
* make structures that used httpd-core using the new pieces of httpd-core
2002-05-26 17:56:56 +00:00
interp
3e16721158
renamed httpd-\(*\).scm files to \1.scm
...
updated modules.scm and docu accordingly
2002-05-26 14:47:48 +00:00