mainzelm
46f357d47d
nph-responses don't carry a status code so simply guess it to be
...
(status ok) when generating the log file.
2003-01-15 14:07:57 +00:00
mainzelm
7e274597a4
Fix handling of "npg-" scripts by using make-nph-response.
2003-01-15 14:03:30 +00:00
mainzelm
7170593056
Use number->status-code to generate status-code from the code returned
...
in the CGI header.
2003-01-15 14:02:02 +00:00
mainzelm
06121b3972
Added number->status-code.
2003-01-15 13:37:05 +00:00
sperber
ec99930213
Rename HTTP-URL-FRAG-ID to HTTP-URL-FRAGMENT-IDENTIFIER.
2003-01-15 12:19:45 +00:00
mainzelm
f9474b7a16
Replaced define-record by define-record-type
2003-01-15 12:17:54 +00:00
sperber
3f398e3ba7
Re-indent.
2003-01-15 11:00:22 +00:00
sperber
608bb395f2
Rename "userhost" to "server" according to RFC 2396.
2003-01-15 10:59:46 +00:00
sperber
e090e1bd44
Add PARSE-HTTP-URL-STRING procedure to URL structure.
2003-01-15 10:36:16 +00:00
sperber
b85f09212e
Indentation and comment fixes. As usual, fix Olin's atrocious
...
line-breaking of IFs.
2003-01-15 10:32:35 +00:00
sperber
abc0cdb34d
Indentation and typo fixes.
...
In particular, fix Olin's atrocious line-breaking of IFs.
2003-01-15 10:17:43 +00:00
sperber
8800f37a3b
- fix bug: PARSE-URI couldn't handle ? and # in the same URI
...
- use fixed URI-RESERVED-SANS-= instead of computing
(char-set-delete uri-reserved #\=)
each time PARSE-URI is called
2003-01-15 10:14:06 +00:00
sperber
8ed2a48176
Rename URI-PATH-LIST->PATH to URI-PATH->URI and SPLIT-URI-PATH to
...
SPLIT-URI.
Also fix paren typo from earlier commit.
2003-01-14 15:02:07 +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
sperber
d882315133
- elide documentation that's moved to uri.tex
...
- remove RESOLVE-URI
(Whatever it was supposed to do (and we don't know what it was
supposed to do), it didn't work, and there are no known clients for
it.)
2003-01-14 14:40:57 +00:00
sperber
e2d36f3922
Remove RESOLVE-URI.
2003-01-14 14:39:55 +00:00
sperber
a5bdc8743e
Remove comments that have been integrated into the documentation.
2003-01-14 13:53:24 +00:00
sperber
9dac2674b4
Introduce new response type :HTTP-NPH-RESPONSE for nph-... CGI
...
scripts.
2003-01-14 13:23:29 +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
9a9d91fe92
Don't look at (getenv "PATH") when determining the PATH set for the
...
CGI script.
2003-01-10 13:31:06 +00:00
sperber
722135a77e
Remove obsolete comment.
2003-01-10 13:30:36 +00:00
sperber
5880441b02
Add implementation of NAME->STATUS-CODE.
...
Tag export of STATUS-CODE as :SYNTAX.
2003-01-10 09:57:41 +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
26de50f074
Don't set REMOTE_HOST---we set REMOTE_ADDR, and that's enough
...
according to the CGI spec. (REMOTE_HOST required that we do a DNS
lookup.)
2003-01-09 16:02:40 +00:00
sperber
0754b74963
Replace integer HTTP status codes by finite record type instances.
2003-01-09 15:05:30 +00:00
sperber
9b11ac1572
Remove %... procedure brain-damage from RFC822 code and use optional
...
arguments instead.
2003-01-09 13:23:50 +00:00
sperber
788b75caf0
Add HTTPD structure with all the stuff actually needed to call the
...
entry point.
2003-01-09 12:59:43 +00:00
sperber
978f28680e
Parameterize RMAN-HANDLER over locations of the various binaries.
2003-01-07 14:38:02 +00:00
sperber
7f5219220b
Remove stray DECLINE which would shut down the server in the face of
...
internal server errors.
2003-01-07 13:40:34 +00:00
sperber
db72d0f439
Remove obsolete uses of ERROR-PACKAGE.
2003-01-07 12:32:52 +00:00
sperber
b5e07aef54
Remove -OBSOLETE packages; we're incompatible with the old SUnet
...
anyway, and there's little reason to keep compatibility packages for
the rest.
2003-01-07 12:18:27 +00:00
sperber
186e9de56c
Streamline structure declarations
...
- remove some more uses of Olin records
- remove uses of BIG-SCHEME/BIG-UTIL
- subset all uses of SRFI 1, 13, 14
2003-01-07 12:16:33 +00:00
mainzelm
9146cb5780
Use with-lock to obtain/release-locks.
2002-12-29 19:10:10 +00:00
mainzelm
c43a8b8f35
Copy with-lock from scsh into sunet-utilities.
2002-12-29 19:09:37 +00:00
mainzelm
7fc87572bb
Last commit accidentally commented out REMOTE_HOST.
2002-12-29 17:52:26 +00:00
mainzelm
e3ef1280c4
Correct leftover from the fork-based implementation: adjust port-buffering of socket's input port.
2002-12-29 17:49:06 +00:00
mainzelm
bfab4cc710
Correct leftover from the fork-based implementation: stdin of the CGI
...
script must be the socket's input port.
2002-12-29 17:47:41 +00:00
mainzelm
e7aa14ee73
cache contents of resolv.conf
2002-12-22 13:45:38 +00:00
mainzelm
f0dbc7acba
Add missing parameter to format in maybe-open-logfile.
2002-12-20 07:53:43 +00:00
mainzelm
6156c77161
Put port for logging into session.
2002-12-19 17:11:38 +00:00
mainzelm
63ca4e7c09
Use fork-thread to start new threads to inherit syslog resource.
2002-12-19 16:33:13 +00:00
mainzelm
b5c286e935
Import handle-fatal-error in httpd-logging.
2002-12-19 14:34:55 +00:00
mainzelm
8b6d244f0e
Protect dns-lookup-ip with a fatal error handler.
2002-12-19 14:30:39 +00:00
mainzelm
5a20cc1e0a
Moved handle-fatal-error.scm from httpd/ to lib/
2002-12-19 14:27:31 +00:00
sperber
1b13998c69
Fix opened structures for DNS.
...
(DNS would bomb due to a conflict for DELETE between BIG-UTIL and
SRFI-1.)
2002-12-17 16:32:16 +00:00
mainzelm
34a2ace724
+ Temporary fix in this-host-address: close the socket obtained from
...
port->socket.
+ read-crlf-line doesn't accept a timeout and it would be nonsense in
copy-ascii-port->port anyway.
2002-12-11 10:05:50 +00:00
interp
4bee3e42f5
Update links to new 'add' scheme servlets.
2002-12-08 18:46:45 +00:00
interp
f4cca95296
Version of add form:
...
Uses SIMPLE-SERVLET-API.
2002-12-08 18:45:58 +00:00
interp
a7357dc1a4
Rename add2.scm to add-servlet.scm
...
Version of add form:
"Full featured" version: uses both HTML generating and support for
input-fields in forms.
2002-12-08 18:13:59 +00:00
interp
98ff465d73
Rename add.scm to add-html.scm
...
Version of add form:
Uses SEND-HTML/SUSPEND and SEND-HTML/FINISH with the HTML-generation tool
from serlvets (that is built with Oleg's SSAX)
2002-12-08 18:12:34 +00:00
interp
5879a83b9a
"Raw" version of add form:
...
Uses only tools of servlet-handler/servlets.
2002-12-08 18:10:15 +00:00
interp
7f7eb610d8
use SCHEME-WITH-SCSH instead of SCSH and SCHEME
2002-12-08 15:49:27 +00:00
interp
d705974612
Remove checkbox-bug
2002-12-07 22:27:02 +00:00
interp
4606552c2b
rename INSTANCE to SESSION and SESSION to INSTANCE
2002-12-07 22:26:40 +00:00
mainzelm
0b57b16fe9
Use select-port-channels. TCP works now.
2002-12-06 12:52:23 +00:00
mainzelm
7e6da5347e
+ Complete parsing for /etc/resolv.conf
...
+ use search or domain field from resolv.conf to determine FQDNs
2002-12-03 16:02:17 +00:00
sperber
29fc6b1b9d
Use DEFINE-RECORD-TYPES instead of DEFREC-PACKAGE in POP3.
2002-12-03 10:55:08 +00:00
sperber
0db1d98d53
Remove comments about portability.
2002-12-03 10:52:15 +00:00
sperber
9b272be2b7
Use DEFINE-RECORD-TYPES instead of DEFREC-PACKAGE in NETRC.
2002-12-03 10:50:26 +00:00
sperber
fe96c5f2b2
Use DEFINE-RECORD-TYPES instead of DEFREC-PACKAGE in FTP.
2002-12-03 10:44:48 +00:00
sperber
6faaa49692
Remove obsolete comments about compatibility.
2002-12-03 10:41:49 +00:00
sperber
905ad326c2
Synchronize copyright statements.
2002-12-03 10:41:04 +00:00
interp
1e93e430ed
+ add navigation links
...
+ typo corrected
2002-12-02 08:58:24 +00:00
interp
77cd3e0d28
REQUEST:URL --> REQUEST-URL
2002-12-02 08:44:02 +00:00
interp
ffa8ad13ae
remove unused SERVLET-PREFIX option.
2002-12-02 08:42:37 +00:00
interp
ba04964918
fix typo in SERVLETS' open-clause
2002-12-02 08:39:10 +00:00
mainzelm
543dbdf9ab
DNS needs srfi-1
2002-11-29 17:08:57 +00:00
mainzelm
5f88c27382
+ Removed *debug*
...
+ some renamings
+ explained nomenclature
2002-11-29 17:08:14 +00:00
sperber
4e859bc92a
- renamed USERHOST:xxx to USERHOST-xxx
...
- renamed HTTP-URL:xxx to HTTP-URL-xxx
2002-11-29 14:56:58 +00:00
sperber
68b1f0c386
Fix typo from structure name normalization commit.
2002-11-29 14:49:46 +00:00
sperber
641b8129ba
Renamed REQUEST:xxx to REQUEST-xxx.
2002-11-29 14:49:22 +00:00
sperber
b45c23df44
More structure name normalization.
2002-11-29 14:42:02 +00:00
sperber
61c8b7fba2
Use SCHEME-WITH-SCSH throughout.
2002-11-29 14:37:39 +00:00
sperber
4bf3bcb238
Clean up ftpd:
...
- open fewer structures
- clarify relationship between OPTIONS and SESSION
- use an ordinary fluid for OPTIONS
- pass FTPD-OPTIONS record into FTPD instead of some random arguments
- ...
2002-11-29 14:27:52 +00:00
mainzelm
cbb4609c3a
Replaced posix regexp strings by sre expressions.
2002-11-27 09:36:21 +00:00
sperber
2442e88ab7
Renamed HTTPD-REQUEST to HTTPD-REQUESTS, now conforming to Scheme 48
...
convention.
2002-11-26 12:52:39 +00:00
mainzelm
5f3582d017
+ Reworked condition signalling
...
+ TCP almost works
+ Cleanup
2002-11-25 16:47:00 +00:00
mainzelm
6cc2305e6b
Start of rewrite using select.
2002-11-19 22:41:37 +00:00
interp
4c3bde22fa
Add several features like
...
+ extras page
+ shield energy
+ construction time calculation
+ hostname resolving
+ comments
+ some others I cannot remember
[Sorry for the bundled commit, my ISP went down again.]
2002-11-17 14:38:38 +00:00
interp
9816e1c1ed
+ let arms be specified
...
+ add extra order page
+ add data about spaceship classes
2002-11-15 15:49:02 +00:00
interp
393ea38bb8
introduce data structure for spaceship class' boundary data
2002-11-15 12:52:58 +00:00
interp
a0e331636c
Remove stupid error generating code. Hit me.
2002-11-15 12:32:50 +00:00
interp
4570e42eeb
bigger application
2002-11-09 18:26:26 +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
fb75cd4efe
Add infrastructure for saving default values in get-results.
2002-11-09 17:17:14 +00:00
interp
5e0e6abcb7
update description of INPUT-FIELD-VALUE and insert one for RAW-INPUT-FIELD-VALUE
2002-11-09 16:46:59 +00:00
interp
2d97ef42bc
remove sub-attribute-bug from select and radio input fields
2002-11-09 16:46:26 +00:00
interp
5770918384
Remove debug output
2002-11-07 20:42:06 +00:00
interp
223c1da086
Rename TRY-INPUT-FIELD-VALUE --> INPUT-FIELD-VALUE and
...
INPUT-FIELD-VALUE --> RAW-INPUT-FIELD-VALUE simultanously.
Thus, the WITH-FATAL-ERROR-HANDLER wrappers are not needed anymore.
2002-11-07 20:41:35 +00:00
interp
a03e5914da
new TRY-INPUT-FIELD-VALUE returns #f, if INPUT-FIELD-VALUE fails
2002-11-07 14:11:05 +00:00
interp
555af5225d
removed bug in MAKE-YES-NO
2002-11-05 22:20:59 +00:00
interp
d4ea641e14
comment added
2002-11-05 22:20:47 +00:00
interp
45a4c810a1
Create HTML page before creating response object.
...
This enables the possibility to nest calls to the SEND-HTML/SUSPEND and
similar, but disables the access to the HTTPD-OPTIONS (that wasn't granted
anyway, currently). This makes the add.scm servlet working again.
2002-11-05 21:32:58 +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
2ab106745a
Get rid of a bug. Filtering of instances is disabled to achieve this.
2002-11-03 18:15:53 +00:00
interp
1374c4a8a6
Rename some procedure to get references clear and to remove a small bug
2002-11-03 18:00:12 +00:00
interp
d026036bf3
Simple servlet api adopted from PLT. Example included
2002-11-03 17:43:58 +00:00
interp
9815824581
remove small typo from MAKE-PASSWORD
2002-11-03 17:42:27 +00:00
interp
4d7d5b08cd
Don't just say "#f" if you don't have an adminstrator's mail address. Be
...
explicit.
2002-11-03 14:41:43 +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