mainzelm
61c3a4c216
Introduced field lifetime to session
2003-03-31 10:56:28 +00:00
sperber
1c6bfbc4ea
Clear the THE-SESSION-REPLIES after writing a reply.
2003-03-21 10:42:37 +00:00
sperber
9194257f8e
Increase *WINDOW-SIZE* from 4096 to 8192.
...
This improves speed on AIX by a factor of about 20.
2003-03-19 13:02:44 +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
mainzelm
573e980f33
Added a rule to generate comments for *COMMENT* tags.
2003-03-14 12:58:12 +00:00
interp
3511a9bffc
Add forgotten structure for surflets/my-sessions
2003-03-13 18:32:43 +00:00
interp
dcce51cc3f
Let URL-RULE use SURFLET-SXML->LOW-LEVEL-SXML instead of writing own string list
2003-03-13 12:07:29 +00:00
interp
39066ac109
Mention session-data in basic user's structures
2003-03-13 11:53:09 +00:00
interp
fe70289bc6
Factor out SESSION-DATA and make it available in SURFLETS
2003-03-13 11:52:37 +00:00
interp
88e255d5de
+ Restructuring: Now, we have a three (four) layer concept:
...
Basic User, Advanced User, Administrative User
+ see file SURFLETS-STRUCTURES.TXT for details
+ Adapt example surflets to new structures. Only surflets that use extended
features should need adaptations.
2003-03-13 11:36:49 +00:00
interp
df8ea46a27
Add SEND-HTML-STRING, ../SUSPEND, ../FINISH
2003-03-13 11:33:33 +00:00
interp
b1e0c7df54
Add GET-SESSION
2003-03-13 11:32:59 +00:00
interp
1caff62db0
minor change in comment
2003-03-13 11:32:38 +00:00
interp
e151572459
Add sxml->string/internal
2003-03-13 11:32:16 +00:00
interp
d1c7b4e9d3
remove forgotten generate-unique-name
2003-03-10 17:11:41 +00:00
interp
ec341accf9
Add SESSION-ALIVE?
2003-03-10 16:37:22 +00:00
interp
3fc36e865e
+ Splitting file surflets.scm into several packages
...
- Removing surflets.scm
+ The surflets package remains and collects the most usual used packages
It does not export any more the outdaters, the access to IDs
(like session-id), callbacks, form-query-list.
(and maybe some other stuff I've forgot to mention here, see list
below).
The new packages are (not included in surflets are marked (*)):
+ surflets/addresses: MAKE-ADDRESS, MAKE-ANNOTATED-ADDRESS
+ surflets/bindings: GET-BINDINGS, EXTRACT-BINDINGS and stuff
+ surflets/ids (*): MY-SESSION-ID, .., INSTANCE-SESSION-ID
+ surflets/input-fields: MAKE-INPUT-FIELD, MAKE-NUMBER-INPUT-FIELD...
+ surflets/outdaters(*): MAKE-OUTDATER, OUTDATER?...
+ surflets/returned-via: RETURNED-VIA, CASE-RETURNED-VIA
+ surflets/send-html: SEND-HTML/SUSPEND...
+ surflets/surflet-sxml: URL-RULE,..., SURLFET-SXML-RULES, ...
+ surflets/sxml: SXML->STRING, DEFAULT-RULE,...
+ surflets/typed-optionals(*): TYPED-OPTIONALS, OPTIONALS
+ surflets/utilities(*): MAKE-CALLBACK, FORM-QUERY-LIST,
GENERATE-UNIQUE-NAME...
2003-03-10 16:29:32 +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
mainzelm
5c03d2e24e
URL -> url
2003-03-10 09:23:41 +00:00
interp
3b51f7b82b
+ export conversion rules from surflets:
...
default-rules (default, text, attribute, plain-html and url)
surflet-form-rules (input-field and surflet-form)
+ according to mainzelm: lowercase URL tag to url in surflet-xml
2003-03-09 20:15:08 +00:00
interp
31f0044e2c
rename FORM-QUERY of surflets to FORM-QUERY-LIST
...
to avoid name puzzlement with the simple-surflet-api that already
exports this name (and we cannot change this, as this is adapted to PLT)
2003-03-09 19:57:56 +00:00
interp
4af92bc379
factor out creating of input page
2003-03-09 19:57:09 +00:00
interp
b12070e349
Add MY-SESSION-ID, MY-CONTINUATION-ID and MY-IDS to surflets, that return the respective IDs out from an request object. There are restrictions on their use.
2003-03-09 19:44:09 +00:00
interp
e64b57f540
Correct some error from last commit:
...
* COMPOUND-INTERFACE needs its arguments to be defined already
* add bang to some other ADJUST-TIMEOUTs
2003-03-09 19:18:35 +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
536fe1394c
no changes (internal restructuring using COMPOUND-INTERFACE)
2003-03-09 18:37:38 +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
cacf6aeaa8
downcase! even more identifiers
2003-03-07 18:45:12 +00:00
interp
78a1d2e633
+ (foreach downcase! identifiers)
...
+ fold FORMATED-REPLY into SURFLET-XML->HTML
+ rename REAL-FORMATED-REPLY to FORMATED-REPLY
+ use global value INPUT-FIELD-TRIGGER instead of symbol 'input-field
+ The SURFLET-FORM tag creates a REFORMATted list instead of HTML
Note: There were no changes to the interface.
2003-03-07 18:34:04 +00:00
mainzelm
2e5f385410
Fixed two bugs in case-returned-via.
2003-03-07 13:08:36 +00:00
mainzelm
e12ba6a042
=> for case-returned-via
2003-03-03 20:38:17 +00:00
interp
f4baad5ab1
changed let&if to cond&=> in GET-SURFLET-RT-STRUCTURE
2003-03-03 10:29:18 +00:00
interp
bd613946d0
+ CASE-RETURNED-VIA from mainzelm added
...
+ RETURNED-VIA alias for RETURNED-VIA? added
2003-03-03 10:27:49 +00:00
interp
98f0da38c6
Add MAKE-ANNOTATED-ADDRESS that creates string-annotated return-addresses
2003-02-28 08:22:29 +00:00
sperber
b2884b22e2
Don't close the data connection upon errors.
2003-02-27 13:33:15 +00:00
sperber
118bc545b1
Make sure we close the data connection upon an error.
2003-02-27 10:53:24 +00:00
sperber
3405ab31ed
"occured" -> "occurred"
2003-02-27 09:02:10 +00:00
sperber
ee5aba4cf5
Fix reply generation for data transfer errors and aborts.
2003-02-27 09:01:45 +00:00
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
e3d252c370
Use a port buffer of 4096 bytes when reading the CGI script's output
...
and copy 4094 bytes at once from this buffer to output port.
2003-02-26 18:02:14 +00:00
mainzelm
4923286d96
Let FORM-QUERY return '() if the query string is #f.
2003-02-26 15:55:22 +00:00
interp
d5dcbace37
Log a single dash (`-') if referer or user-agent header is missing/unknown
2003-02-25 17:36:36 +00:00
interp
862dd31c88
Correct self links & restructure a bit.
2003-02-21 09:50:49 +00:00
interp
9a6b262637
Correct self links.
2003-02-21 09:49:35 +00:00
mainzelm
ef3a8af150
Added httpd-options-post-bind-thunk.
2003-02-20 17:52:27 +00:00
mainzelm
bc6324e252
Generate a pair of status and text if the CGI script failed to provide
...
the "Status" header.
2003-02-20 08:57:59 +00:00
interp
e6e4ea0f1a
use INPUT-FIELD-VALUE for check-box
2003-02-19 18:48:24 +00:00
interp
ca7e42cfa0
use scheme-with-scsh where appropriate.
2003-02-19 18:47:04 +00:00
interp
945b4a2ade
failsafe if "which" is not executable.
2003-02-19 18:45:57 +00:00
interp
2d7a37f060
unify dispatcher: RETURNED-VIA? accepts now input-fields as well as return-addresses.
2003-02-19 18:42:45 +00:00
interp
bd26da7497
remove debug output
2003-02-19 18:34:48 +00:00
interp
bf070b1036
use 'convert' to create PNG profiling chart.
2003-02-19 18:26:10 +00:00
mainzelm
2ff86dd73b
Adaption to parameter change in socket-address->fqdn.
2003-02-19 17:40:48 +00:00
mainzelm
8111eddf82
Fix broken call to map in lookup-optional-args.
2003-02-19 17:37:35 +00:00
interp
da98c4b78c
factor out GET-HEADER
2003-02-19 17:05:16 +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
a767f7b84b
Correct self-links.
2003-02-17 10:10:26 +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
bf937b2e74
WITH-LOGFILE was renamed to WITH-LOG-FILE
2003-02-17 09:52:21 +00:00
interp
ade0a8391f
+ remove standard options from file handlers
...
+ remove superfluous comment
2003-02-17 09:08:27 +00:00
sperber
001c86f6d2
Fix condition handling in HANDLE-COMMAND.
2003-02-14 15:58:17 +00:00
mainzelm
0b8c33af3f
Removed fqdn? and unqualified-hostname
2003-02-10 13:13:26 +00:00
mainzelm
45223c1d81
Created structure ips for ip-string related procedures.
2003-02-10 12:30:43 +00:00
sperber
0e7152b68b
Finally fix MAKE-HOST-NAME-HANDLER to the point where it works and has
...
been tested.
2003-02-10 12:02:11 +00:00
mainzelm
183cf60bb7
Make resolve.conf-parse-error a condition.
2003-02-10 10:48:46 +00:00
mainzelm
1503017988
Removed system-fqdn from sunet-utilities and internet-address->fqdn from dns.
2003-02-10 10:44:59 +00:00
mainzelm
e2697605f6
+ rr-X -> resource-record-X
...
+ removed separate cache mapping IPs to FQDNs
2003-02-10 08:04:17 +00:00
sperber
44322977fc
Add HTTPD-INPUT-RESPONSE response values.
2003-02-06 15:05:15 +00:00
sperber
fe25e5a307
In web server, rename LOGFILE -> LOG-FILE.
2003-01-30 16:09:20 +00:00
sperber
6e5f9ed278
- Make the handlers in HTTPD-FILE-DIRECTORY-HANDLERS do something
...
sensible without a set of icons.
- Make the options arguments to the handlers in
HTTPD-FILE-DIRECTORY-HANDLERS optional.
2003-01-29 10:08:25 +00:00
sperber
730053c6bc
Remove duplicate OPEN clause for LET-OPT.
2003-01-29 09:56:36 +00:00
sperber
f373a87413
Rename ...-ICON-FILE-NAME -> ...-ICON-URL.
2003-01-29 09:16:56 +00:00
sperber
301d6ff4c3
Get rid of HTTPD-OPTIONS-ICON-NAME which I'd forgotten about.
2003-01-29 07:54:44 +00:00
interp
8895e3b32a
Adapt to recent interface changes of HTTPD and its file handlers.
...
Particularly, the SUrflet server can now serve the source of SUrflets
via '/source/add-raw.scm'
2003-01-28 21:58:33 +00:00
interp
6804ad4712
* Redirect output from interactive Scheme Program to OPORT (to browser).
...
* Add definition for GET-HEADER (does every package need its own definition?)
2003-01-28 21:29:23 +00:00
interp
416d914a3f
Add missing argument to call to nroff-n-decode in man
2003-01-28 21:15:50 +00:00
interp
8e07bc1b07
Remove export of disappeared OPTIONS-SURFLET-PREFIX
2003-01-28 20:44:48 +00:00
mainzelm
615886e492
Provide default values if the CGI script fails to provide status or
...
content-type.
2003-01-28 15:20:36 +00:00
sperber
022ea25ba6
Rework once again how content types, content encodings, icons etc. are
...
handled in the file/directory request handlers:
- HTTPD-FILE-DIRECTORY-HANDLERS now has its own options argument
- the ICON-NAME HTTPD option is gone (effectively moved to the above)
- determination of content type/encoding is now configurable
2003-01-28 15:16:20 +00:00
sperber
eb20aec688
Clean up logging in ftpd:
...
- hold relevant data in new SERVER-STATE fluid
- specify log destination as a port, not a file
2003-01-28 10:49:45 +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
7747dd4ac6
Use SEND-ERROR instead of MAKE-ERROR-RESPONSE.
2003-01-25 13:42:50 +00:00
interp
fe10f7b609
Use SEND-ERROR instead of MAKE-ERROR-RESPONSE
2003-01-25 13:40:34 +00:00
interp
220ac99930
Add SURFLET-RESPONSE->STRING for debug purpose.
2003-01-25 13:30:45 +00:00
interp
e99acd10ee
Use SEND-ERROR instead of MAKE-ERROR-RESPONSE
2003-01-25 13:24:22 +00:00
interp
ac28d0c6a2
Remove a bug: wrong parameter to SHOW-SESSIONS after e.g. killing a
...
session
2003-01-25 13:21:36 +00:00
interp
0bee80fadf
Remove bug from POST forms: Let GET-HEADER return only the header
...
value.
2003-01-25 12:19:54 +00:00