--- parser3/src/main/pa_request.C 2003/11/20 17:07:44 1.259 +++ parser3/src/main/pa_request.C 2003/12/11 09:36:51 1.263 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char * const IDENT_REQUEST_C="$Date: 2003/11/20 17:07:44 $"; +static const char * const IDENT_REQUEST_C="$Date: 2003/12/11 09:36:51 $"; #include "pa_sapi.h" #include "pa_common.h" @@ -118,7 +118,7 @@ Request::Request(SAPI_Info& asapi_info, charsets(UTF8_charset, UTF8_charset, UTF8_charset), // default charsets main_class(VClassMAIN_create()), - form(*new VForm), + form(*new VForm(charsets, arequest_info)), mail(*new VMail), response(*new VResponse(arequest_info, charsets)), cookie(*new VCookie), @@ -131,6 +131,8 @@ Request::Request(SAPI_Info& asapi_info, // private mime types mime_types(0) { + pa_register_thread_request(*this); + // file_no=0 => unknown file_list+=String::Body("UNKNOWN"); file_list+=String::Body("-body of process-"); // pseudo_file_no__process @@ -308,9 +310,6 @@ gettimeofday(&mt[0],NULL); if(Table *table=element->get_table()) mime_types=table; - // filling form fields - form.fill_fields_and_tables(charsets, request_info); - // filling cookies cookie.fill_fields(request_info);