Skip to content

Modify AbstractTransport class for supporting KeepAlive options #52

@GoogleCodeExporter

Description

@GoogleCodeExporter
I'd like to propose a change for the AbstractTranspor class for adding a 
**kwargs parameter.

This parameter could be used to pass specific option for sockets, in particular 
options for defining values for KEEPALIVE settings:
socket.TCP_KEEPIDLE
socket.KEEPINTVL
socket.KEEPCNT

If those keys are found the values are defined.
We could also change the code to verify if a key is passed for the SO_KEEPALIVE 
option for enable/disable it.

The aim of this change is to allow to define specific params for keep_alive 
instead of using default OS values.

Original issue reported on code.google.com by andrea.rosa on 12 Jul 2012 at 3:51

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions