version 1.48, 2002/04/17 18:17:46
|
version 1.49, 2002/04/22 12:07:48
|
|
|
// | // |
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
|
#include <Pegasus/Common/Config.h> |
#include <cstdlib> | #include <cstdlib> |
#include <cstdio> | #include <cstdio> |
#include "Constants.h" | #include "Constants.h" |
|
|
#include "XmlWriter.h" | #include "XmlWriter.h" |
#include "XmlParser.h" | #include "XmlParser.h" |
#include "Tracer.h" | #include "Tracer.h" |
|
#include <Pegasus/Common/StatisticalData.h> |
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
|
|
char nn[] = { '0' + (rand() % 10), '0' + (rand() % 10), '\0' }; | char nn[] = { '0' + (rand() % 10), '0' + (rand() % 10), '\0' }; |
| |
out << "HTTP/1.1 " HTTP_STATUS_OK "\r\n"; | out << "HTTP/1.1 " HTTP_STATUS_OK "\r\n"; |
|
STAT_SERVERTIME |
out << "Content-Type: application/xml; charset=\"utf-8\"\r\n"; | out << "Content-Type: application/xml; charset=\"utf-8\"\r\n"; |
out << "Content-Length: " << contentLength << "\r\n"; | out << "Content-Length: " << contentLength << "\r\n"; |
out << "Ext:\r\n"; | out << "Ext:\r\n"; |