(like pthread_key_create) for local thread storage,
but how can I determine when the thread is created and joined? Is there any
events or callbacks at every worker thread's start and end where I could hook
on to open and close my DB connections?
Thanks in advance.
Yana A. Kireyonok aka Iron Bug
--
Greetings.
I use libmicrohttpd in my project and I found one bug in a very specific
situation with chunked messages.
The scheme I use is keep-alive connection for transferring some files (chunked
content, HTTP/1.1 pipelining). When transfer is over, connection is closed by
client request.
I c
libmicrohttpd-ow...@gnu.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of libmicrohttpd digest..."
>
>
> Today's Topics:
>
>1. Problem with HTTP/1.1 chunked packets when connection is
> about
> For large files you should use
> MHD_create_response_from_fd_at_offset64().
>
> That will do the right thing.
>
Alas, in my case the 'files' are not something like FS files or system objects
exactly, they're blobs in DB, really. And I read chunks from DB blobs (this is
possible for postgre