Commit Graph

44 Commits

Author SHA1 Message Date
interp 3c73d6a37f Force SEND/... calls in SEND/FINISH and SEND, too.
Rename STRING-OUT-PORT to BUFFER.
2003-01-21 10:36:49 +00:00
interp 61fc543af2 Rename SERVLET --> SURFLET 2003-01-19 16:57:27 +00:00
interp 422a1db09f Add note about danger of killing / deleting current continuation.
Add current session's id and current session's continuation's id in
this message.
2003-01-16 12:53:10 +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
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
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
interp 4606552c2b rename INSTANCE to SESSION and SESSION to INSTANCE 2002-12-07 22:26:40 +00:00
interp ffa8ad13ae remove unused SERVLET-PREFIX option. 2002-12-02 08:42:37 +00:00
sperber 641b8129ba Renamed REQUEST:xxx to REQUEST-xxx. 2002-11-29 14:49:22 +00:00
interp 8e22009ca1 Add another error handler in the reset from to catch errors occuring
while running the servlet (perhaps with restored continuations).
2002-11-09 18:25:20 +00:00
interp d4ea641e14 comment added 2002-11-05 22:20:47 +00:00
interp 47a60a26d3 Redesigning error catching machinery.
Now no malicious servlet should be able to let the server crash.
2002-11-05 10:21:15 +00:00
interp 2800b21fea Browser caching may be a reason for wrong servlet request. Tell them
about it.
2002-11-03 14:37:53 +00:00
interp 26683bd822 * Move error handling of the servlets to the right point, i.e. after
the reset.
* Remove redirect 'feature'. It is not well tought out.
2002-10-26 15:35:20 +00:00
interp d02d0e19d2 use DEFINE-RECORD-TYPE instead of DEFINE-RECORD 2002-10-21 08:25:58 +00:00
interp 900f552ee1 Wrap error-handler around calls to LAUNCH-NEW-INSTANCE and RESUME-URL.
This will catch most errors, but will fail on some, e.g. procedure
called with wrong number of arguments. As far as I see, the problem is
the underlying error reporting system of Scsh/Scheme48. Maybe I'm
wrong.
2002-10-09 15:11:55 +00:00
interp 12b2b96582 remove some superfluous comments/code 2002-10-04 15:56:58 +00:00
interp a920462ba1 Use preserved-thread-fluids for the options. With this, the stay the
same between to calls to the servlet-handler.
2002-10-04 15:51:04 +00:00
interp 04ba0986d3 let forms do POST requests by default (currently unchangeable) 2002-10-03 00:45:41 +00:00
interp 30aca350b9 feature servlet-data added 2002-10-03 00:15:44 +00:00
interp f9f854ef85 add possibility to serve non-Scheme files 2002-10-02 23:47:07 +00:00
interp fa350f02bf + thread-based *options*
+ INSTANCE-DELETE! --> DELETE-INSTANCE!
+ access to continuations (GET-CONTINUATIONS, DELETE-CONTINUATION!)
2002-10-01 17:39:39 +00:00
interp 02169de482 really rename PLUGIN --> SERVLET 2002-10-01 12:36:50 +00:00
interp 85e75950a3 rename PLUGIN --> SERVLET 2002-10-01 12:33:39 +00:00
interp 349402b7cc use PATH-LIST->FILE-NAME for file name assembling 2002-10-01 12:22:37 +00:00
interp 1ac0705aae + longer instance lifetime
+ GET-INSTANCES returns all instances as an alist
+ let SEND/SUSPEND terminate correctly if instance has died in the meanwhile
  (may happen while administrating servlets)
2002-10-01 12:08:42 +00:00
interp 30e66edc61 + longer standard instance lifetime
+ instance lifetime adjusted when new continuation is launched
+ GET-LOADED-PLUGINS and UNLOAD-PLUGIN
+ small bug fixes
2002-09-30 07:53:00 +00:00
interp aa7bcc6186 + add option instance-lifetime along with some functions
+ add instance surveillance thread that kills instance after
  a period of time
2002-09-29 15:20:36 +00:00
interp bfbeb49125 add CACHE-PLUGINS? option 2002-09-29 13:43:39 +00:00
interp 3fcaa99239 register session before loading plugin to be able to create callbacks in plugin 2002-09-27 15:04:36 +00:00
interp e667dedcc2 remove debug output 2002-09-26 12:59:54 +00:00
interp 7dde62cd1a Be more flexible with paths; use $SUNETHOME and $SSAXPATH if set or
reasonable default values if not.
In particular, work around the dependency of config on cwd.
2002-09-26 12:13:01 +00:00
interp 0b2a59b6ef utilities for servlet plugins on higher level 2002-09-24 09:01:26 +00:00
interp 9328d1fa82 small brace typo 2002-09-24 08:47:33 +00:00
interp 8f67c75101 add possibility to clear instance table remotely (may go away in the
future)
2002-09-24 08:15:21 +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 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 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 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 d5b2b448d9 first shot on adding servlets to HTTPD 2002-09-13 07:21:19 +00:00