diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-09-12 12:02:12 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-09-12 12:02:12 +0000 |
commit | 2cb893575d41c0878c9490d56ab2fefcf3e1b4c4 (patch) | |
tree | 37bf96d2e6b00deb6fe3d8aeb0206cdfee355f21 /lib/urldata.h | |
parent | 63f1f580770a43ecaaffc7fc2601a638dd12a43b (diff) |
moved a 100K buffer from the transfer loop to the urlstate struct, as it
seriously decreases the amount of used stack space
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index b8acc5490..e585118c7 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -439,6 +439,8 @@ struct UrlState { struct curl_ssl_session *session; /* array of 'numsessions' size */ long sessionage; /* number of the most recent session */ + + char scratch[BUFSIZE*2]; /* huge buffer when doing upload CRLF replacing */ }; |