Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
clean-and-itasks
clean-libraries
Commits
c64b2f41
Commit
c64b2f41
authored
Apr 24, 2008
by
Bas Lijnse
Browse files
Changed the debug info of the http server to keep the connection open while printing debug info
parent
e8aa4cc2
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/Http/HttpServer.icl
View file @
c64b2f41
...
...
@@ -78,12 +78,14 @@ loop options handlers listener rchannels schannels requests world
#
world
=
debug
response
options
world
// Encode the response to the HTTP protocol format
#
(
reply
,
world
)
=
http_encodeResponse
response
True
world
#
world
=
debug
"Sending encoded reply:"
options
world
#
world
=
debug
reply
options
world
// Send the encoded response to the client
#
(
currentschannel
,
world
)
=
send
(
toByteSeq
reply
)
currentschannel
world
#
world
=
debug
"Sent encoded reply:"
options
world
#
world
=
debug
reply
options
world
// Close the connection
#
world
=
closeChannel
currentschannel
world
#
world
=
closeRChannel
currentrchannel
world
#
world
=
closeRChannel
currentrchannel
world
#
world
=
debug
"Closed connection"
options
world
=
loop
options
handlers
listener
rchannels
schannels
requests
world
//We do not have everything we need yet, so continue
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment