Commit a44a8cef authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Cris Bailiff's 1.1.4 changes: Fix case where curl_slists such as 'HTTPHEADERS'

need to be re-set over persistant requests
parent 97ad165a
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
Revision history for Perl extension Curl::easy.
Revision history for Perl extension Curl::easy.
Check out the file README for more info.
Check out the file README for more info.


1.1.4  Fri Apr 20 2001: - Cris Bailiff <c.bailiff@devsecure.com>
    - Fix case where curl_slists such as 'HTTPHEADERS' need to
      be re-set over persistant requests

1.1.3  Wed Apr 18 2001: - Cris Bailiff <c.bailiff@devsecure.com>
1.1.3  Wed Apr 18 2001: - Cris Bailiff <c.bailiff@devsecure.com>
    - Change/shorten module function names: Curl::easy::curl_easy_setopt
    - Change/shorten module function names: Curl::easy::curl_easy_setopt
      becomes Curl::easy::setopt etc. This requires minor changes to existing
      becomes Curl::easy::setopt etc. This requires minor changes to existing
+1 −1
Original line number Original line Diff line number Diff line
@@ -95,7 +95,7 @@ CURLINFO_REQUEST_SIZE
USE_INTERNAL_VARS
USE_INTERNAL_VARS
);
);


$VERSION = '1.1.3';
$VERSION = '1.1.4';


$Curl::easy::headers = "";
$Curl::easy::headers = "";
$Curl::easy::content = "";
$Curl::easy::content = "";
+5 −0
Original line number Original line Diff line number Diff line
@@ -616,6 +616,11 @@ CODE:
	case CURLOPT_POSTQUOTE:
	case CURLOPT_POSTQUOTE:
	    slist = &postquote; break;
	    slist = &postquote; break;
	}
	}
        /* free any previous list */
        if (*slist) {
            curl_slist_free_all(*slist);
            *slist=NULL;
        }                                                                       
	/* ...store the values into it... */
	/* ...store the values into it... */
	for (;;) {
	for (;;) {
	    SV *sv = av_shift(array);
	    SV *sv = av_shift(array);