vladmunteanu / th2c

Tornado HTTP/2 Client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve client usability

pOctav opened this issue · comments

commented

The client should be usable without defining a new instance for each new host:port. The logic from the client for connection reusability should be moved inside HTTP2ClientConnection.

Once this is implemented, we can go back to only one instance of client per ioloop, as tornado does it.
We could look into using tornado's AsyncHTTPClient as a base class and simplify our client.