HttpRequest::HttpRequest(const HttpRequestMethod& aMethod, protocol_t aProtocol, const char *aUrlpath) : HttpMsg(hoRequest)
{
+ static unsigned int id = 1;
+ debugs(93,7, HERE << "constructed, this=" << this << " id=" << ++id);
init();
initHTTP(aMethod, aProtocol, aUrlpath);
}
HttpRequest::~HttpRequest()
{
clean();
+ debugs(93,7, HERE << "destructed, this=" << this);
}
void
AsyncJob::AsyncJob(const char *aTypeName): typeName(aTypeName), inCall(NULL), id(++TheLastId)
{
- debugs(93,3, "AsyncJob of type " << typeName << " constructed, this=" << this <<
- " [async" << id << ']');
+ debugs(93,5, "AsyncJob constructed, this=" << this <<
+ " type=" << typeName << " [job" << id << ']');
}
AsyncJob::~AsyncJob()
{
+ debugs(93,5, "AsyncJob destructed, this=" << this <<
+ " type=" << typeName << " [job" << id << ']');
}
void AsyncJob::start()