We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41267aa commit 15654d2Copy full SHA for 15654d2
src/server/vomsd.cc
@@ -841,7 +841,12 @@ void VOMSServer::Run()
841
sop->ssl = sock.ssl;
842
843
// GSOAP will handle this
844
- sop->fparse(sop);
+ // newer versions of gsoap don't call the http handlers (eg fget) in fparse
845
+ // fparse returns SOAP_STOP if any of the handlers were called instead of SOAP_OK (older versions)
846
+ // if the return value is SOAP_OK then no hander has been called (newer versions) and we call
847
+ // fget manually if it's a get request (SOAP_GET)
848
+ if(sop->fparse(sop) == SOAP_OK && sop->status == SOAP_GET)
849
+ sop->fget(sop);
850
851
sock.Close();
852
} else {
0 commit comments