added: generating Content-Length header when text answer is sent to the client
added: now we are able to use the html filter for the whole out_streams (when ajax is used the output is filtered too) splitted FilterCompressSend() function -- first we are making the filtering (after filtering we know the size of the content to send) added: to Compress: Compressing(const char * source, size_t source_len, BinaryPage & out_stream, int encoding); changed: some refactoring in App git-svn-id: svn://ttmath.org/publicrep/winix/trunk@942 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -40,9 +40,13 @@ void Request::ClearOutputStreams()
|
||||
len = 16;
|
||||
|
||||
out_streams.resize(len);
|
||||
use_html_filter.resize(len);
|
||||
|
||||
for(size_t i=0 ; i<out_streams.size() ; ++i)
|
||||
{
|
||||
out_streams[i].Clear();
|
||||
use_html_filter[i] = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -65,7 +69,6 @@ void Request::Clear()
|
||||
out_cookies.Clear();
|
||||
|
||||
page_generated = false;
|
||||
use_html_filter = true;
|
||||
|
||||
env_request_method = &char_empty;
|
||||
env_request_uri = &char_empty;
|
||||
|
Reference in New Issue
Block a user