Diff for /parser3/src/main/pa_request.C between versions 1.198 and 1.200

version 1.198, 2002/04/15 06:46:00 version 1.200, 2002/04/16 14:41:39
Line 313  t[9]-t[3] Line 313  t[9]-t[3]
                         const String *problem_source=e.problem_source();                          const String *problem_source=e.problem_source();
                         if(problem_source && problem_source->size())                          if(problem_source && problem_source->size())
                                 SAPI::log(pool(),                                  SAPI::log(pool(),
                                           "%s: "
 #ifndef NO_STRING_ORIGIN  #ifndef NO_STRING_ORIGIN
                                         ORIGIN_FILE_LINE_FORMAT": "                                          ORIGIN_FILE_LINE_FORMAT": "
 #endif  #endif
                                         "'%s' %s [%s]",                                          "'%s' %s [%s]",
                                           info.uri,
 #ifndef NO_STRING_ORIGIN  #ifndef NO_STRING_ORIGIN
                                         problem_source->origin().file?problem_source->origin().file:"global",                                          problem_source->origin().file?problem_source->origin().file:"global",
                                         problem_source->origin().line,                                          problem_source->origin().line,
Line 327  t[9]-t[3] Line 329  t[9]-t[3]
                                 );                                  );
                         else                          else
                                 SAPI::log(pool(),                                  SAPI::log(pool(),
                                           "%s: "
                                         "%s [%s]",                                          "%s [%s]",
                                           info.uri,
                                         e.comment(),                                          e.comment(),
                                         e.type()?e.type():"-"                                          e.type()?e.type():"-"
                                 );                                  );
Line 559  void Request::output_result(const VFile& Line 563  void Request::output_result(const VFile&
         );          );
   
         // prepare header: content-length          // prepare header: content-length
         if(client_content_length) { // useful for redirecting [header "location: http://..."]          char content_length_cstr[MAX_NUMBER];
                 char content_length_cstr[MAX_NUMBER];          snprintf(content_length_cstr, MAX_NUMBER, "%u", client_content_length);
                 snprintf(content_length_cstr, MAX_NUMBER, "%u", client_content_length);          SAPI::add_header_attribute(pool(), "content-length", content_length_cstr);
                 SAPI::add_header_attribute(pool(), "content-length", content_length_cstr);  
         }  
   
         // send header          // send header
         SAPI::send_header(pool());          SAPI::send_header(pool());

Removed from v.1.198  
changed lines
  Added in v.1.200


E-mail: