tailhook / rotor-http

The mio/rotor based http server library for rust (UNMAINTAINED, use tk-http)
MIT License
109 stars 11 forks source link

Support for Pipelining #47

Open KodrAus opened 8 years ago

KodrAus commented 8 years ago

Just a quick question: is http pipelining supported on persistent client connections in rotor_http?

I'm not an expert on this particular feature, just starting to look into it, so I'm not sure if the complete set of requests to pipeline need to be sent upfront or whether they can be thrown onto the request stream at any time.

pyfisch commented 8 years ago

Yes it is supported. You can send all requests upfront or wait varying amounts of time between each.

KodrAus commented 8 years ago

Ah nice, so am I just able to return Task::Request from my state machine multiple times to pipeline requests or is there something else I need to do?