qt6-bb10/src/network/socket
Oliver Wolff dcf7da7c93 winrt: Do not lose initial data for TCP connections
When a client connects and sends data immediately it was possible that
initial data was lost as the state was set too late. If the callback was
called before the state was set the socket engine just discarded the
data. So the state has to be set before the callback is registered.

The new implementation needs a list of pending read operations. It can
happen that the "readyRead" callback is triggered directly while
"put_Completed" is called. The callback reassigns readOp which causes a
"function not implemented" exception when it jumps back to the
"put_Completed" call in "initialize"

Task-number: QTBUG-55889
Change-Id: I5f52e3377b6176f1f90f227ac0bf52b60ee2d95a
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
2016-10-14 05:53:06 +00:00
..
qabstractsocket.cpp Merge remote-tracking branch 'origin/5.7' into 5.8 2016-08-29 15:30:17 +02:00
qabstractsocket.h Introduce SCTP sockets support 2016-07-27 06:37:24 +00:00
qabstractsocket_p.h Introduce SCTP sockets support 2016-07-27 06:37:24 +00:00
qabstractsocketengine.cpp Integrate network sockets into the multichannel infrastructure 2016-03-01 15:35:36 +00:00
qabstractsocketengine_p.h Introduce SCTP sockets support 2016-07-27 06:37:24 +00:00
qhttpsocketengine.cpp Introduce SCTP sockets support 2016-07-27 06:37:24 +00:00
qhttpsocketengine_p.h Introduce SCTP sockets support 2016-07-27 06:37:24 +00:00
qlocalserver.cpp Merge remote-tracking branch 'origin/5.6' into 5.7 2016-08-13 01:05:02 +02:00
qlocalserver.h Add qtnetworkglobal.h and qtnetworkglobal_p.h 2016-07-03 07:56:17 +00:00
qlocalserver_p.h Add qtnetworkglobal.h and qtnetworkglobal_p.h 2016-07-03 07:56:17 +00:00
qlocalserver_tcp.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qlocalserver_unix.cpp Clean up new poll code slightly 2016-02-04 22:34:38 +00:00
qlocalserver_win.cpp Merge remote-tracking branch 'origin/5.6' into 5.7 2016-03-21 09:02:57 +01:00
qlocalsocket.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qlocalsocket.h Add qtnetworkglobal.h and qtnetworkglobal_p.h 2016-07-03 07:56:17 +00:00
qlocalsocket_p.h Add qtnetworkglobal.h and qtnetworkglobal_p.h 2016-07-03 07:56:17 +00:00
qlocalsocket_tcp.cpp Merge remote-tracking branch 'origin/5.6' into 5.7 2016-08-05 08:58:48 +02:00
qlocalsocket_unix.cpp QLocalSocket: Use poll instead of select on Unix 2016-02-04 22:35:19 +00:00
qlocalsocket_win.cpp QLocalSocket/Win: Use QIODevice's internal write buffer 2016-05-17 11:01:39 +00:00
qnativesocketengine.cpp Introduce SCTP sockets support 2016-07-27 06:37:24 +00:00
qnativesocketengine_p.h Standardize some "We mean it" comments 2016-08-17 19:51:40 +00:00
qnativesocketengine_unix.cpp Merge remote-tracking branch 'origin/5.7' into dev 2016-08-16 07:58:32 +02:00
qnativesocketengine_win.cpp Support C++17 fallthrough attribute 2016-08-19 18:38:53 +00:00
qnativesocketengine_winrt.cpp winrt: Do not lose initial data for TCP connections 2016-10-14 05:53:06 +00:00
qnativesocketengine_winrt_p.h winrt: Do not lose initial data for TCP connections 2016-10-14 05:53:06 +00:00
qnet_unix_p.h Add qtnetworkglobal.h and qtnetworkglobal_p.h 2016-07-03 07:56:17 +00:00
qsctpserver.cpp Fix grammar issues in SCTP documentation 2016-08-02 10:03:45 +00:00
qsctpserver.h Introduce SCTP sockets support 2016-07-27 06:37:24 +00:00
qsctpserver_p.h Introduce SCTP sockets support 2016-07-27 06:37:24 +00:00
qsctpsocket.cpp Fix qdoc warnings 2016-08-17 13:18:26 +00:00
qsctpsocket.h Introduce SCTP sockets support 2016-07-27 06:37:24 +00:00
qsctpsocket_p.h Introduce SCTP sockets support 2016-07-27 06:37:24 +00:00
qsocks5socketengine.cpp Support C++17 fallthrough attribute 2016-08-19 18:38:53 +00:00
qsocks5socketengine_p.h Introduce SCTP sockets support 2016-07-27 06:37:24 +00:00
qtcpserver.cpp Introduce SCTP sockets support 2016-07-27 06:37:24 +00:00
qtcpserver.h Introduce SCTP sockets support 2016-07-27 06:37:24 +00:00
qtcpserver_p.h Standardize some "We mean it" comments 2016-08-17 19:51:40 +00:00
qtcpsocket.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qtcpsocket.h Add qtnetworkglobal.h and qtnetworkglobal_p.h 2016-07-03 07:56:17 +00:00
qtcpsocket_p.h Standardize some "We mean it" comments 2016-08-17 19:51:40 +00:00
qudpsocket.cpp Introduce SCTP sockets support 2016-07-27 06:37:24 +00:00
qudpsocket.h Add qtnetworkglobal.h and qtnetworkglobal_p.h 2016-07-03 07:56:17 +00:00
socket.pri Use qtConfig throughout in qtbase 2016-08-19 04:28:05 +00:00