biasedbit / BBHTTP

A modern HTTP client framework for iOS/OSX built on top of libcurl.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Keep alive support?

dbainbridge opened this issue · comments

Can you comment on support for keep-alive HTTP connections on OS X using BBHTTP? From my limited testing it appears NSURLConnection on OS X opens and closes a connection on every call. I know libcurl supports keep alive so I was wondering if this ability is accessible in BBHTTP?

BBHTTP will use keep-alive unless otherwise specified. Connections will remain open and will be reused on subsequent requests.

I believe NSURLConnection also respects the keep-alive behavior.