https://bugs.internet2.edu/jira/browse/CPPXT-27
authorcantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Tue, 28 Oct 2008 20:50:28 +0000 (20:50 +0000)
committercantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Tue, 28 Oct 2008 20:50:28 +0000 (20:50 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/branches/REL_2@2903 cb58f699-b61c-0410-a6fe-9272a202ed29

shibsp/metadata/DynamicMetadataProvider.cpp

index 42545a3..ba0cee3 100644 (file)
@@ -239,9 +239,8 @@ saml2md::EntityDescriptor* DynamicMetadataProvider::resolve(const saml2md::Metad
     }
 
     try {
-        // Use an empty stream to trigger a body-less "GET" operation.
-        istringstream dummy;
-        transport->send(dummy);
+        // Use a NULL stream to trigger a body-less "GET" operation.
+        transport->send();
         istream& msg = transport->receive();
 
         DOMDocument* doc=NULL;