Skip to content

Commit

Permalink
Add CURLOPT_FORBID_REUSE to the allowed options for setopt
Browse files Browse the repository at this point in the history
  • Loading branch information
jniebuhr committed Jan 19, 2016
1 parent 032339e commit 5526edc
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 @@ -3236,6 +3236,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 5526edc

Please sign in to comment.