mark ssl IO as such

This commit is contained in:
ps 2011-10-03 20:40:57 +00:00
والد a34bd2ac7b
کامیت 1cacba32c7
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده

مشاهده پرونده

@ -272,7 +272,7 @@ string Socket::readLine()
}
while(c!=10&&!isClosed());
LDEB("r>" + s.str());
LDEB("r" + string(ssl_enabled?"s":"") + ">" + s.str());
return s.str();
}
@ -316,7 +316,7 @@ void Socket::writeByte(char c)
void Socket::writeLine(string s)
{
LDEB("w>"+s);
LDEB("w" + string(ssl_enabled?"s":"") + ">" + s);
s+="\r\n";
writeBytes((void *)s.c_str(),s.length());