[cpp-sp] branch master updated: SSPCPP-829 - fastcgi support doesn't build

Scott Cantor cantor.2 at osu.edu
Mon Jul 23 09:34:46 EDT 2018


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch master
in repository cpp-sp.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=85e35dbcf588804412b242d9bb485472321b23f9

The following commit(s) were added to refs/heads/master by this push:
       new  85e35db   SSPCPP-829 - fastcgi support doesn't build
85e35db is described below

commit 85e35dbcf588804412b242d9bb485472321b23f9
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Jul 23 09:34:09 2018 -0400

    SSPCPP-829 - fastcgi support doesn't build
    
    https://issues.shibboleth.net/jira/browse/SSPCPP-829
---
 fastcgi/shibresponder.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/fastcgi/shibresponder.cpp b/fastcgi/shibresponder.cpp
index 963d4c6..65e4600 100644
--- a/fastcgi/shibresponder.cpp
+++ b/fastcgi/shibresponder.cpp
@@ -66,7 +66,7 @@ class ShibTargetFCGI : public AbstractSPRequest
 {
     FCGX_Request* m_req;
     const char* m_body;
-    multimap<string,string> m_headers;
+    multimap<string,string> m_response_headers;
     int m_port;
     string m_scheme,m_hostname;
 
@@ -169,7 +169,7 @@ public:
 
     long sendResponse(istream& in, long status) {
         string hdr = string("Connection: close\r\n");
-        for (multimap<string,string>::const_iterator i=m_headers.begin(); i!=m_headers.end(); ++i)
+        for (multimap<string,string>::const_iterator i=m_response_headers.begin(); i!=m_response_headers.end(); ++i)
             hdr += i->first + ": " + i->second + "\r\n";
 
         const char* codestr="Status: 200 OK";
@@ -196,7 +196,7 @@ public:
           "Content-Length: 40\r\n"
           "Expires: Wed, 01 Jan 1997 12:00:00 GMT\r\n"
           "Cache-Control: private,no-store,no-cache,max-age=0\r\n";
-        for (multimap<string,string>::const_iterator i=m_headers.begin(); i!=m_headers.end(); ++i)
+        for (multimap<string,string>::const_iterator i=m_response_headers.begin(); i!=m_response_headers.end(); ++i)
             hdr += i->first + ": " + i->second + "\r\n";
         hdr += "\r\n";
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list