Changes between Version 9 and Version 10 of soc/2007/cgi
- Timestamp:
- May 29, 2007, 3:17:20 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
soc/2007/cgi
v9 v10 123 123 * The active requests queue should hold ```boost::weak_ptr<basic_request<> >```s. That means that the request will be properly destroyed unless it's on the pending requests queue or actually being handled by user code. ''Note: to keep it alive during asynchronous requests, the user should be using a function object with a ```boost::shared_ptr<request_base>``` that they pass to the Handler given to the async request.'' 124 124 * The standard CGI sub-library should be header-only. Ideally the other parts (eg. fcgi_service) will be either header-only or compilable, with compilable as the default: a multi-process FastCGI server pool is the most common use, so using a shared '[MVC-]controller' library is likely to be quite effective. 125 * Is there a need for a ```boost::lexical_cast<>``` wrapper? S uch as```cgi::param_as<char,cgi::GET>("blah")``` ''or'' ```cgi::get_as<int,cgi::POST>("user_id")```. Consider:125 * Is there a need for a ```boost::lexical_cast<>``` wrapper? Something like ```cgi::param_as<char,cgi::GET>("blah")``` ''or'' ```cgi::get_as<int,cgi::POST>("user_id")```. Consider: 126 126 {{{ 127 127 #!cpp