C / C ++ HTTP library that only handles logic?

I am looking for an HTTP library for C / C ++ that only handles protocol logic and not the actual transport mechanism. The libraries that I had to deal with, as a rule, block the entire process of communication, and this is not what I need.

However, I am looking for something more than just an HTTP parser. Ideally, he will also take care of things like session / connection management, multiplexing, etc. Just that he will leave the actual implementation of communication data for the application. I consider both client and server ends, although any of them would be useful.

Preferably, I'm looking for something free (not GPLed, though). HTTPS is a plus. Lightness is a plus. Simplicity is a big plus.

Anything like this?

+5
source share
4 answers

I think the best thing you are going to find is the one that implements it in great shape. An HTML server without socket implementation is useless for most countries of the world. I would look for well-separated code. Here is an example of a very minimal html server that seems like it can be well separated, not quite sure, as I have not tried it myself, but you could replace the socket classes with your own implementation and shells and do it that way.

http://www.adp-gmbh.ch/win/misc/webserver.html

. Google . , , , (-) , . , html-, , io , .

+1

, , , LOT ( ), , . , (, ) .

0

, - , . , lighttpd nginx. -.

0

libsoup, , , . neon .

0
source

All Articles