Support setting the RESETCONNECTION flag for reused connections. #85

kppullin opened this Issue Mar 13, 2013 · 0 comments


None yet
1 participant

kppullin commented Mar 13, 2013

The 'packet.STATUS.RESETCONNECTION' flag should be set for any connection that is reused (e.g. a connection reused from a connection pool).

[See this link on why resetting the connection is critical:]

A potential implementation is to update the Packet constructor to take an optional resetConnection bool, which when true applies the RESETCONNECTION flag as needed.

I've prototyped and tested this approach, and while it works, I'm not sure it's the cleanest way to approach the problem.

If so, I'll submit a pull request and if not make the necessary adjustments.

@pekim pekim closed this in e4da4b0 Mar 24, 2013

momow pushed a commit to momow/tedious that referenced this issue Oct 15, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment