Commit Graph

64 Commits

Author SHA1 Message Date
interp 87a4165f94 check existence of sessions in some locking areas 2003-03-10 13:10:29 +00:00
interp 64371c9941 Use the time-to-live argument in really-session-adjust-timeout! 2003-03-10 13:01:45 +00:00
interp 909ed39ce2 Add optional arguments to ADJUST-TIMEOUT! and SESSION-ADJUST-TIMEOUT!
This argument defaults to OPTIONS-SESSION-LIFETIME and represents
the life-time in seconds for the session.
2003-03-10 12:57:44 +00:00
interp 4748a882c3 Add a bang to SET-OPTIONS-SESSION-LIFETIME, SET-OPTIONS-CACHE-SURFLETS? and ADJUST-TIMEOUT 2003-03-09 18:49:09 +00:00
interp 3f1542466c Rename misleading {SET,GET}-SURFLET-DATA to {SET,GET}-SESSION-DATA, as the data is specific to a session and not to a surflet. 2003-03-09 18:03:15 +00:00
interp f4baad5ab1 changed let&if to cond&=> in GET-SURFLET-RT-STRUCTURE 2003-03-03 10:29:18 +00:00
interp 71650fbb41 catch every condition only for load-config et al.; otherwise catch only errors. 2003-02-19 09:43:29 +00:00
interp 21f62d5d8e + REQUEST object extended for SUrflets by INPUT-PORT
+ SURFLET-REQUESTs used in SUrflets
+ Use MAKE-INPUT-RESPONSE to generate SUrflet responses
2003-02-17 10:09:24 +00:00
interp e32b78badb Add comments about thread safety. 2003-01-25 16:33:50 +00:00
interp f2872877ad Minor change in comments. 2003-01-25 16:30:09 +00:00
interp e3f216aee7 {S,s}urflet-->SUrflet in strings 2003-01-25 16:28:16 +00:00
interp afada4efb2 Look for RESUME-URL-IDS only in the file-name, not in the path. 2003-01-25 16:22:37 +00:00
interp e934340fb5 uncurry LOAD-SURFLET in GET-SURFLET-RT-STRUCTURE 2003-01-25 16:17:33 +00:00
interp 26fa1ca033 correct bogus call to MAKE-DEFAULT-options 2003-01-25 16:13:42 +00:00
interp 9aea76ee83 remove RETURN-CONTINUATION from INSTANCE; it's not used anyway 2003-01-25 16:11:30 +00:00
interp 100ffcc010 remove SURFLET-PREFIX; it's not used anyway 2003-01-25 16:10:19 +00:00
interp 3d3655960b + Outhouse some components of surflet-handler.
+ Textual restructuring of surflet-handler.
+ Comments added.
2003-01-25 16:09:03 +00:00
interp 220ac99930 Add SURFLET-RESPONSE->STRING for debug purpose. 2003-01-25 13:30:45 +00:00
interp 3f3bf045de Add SEND-ERROR, that sends an error. 2003-01-24 16:02:29 +00:00
interp 6358463b5a + Change interface of SEND/SUSPEND, SEND/FINISH, SEND:
They expect SURFLET-RESPONSE objects now (not HTTP-RESPONSE).
+  SEND-HTML/SUSPEND, SEND-HTML/FINISH, SEND-HTML respect this.
2003-01-24 15:23:51 +00:00
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