I'm pretty sure a conn is thread-specific. Once that thread exits, all conn
info structs are freed.

/s.

> Hi,
> I'm writing a module (in C) that I'd like to do the following when its
> routine is called:
> - set a long Content-Length header and return the header with some initial
> text
> - create a worker thread and pass to it the connection information
(Ns_Conn)
> - return from the routine
> - have the worker thread take over returning the rest of the response to
the
> browser over the Ns_Conn that was passed to it.
>
> I tried to do it, but it seems as if Ns_Conn is no longer valid after the
> primary routine (Ns_OpProc ) exits.
>
> Thanks,
> Ramin.
>
>

Reply via email to