projects
/
shibboleth
/
cpp-opensaml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d0553a
)
Dump inflated data on one-pass operation.
author
Scott Cantor
<cantor.2@osu.edu>
Fri, 3 Nov 2006 23:15:36 +0000
(23:15 +0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Fri, 3 Nov 2006 23:15:36 +0000
(23:15 +0000)
saml/saml2/binding/impl/SAML2Redirect.cpp
patch
|
blob
|
history
diff --git
a/saml/saml2/binding/impl/SAML2Redirect.cpp
b/saml/saml2/binding/impl/SAML2Redirect.cpp
index
b90a89b
..
d221bf3
100644
(file)
--- a/
saml/saml2/binding/impl/SAML2Redirect.cpp
+++ b/
saml/saml2/binding/impl/SAML2Redirect.cpp
@@
-78,6
+78,10
@@
unsigned int opensaml::saml2p::inflate(char* in, unsigned int in_len, ostream& o
ret = inflate(&z, Z_SYNC_FLUSH);
switch (ret) {
case Z_STREAM_END:
+ ret = z.next_out - buf;
+ z.next_out = buf;
+ while (ret--)
+ out << *(z.next_out++);
goto done;
case Z_OK: /* avail_out should be 0 now. Time to dump the buffer. */