mirage-tcpip icon indicating copy to clipboard operation
mirage-tcpip copied to clipboard

allow user to set timeout parameters for tcp connections

Open yomimono opened this issue 6 years ago • 2 comments

Frequently the user wants TCP.create_connection to fail quickly, or to try more persistently. The user has no control over this with the current API.

yomimono avatar Jun 11 '19 15:06 yomimono

Hearing no objections, I'll implement this.

yomimono avatar Jun 21 '19 15:06 yomimono

I'm wondering what the use case is exactly: are there different kind of TCP connections that need special treatment (i.e. a per-flow option), or should it be a global configuration option for the entire TCP stack (i.e. be able to set number of retransmissions and time delta between them) - which may depend on the location of the unikernel and its communication habits -- i.e. if it mostly does local connections, the time delta could be lowered?

hannesm avatar Jul 06 '19 17:07 hannesm