From: Александр М. <am...@ma...> - 2010-07-24 07:27:01
|
Hello Glyn, Thursday, July 22, 2010, 5:54:20 PM, you wrote: GM> Hello Alex, GM> 2010/7/21 Александр Мартынов <am...@ma...> GM> Hello! GM> Sorry, I am not a developer, I am simply interesting on GM> cpp-netlib library, but I was not found any support mailing list. GM> My questions are: GM> 1) HTTP client and SSL. How I can compile client without HTTPS GM> support (which adds dependency on openssl library). I try to GM> define BOOST_NETWORK_NO_HTTPS, but it not work. I try to lookup in GM> code for BOOST_NETWORK_NO_HTTPS or BOOST_NETWORK_HTTPS, but there is no occurences found. GM> Some https features found in GM> boost\network\protocol\http\impl\sync_connection_base.hpp, but GM> they are unconditional and can't be stripped. GM> What version of cpp-netlib are you using? There was a discussion GM> about this a month and a half ago and the decision was to define a GM> macro BOOST_NETWORK_ENABLE_HTTPS in order to explicitly opt-in to GM> using SSL. However, this has not yet been implemented. It is not GM> possible to compile the HTTP client without SSL in the current release (0.6). GM> http://www.mail-archive.com/cpp...@li.../msg00443.html I am using version 0.5 of cpp-netlib. I was read that discussion, but wasn't understand is that implemented or not. I think this point is important to implement - library will be more lightweight when external dependecies will be removed. GM> 2) cpp-netlib is hard C++ library, and I can't understand it. GM> The internal details can be quite obscure, but it is a stated GM> goal that using the library should not be hard to do. Admittedly, GM> the documentation is still incomplete but I am making an effort to GM> make it more accessible. If you have anything specific you want GM> addressed, please let me know and I will try to deal with it. GM> GM> I think that HTTP server (in sample) is serial (not a parallel) GM> and handles requests consistently. Hard worker requests can easy GM> get denial of service when incoming connection overfull connection GM> accept queue. I am right? Is the way to make parallel server, GM> which handles requess in different threads? GM> I think you're right. The HTTP server provided is very simple, GM> but eventually cpp-netlib ought to provide the building blocks for GM> more complex servers. I know Dean has more ideas on this, he GM> could let you know more about his plans. Usage is quite simple, if that described in documentation ;) But its much incomplete, and research for details is difficult. Alex Martynov |