mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-19 00:46:03 +01:00
network test socket buffer size fix for VS2010/Win7
This commit is contained in:
parent
e3231b346b
commit
b1161bdb1e
@ -94,6 +94,8 @@ void SocketStreamTest::testLargeStreamEcho()
|
||||
StreamSocket ss;
|
||||
ss.connect(SocketAddress("localhost", echoServer.port()));
|
||||
SocketStream str(ss);
|
||||
ss.setSendBufferSize(msgSize);
|
||||
ss.setReceiveBufferSize(msgSize);
|
||||
std::string payload(msgSize, 'x');
|
||||
str << payload;
|
||||
assert (str.good());
|
||||
|
@ -210,6 +210,8 @@ void WebSocketTest::testWebSocketLarge()
|
||||
HTTPRequest request(HTTPRequest::HTTP_GET, "/ws");
|
||||
HTTPResponse response;
|
||||
WebSocket ws(cs, request, response);
|
||||
ws.setSendBufferSize(msgSize);
|
||||
ws.setReceiveBufferSize(msgSize);
|
||||
std::string payload(msgSize, 'x');
|
||||
SocketStream sstr(ws);
|
||||
sstr << payload;
|
||||
|
@ -97,6 +97,15 @@ AAAIntroduction
|
||||
- fixed GH #212: JSONConfiguration was missing from the vs90 project(Patrice Tarabbia)
|
||||
- fixed GH #220: add qualifiers for FPEnvironment in C99 (Lucas Clemente)
|
||||
|
||||
!!Incompatible Changes and Possible Transition Issues
|
||||
|
||||
- Dynamic::Var: comparison of two empty objects now returns true
|
||||
- WinCE does not build in this release; this will be fixed in a later release
|
||||
- Please note that 1.5.x releases are development releases and not considered stable.
|
||||
Interfaces may change, and backwards compatibility with the stable 1.4 release
|
||||
series is not guaranteed. There may also be some rough edges.
|
||||
The next stable release incorporating 1.5 features will be 1.6.
|
||||
|
||||
|
||||
!!!Release 1.5.1
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user