GH #1050 Net: fix gcc -Wshadow warnings

This commit is contained in:
Miklos Vajna
2015-12-28 09:29:26 +01:00
parent d69878cdd5
commit 12d0699b5b
48 changed files with 573 additions and 573 deletions

View File

@@ -21,14 +21,14 @@ namespace Poco {
namespace Net {
HTTPServerSession::HTTPServerSession(const StreamSocket& socket, HTTPServerParams::Ptr pParams):
HTTPSession(socket, pParams->getKeepAlive()),
HTTPServerSession::HTTPServerSession(const StreamSocket& rSocket, HTTPServerParams::Ptr pParams):
HTTPSession(rSocket, pParams->getKeepAlive()),
_firstRequest(true),
_keepAliveTimeout(pParams->getKeepAliveTimeout()),
_maxKeepAliveRequests(pParams->getMaxKeepAliveRequests())
{
setTimeout(pParams->getTimeout());
this->socket().setReceiveTimeout(pParams->getTimeout());
socket().setReceiveTimeout(pParams->getTimeout());
}