mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-23 00:07:59 +02:00
porting rev.1998 from 1.4.4 (except ODBC, which will be done later, and SQLite, which was ported in rev.1999)
This commit is contained in:
@@ -90,7 +90,7 @@ std::ostream& HTTPServerResponseImpl::send()
|
||||
{
|
||||
poco_assert (!_pStream);
|
||||
|
||||
if (_pRequest && _pRequest->getMethod() == HTTPRequest::HTTP_HEAD ||
|
||||
if ((_pRequest && _pRequest->getMethod() == HTTPRequest::HTTP_HEAD) ||
|
||||
getStatus() < 200 ||
|
||||
getStatus() == HTTPResponse::HTTP_NO_CONTENT ||
|
||||
getStatus() == HTTPResponse::HTTP_NOT_MODIFIED)
|
||||
|
@@ -222,7 +222,7 @@ void WebSocketImpl::connect(const SocketAddress& address, const Poco::Timespan&
|
||||
}
|
||||
|
||||
|
||||
void WebSocketImpl::connectNB(const SocketAddress& address, const Poco::Timespan& timeout)
|
||||
void WebSocketImpl::connectNB(const SocketAddress& address)
|
||||
{
|
||||
throw Poco::InvalidAccessException("Cannot connectNB() a WebSocketImpl");
|
||||
}
|
||||
|
Reference in New Issue
Block a user