All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Curb Ruby libcurl Bindings: Changelog for Versions 1.3.3-1.3.5

By

taf2

9mo ago· 6 min readenCode

Summary

This is a changelog entry for the Curb library (version 1.3.3-1.3.5), which provides Ruby bindings for libcurl. The changelog documents several bug fixes including: skipping NTLM-specific assertions when libcurl is built without NTLM support, fixing Curl::Easy#put_data= for non-String payloads, guarding Curl::Easy#clone against allocation failures, and guarding Curl::Multi lifecycle during active perform calls to prevent crashes.

Key quotes

· 4 pulled
Skip the NTLM-specific username/password assertion when libcurl was built without NTLM support so newer libcurl builds do not fail by falling back to Basic auth.
Fix Curl::Easy#put_data= with non-String to_s payloads so upload length calculation does not read non-String objects as Ruby strings.
Guard Curl::Easy#clone against curl_easy_duphandle allocation failure so clone raises NoMemError instead of dereferencing a NULL handle.
Guard Curl::Multi lifecycle during active perform calls so closing a multi handle from callbacks or perform blocks raises instead of freeing an i
Snippet from the RSS feed
Ruby bindings for libcurl. Contribute to taf2/curb development by creating an account on GitHub.

You might also wanna read