You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to have some kind of timeout for reading streams. This would be quite useful to implement the HTTP/1.1 main feature (keep-alive connections).
SWI-Prolog has: set_stream/2 (timeout is an option) and wait_for_input/3, for reference
The text was updated successfully, but these errors were encountered:
For TcpStream, I think this can be accomplished with set_read_timeout, maybe suitable added to src/machine/streams.rs and an additional interface predicate in library(sockets):
It would be nice to have some kind of timeout for reading streams. This would be quite useful to implement the HTTP/1.1 main feature (keep-alive connections).
SWI-Prolog has:
set_stream/2
(timeout is an option) andwait_for_input/3
, for referenceThe text was updated successfully, but these errors were encountered: