Skip to content

petbrain/pw-curl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PetWay-based CURL wrapper

This is a C version of my original Python code.

It was too painful to make progress with PyCurl. It's a long story, but here is the result.

Original python code was 410 lines long. This C version has 375 without header file. Not a big difference, but without PetWay library it would be thousands of lines, I presume. Not mentioning spooky amount of bugs and other fleas.

fetch.c is an example how to use this wrapper in particular and PetWay library in general. It's a simple downloader that can fetch URLs in parallel.

pw_http_util.c contains header parsing and other helper routines.

About

PetWay CURL wrapper

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages