[Cppcms-users] Anybody uses cppcms::http::http_response io_mode raw or asynchronous_raw?
Brought to you by:
artyom-beilis
From: Artyom B. <art...@gm...> - 2020-09-01 20:17:33
|
Hello Dear CppCMS users Have anybody used raw or asynchronous_raw with http_response? I'm doing some changes for HTTP/1.1+websockets+performance improvement support. The original CppCMS design had an underlying assumption that the basic communication protocol is derivative of CGI protocols - FastCGI, SCGI. So when http web server was added it actually parsed CGI output headers and converted them to HTTP ones. Thus use of raw/asynchronos_raw mode when the user writes his own CGI headers instead of generating them via http_response API was reasonable. Today I want to make an HTTP protocol 1st class citizen in CppCMS - which means that I don't silently assume that all IO is CGI based. It is actually a requirement for extensions like WebSockets and other things that can't be passed via *CGI like protocols. Removing "raw" *CGI I/O would simplify the task. I can implement it via an intermediate CGI parser but it isn't the most trivial task. So I need to understand if anybody actually uses this feature or I can remove it in CppCMS 2.0.0? Artyom Beilis |