Skip to content

Commit

Permalink
Merge pull request #279 from jniebuhr/master
Browse files Browse the repository at this point in the history
Allow setting of CURLOPT_FORBID_REUSE
  • Loading branch information
taf2 committed Jan 20, 2016
2 parents 935cfd5 + 2bd0e46 commit 4a2183e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ext/curb_easy.c
Original file line number Diff line number Diff line change
Expand Up @@ -3239,6 +3239,9 @@ static VALUE ruby_curl_easy_set_opt(VALUE self, VALUE opt, VALUE val) {
case CURLOPT_SSL_CIPHER_LIST: {
curl_easy_setopt(rbce->curl, CURLOPT_SSL_CIPHER_LIST, StringValueCStr(val));
} break;
case CURLOPT_FORBID_REUSE: {
curl_easy_setopt(rbce->curl, CURLOPT_FORBID_REUSE, FIX2INT(val));
} break;
#if HAVE_CURLOPT_GSSAPI_DELEGATION
case CURLOPT_GSSAPI_DELEGATION: {
curl_easy_setopt(rbce->curl, CURLOPT_GSSAPI_DELEGATION, FIX2LONG(val));
Expand Down

0 comments on commit 4a2183e

Please sign in to comment.