Commit Graph

81 Commits

Author SHA1 Message Date
interp 74e26ddeb5 add conditions to servlet-handler's open clause 2002-09-21 20:20:29 +00:00
interp 4d9f45c1bd remove FIXMEs:
* respect presence of threads - use locks for table accesses
  (*instance-table*, continuation-table, *plugin-table*)
  * return 404 Not found if servlet does not exist
  * neglect POST request (will do this later)
  * reload plugin if timestamp has changed
2002-09-21 20:18:49 +00:00
interp be308133d2 opens packages and structures for servlet-server in right order
note: needs (r5rs-) SSAX to be present
2002-09-20 19:25:20 +00:00
interp a66cd239c9 * slim example web-server
* create an example web-server using servlets in httpd/servlets
  (the servlet files from the example web-server moved there)
2002-09-20 19:23:17 +00:00
interp abd747a49b * use Oleg's SSAX (SSAX->HTML et al.)
* add continuation counter in servlet-handler, thus the generated continuation
  urls are a bit more human readable.
2002-09-19 11:16:29 +00:00
interp 78e8cb3777 use lock while creating temp-file 2002-09-18 15:33:42 +00:00
interp 911c56e668 change to srfi-27 for random bits 2002-09-18 15:32:41 +00:00
interp ac880e4491 move reset calls forward 2002-09-18 08:57:28 +00:00
interp f6d1babc7b added structures:
* shift-reset
* profiling

changed:
open profiling and shift-reset in servlet-handler
2002-09-14 16:48:59 +00:00
interp 7c5de69604 add triggers for profiling and cache flushing (this may go away in the future) 2002-09-14 16:43:58 +00:00
interp e857b32057 add comment 2002-09-14 16:42:52 +00:00
interp 4ae31efbb2 use shift/reset 2002-09-14 16:42:24 +00:00
interp 04b7adbd89 usage info and comments 2002-09-14 16:36:42 +00:00
interp d38f8225fb small space profiling utilities 2002-09-14 16:35:34 +00:00
interp 793ee8cc2f get shift-reset from scsh and modify it to be thread-local 2002-09-14 16:10:14 +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 1cfa3e3595 Shift FQDN determination code from HTTPD-CORE to DNS. 2002-09-05 09:25:42 +00:00
sperber ed04d43b65 NeXTstep is dead. 2002-09-05 08:55:58 +00:00
sperber 490a22d724 More file extension mappings. 2002-09-05 08:51:27 +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 65e8af2952 send error output to stdout (= to client) 2002-09-04 10:29:12 +00:00
interp 794412df5a use HTTP-STATUS/OK constant instead of integer 200 2002-09-03 13:33:43 +00:00
interp 80257c0822 make more pleasent error messages 2002-09-03 12:45:39 +00:00
interp 1694d372c5 report BAD-GATEWAY error instead INTERNAL-ERROR 2002-09-03 11:55:53 +00:00
interp 443e321cc8 rename URI-LIKE? to URI-HAS-PROTOCOL? 2002-09-03 08:45:59 +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 27f6bb4dbd remove debug output 2002-09-02 14:33:06 +00:00
interp 9baec4fbf0 Handle `Location:' and `Status:' headers of CGI program's output correctly. 2002-09-02 13:43:03 +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 9602104a8c output directly to socket:outport in emit-man-page 2002-08-30 12:04:27 +00:00
interp f94396a54e look if file is executable 2002-08-29 14:53:44 +00:00
interp ecd5afadbe remove debug output
newline to output-port `out'
2002-08-29 14:34:38 +00:00
interp 50fa27f993 adapt to new response philosophy (not tested yet) 2002-08-29 14:05:55 +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 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 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 7fd23a0ceb let handler exit if error occurs 2002-08-28 15:40:32 +00:00
interp e877336d0a send extra headers from script's output 2002-08-28 10:10:45 +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
interp fd2d2bc79c clean up dns lookup call 2002-08-27 13:48:30 +00:00
sperber 013c7bd5b3 Adjust use of TILDE-HOME-DIR-HANDLER. 2002-08-27 09:45:05 +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 4c98437ce0 Fix typo in SEND-HTTP-RESPONSE. 2002-08-27 09:28:09 +00:00