This lets you use your own pollset (or an entirely different polling
system) to power Serf. Think about combining the Event Loops of
Existing systems like Apache HTTPD's Event MPM, or even things like
GLib. Before this, you would almost always want serf's context to run
in a separate thread, or something silly like that. This should let
users pick their event loop, and then tell serf when its sockets are
ready.
The patch should maintain complete backwards compat with existing
API/users, since if you call the old context_create, serf creates the
same pollset as it used to.
Needs formating, function renaming, and doxygen cleanups.... But I
think its pretty close to what we would want a final API function
signatures to look like.
thoughts?
Thanks,
-Paul
Looks good. +1 to commit. -- justin