- David Bau filed bug report #2026240 "CURL_READFUNC_PAUSE leads to buffer
authorDaniel Stenberg <daniel@haxx.se>
Sat, 26 Jul 2008 21:15:47 +0000 (21:15 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 26 Jul 2008 21:15:47 +0000 (21:15 +0000)
commita96784b98ebc60720514a788b87f66cd46abee62
treee1c09bfaa7c2006aaa6124ea37333f07466e3204
parente06944438a798812caca36de6a95e74cea66c70e
- David Bau filed bug report #2026240 "CURL_READFUNC_PAUSE leads to buffer
  overrun" (http://curl.haxx.se/bug/view.cgi?id=2026240) identifying two
  problems, and providing the fix for them:

  - CURL_READFUNC_PAUSE did in fact not pause the _sending_ of data that it is
    designed for but paused _receiving_ of data!

  - libcurl didn't internally set the read counter to zero when this return
    code was detected, which would potentially lead to junk getting sent to
    the server.
CHANGES
RELEASE-NOTES
lib/transfer.c