[uWSGI] Protobuf + HTTP
bouzafr at gmail.com
Thu Apr 2 01:04:29 CEST 2015
Basically we are getting a TCP packet which has X amount of bytes then the
rest are the HTTP payload.
So I guess I can implement a protocol that reads X bytes from protobuf then
reads the HTTP bytes and sends that to the HTTP engine. Replies are always
On Wed, Apr 1, 2015 at 11:22 AM Roberto De Ioris <roberto at unbit.it> wrote:
> > Hello,
> > Just wondering if there is a way in uWSGI to get X amount of bytes from
> > the
> > packet that are protobuf, do some logic and then send the rest of the
> > bytes
> > as the HTTP packet.
> > Something like what the Netty Pipeline does.
> > Thank you.
> If you mean passing requests as protobuf and getting back http responses,
> you can implement a protocol plugin.
> The scgi one is a good example for starting:
> Roberto De Ioris
> uWSGI mailing list
> uWSGI at lists.unbit.it
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the uWSGI