Skip to content

Commit fb8a03a

Browse files
committed
FIX: httpd scheme: correct timeout; updated header
1 parent 269032d commit fb8a03a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/modules/httpd.reb

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
Rebol [
22
Title: "HTTPD Scheme"
3-
Date: 02-Jul-2020
3+
Date: 6-Dec-2022
44
Author: ["Andreas Bolka" "Christopher Ross-Gill" "Oldes"]
55
File: %httpd.reb
66
Name: 'httpd
77
Type: 'module
8-
Version: 0.6.0
8+
Version: 0.7.0
99
Exports: [http-server decode-target to-CLF-idate]
1010
Rights: http://opensource.org/licenses/Apache-2.0
1111
Purpose: {
@@ -33,6 +33,7 @@ Rebol [
3333
01-Apr-2019 "Oldes" {Rewritten to be usable in real life situations.}
3434
10-May-2020 "Oldes" {Implemented directory listing, logging and multipart POST processing}
3535
02-Jul-2020 "Oldes" {Added possibility to stop server and return data from client (useful for OAuth2)}
36+
06-Dec-2022 "Oldes" {Added minimal support for WebSocket connections}
3637
]
3738
needs: [3.10.1 mime-types]
3839
]
@@ -881,7 +882,7 @@ sys/make-scheme [
881882
ctx/out/Header: make map! 12
882883
ctx/state: none
883884
; set new timeout
884-
ctx/timeout: now + ctx/config/keep-alive/1
885+
ctx/timeout: now + to time! ctx/config/keep-alive/1
885886
read port
886887
][
887888
; close client connection

0 commit comments

Comments
 (0)