taf2/curb — Issue #108: How to close connection explicitly
Author: herry1234
Created: 2012-02-18 06:42:17+00:00
State: open

My client logic is: whenever client receive one special message from server, client would close the connection, instead of waiting for 2 minutes timeout.
i tried to close curl handler in on_body, but got exception.

Then i tried multiple interface like:
1) use one easy interface to get first data
2) add this easy handler into multiple
3) in the m.perform, close the connection explicitly
But it created another handler in multiple perform. So basically 2 HTTP connection are used.

Any thought ?