Stream Settings
stream.auto_close
Abbreviation | st a |
Access | get/set |
Description
This setting is intended for all network related streams:
- tcp/udp clients
- tcp server clients
- http_get/http_post
When FALSE, a stream handle is not reused until it is manually closed. In this case, the stream_poll command returns 2
for a stream when the associated client has disconnected.
When TRUE, a stream handle is automatically reused when closed.
Arguments
<0/off/false/1/on/true>
Default
true
Properties
- takes effect immediately
Supported Platforms
Get example
> get st a
1
>
Set example
> set st a false
Set OK