Perhaps the Cherokee webserver might be useful for you to look at it's codebase... and it's implementation of fastcgi.h
https://github.com/cherokee/webserver/tree/master/cherokee On Fri, Apr 5, 2013 at 9:13 PM, Andres Osinski <[email protected]>wrote: > Hi everyone, I've taken an interest in Rust as it fills a niche in > programming that I've long been looking to fullfill. > > I'm primarily a Python web developer, so I wanted to start coding by > implementing the FastCGI protocol for Rust. I know that its native task > management and socket capabilities are very good, but you never know when > it might be handy for someone. > > I just wanted to know if anyone was familiar with the FCGI protocol, and > if there's any reference as to how to manage the packing and unpacking of C > data structures, as well as if you know of any implementation for a similar > protocol. > > One small question that I have is that FCGI protocol defines a struct with > two char arrays whose length is defined by another field within the struct, > and I was wondering how that would be modeled in Rust. > > Thanks > > -- > Andrés Osinski > > _______________________________________________ > Rust-dev mailing list > [email protected] > https://mail.mozilla.org/listinfo/rust-dev > > -- -Thad http://www.freebase.com/view/en/thad_guidry
_______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
