Jan Engelhardt
04ddc989a9
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gsoap?expand=0&rev=82
25 lines
818 B
Diff
25 lines
818 B
Diff
From: Jan Engelhardt <jengelh@inai.de>
|
|
Date: 2017-01-24 10:28:48.315550326 +0100
|
|
|
|
Undo change introduced in 2.8.41 which closes connections
|
|
at the time of accept(2).
|
|
|
|
References: https://sourceforge.net/p/gsoap2/bugs/1095/
|
|
---
|
|
gsoap/stdsoap2.cpp | 2 --
|
|
1 file changed, 2 deletions(-)
|
|
|
|
Index: gsoap-2.8.41/gsoap/stdsoap2.cpp
|
|
===================================================================
|
|
--- gsoap-2.8.41.orig/gsoap/stdsoap2.cpp
|
|
+++ gsoap-2.8.41/gsoap/stdsoap2.cpp
|
|
@@ -5798,8 +5798,6 @@ soap_accept(struct soap *soap)
|
|
#endif
|
|
soap->error = SOAP_OK;
|
|
memset((void*)&soap->peer, 0, sizeof(soap->peer));
|
|
- if (soap_valid_socket(soap->socket) && !(soap->omode & SOAP_IO_UDP))
|
|
- soap->fclosesocket(soap, soap->socket);
|
|
soap->socket = SOAP_INVALID_SOCKET;
|
|
soap->errmode = 0;
|
|
soap->keep_alive = 0;
|