mirror of
https://github.com/3lswear/webserv.git
synced 2025-10-28 21:07:59 +03:00
debug: debug output for constructors
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
Client::Client()
|
||||
{
|
||||
DBOUT << "Client constructor " << this << ENDL;
|
||||
allRead = false;
|
||||
done = false;
|
||||
this->_fd = -1;
|
||||
@@ -12,6 +13,7 @@ Client::Client()
|
||||
|
||||
Client::Client(char *str)
|
||||
{
|
||||
DBOUT << "Client constructor " << this << ENDL;
|
||||
allRead = false;
|
||||
done = false;
|
||||
this->_fd = -1;
|
||||
@@ -22,6 +24,7 @@ Client::Client(char *str)
|
||||
|
||||
Client::Client(char *str, ServerConfig *config)
|
||||
{
|
||||
DBOUT << "Client constructor " << this << ENDL;
|
||||
allRead = false;
|
||||
done = false;
|
||||
this->_fd = -1;
|
||||
@@ -239,5 +242,5 @@ void Client::clear(void)
|
||||
|
||||
Client::~Client()
|
||||
{
|
||||
DBOUT << "client destructor called" << ENDL;
|
||||
DBOUT << "client destructor called " << this << ENDL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user