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