https://issues.shibboleth.net/jira/browse/CPPXT-57
[shibboleth/cpp-xmltooling.git] / xmltooling / util / CurlURLInputStream.h
index 3adf169..0a7ee47 100644 (file)
@@ -130,9 +130,10 @@ namespace xmltooling {
 
         // Overflow buffer for when curl writes more data to us
         // than we've asked for.
-        XMLByte             fBuffer[CURL_MAX_WRITE_SIZE];
+        XMLByte*            fBuffer;
         XMLByte*            fBufferHeadPtr;
         XMLByte*            fBufferTailPtr;
+        size_t              fBufferSize;
 
         XMLCh*              fContentType;
         long                fStatusCode;