mainzelm
8a2351a190
Fix handling of session timeouts by using the session-id as the only
...
key.
2006-08-01 15:19:19 +00:00
interp
10ca480e4c
Correct error message in make-http-response.
2004-07-21 20:38:00 +00:00
interp
c2109e2e67
Adjust MAKE-RESUME-URL and
...
DEFAULT-MAKE-SESSION-TIMEOUT-TEXT to surflets that are
in subdirectories.
2003-11-18 20:25:59 +00:00
interp
0ffbe611dc
Sorry for the messed up previous commits. Here are the collected messages:
...
* Use "Internal Error" instead of "Bad Gateway" as the surflet handler is not a
gateway.
* Thus, rename BAD-GATEWAY-ERROR-RESPONSE to BAD-SURFLET-ERROR-RESPONSE.
Move SESSION-ADJUST-TIMEOUT from SEND/SUSPEND to RESUME-URL where it belongs to.
Let SET-SESSION-DATA! raise an error, if the instance isn't alive anymore (instead of returning #t or #f).
Add small comment to RESET-SESSION-TABLE!
Remove unused variable in DELETE-CONTINUATION!
Remove superfluous FILE-NAME-NON-DIRECTORY from RESUME-URL, as RESUME-URL-IDS uses this anyway.
Small change in error message in MAKE-HTTP-RESPONSE.
2003-08-01 17:59:27 +00:00
interp
64ef783d8d
`cat ~/diff-sunet/$num/log`
2003-08-01 17:41:11 +00:00
interp
92dc531fa2
`cat ~/diff-sunet/$num/log`
2003-08-01 17:41:06 +00:00
interp
d134f033d6
`cat ~/diff-sunet/$num/log`
2003-08-01 17:41:02 +00:00
interp
c0773d8e55
`cat ~/diff-sunet/$num/log`
2003-08-01 17:40:58 +00:00
interp
5214f767d7
`cat ~/diff-sunet/$num/log`
2003-08-01 17:40:49 +00:00
interp
4673e0012f
`cat ~/diff-sunet/$num/log`
2003-08-01 17:40:44 +00:00
interp
f106614a75
`cat ~/diff-sunet/3/log`
2003-08-01 17:33:21 +00:00
interp
d7fb759988
Assure at least one digit for each ID in regexp for cont-URL.
2003-07-24 09:18:53 +00:00
interp
32a2473d2d
Remove wrong multiple value return from RESUME-URL-SURFLET-NAME
2003-07-24 09:17:05 +00:00
interp
4ec94f293e
Remove superfluous reset in RESUME-URL.
2003-07-21 07:13:50 +00:00
interp
2067f77670
Remove surflet-path bug in SURFLET-HANDLER.
...
The surflet-path could be given either explicitly or by options-structure.
This introduced an unexpected behavior: the explicitly given surflet-path
argument was completely ignored when options were given.
Now we accept only one argument to SURFLET-HANDLER that must be an option,
like HTTPD does it.
2003-07-18 15:06:53 +00:00
interp
39f7addaf9
Factor out SURFLET-RESPONSE object
2003-07-05 18:13:32 +00:00
interp
ee5e3cd6ec
In make-resume-url: use argument session-id
...
(not instance-session-id) to create resume-url.
2003-04-16 16:04:11 +00:00
interp
5b2e2ddd6a
Ship out only session-id/continuation-id
...
and not the session/continuation itself
2003-04-16 16:02:37 +00:00
interp
5581383962
Add surflet-path to options (needed by admin-surflets.scm)
2003-04-13 20:24:56 +00:00
interp
4b08eac262
use with-lock instead of obtain-lock/release-lock
2003-04-13 18:27:43 +00:00
interp
956fd7bbf1
Add non-thunk version to with-lock.
...
Note: To follow naming conventions of scsh, the old with-lock is
renamed to with-lock*. The syntactic sugar version is with-lock now.
2003-04-13 17:36:39 +00:00
interp
d0782f63a2
Factor out with-locks from surflet-handler
2003-04-13 17:23:11 +00:00
mainzelm
213090a51d
+ use search-trees for timeout-queue
...
+ export session-adjust-timeout! for admin-surflet.scm
2003-04-01 13:17:45 +00:00
mainzelm
61c3a4c216
Introduced field lifetime to session
2003-03-31 10:56:28 +00:00
mainzelm
33f1a2f063
Two small fixes related to options.
2003-03-17 19:29:45 +00:00
mainzelm
b74ca11656
+ Make text displayed on session timeout an option to the handler.
...
+ Fixed various options related bugs.
2003-03-17 12:31:49 +00:00
mainzelm
b93e275415
Replaced implementation of surveillance thread: We have now only one
...
thread which checks every second for sessions to be deleted.
2003-03-17 12:09:26 +00:00
mainzelm
3de0a9c480
Added options for surflet-handler.
2003-03-17 10:17:55 +00:00
interp
b1e0c7df54
Add GET-SESSION
2003-03-13 11:32:59 +00:00
interp
ec341accf9
Add SESSION-ALIVE?
2003-03-10 16:37:22 +00:00
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