[PATCH] (partial) tevent_req_poll() loops for ever....
boyang at samba.org
Sun May 17 02:55:59 GMT 2009
Volker Lendecke wrote:
> On Sun, May 17, 2009 at 02:26:51AM +0800, boyang wrote:
>>> Isn't it that we eventually end up in an smb request? What
>>> happens if we close the fd at the right place?
>>> What about the attached patch?
>> looks like it will work for name pipe and transport smbd. it won't work
>> with ncacn_ip_tcp and ncalrpc.
> Can't we code up something equivalent in
> rpc_transport_sock.c? Would the attached patch work from
> your point of view?
I think this should work. Thanks for pointing out the most efficient way
to handle this.
Bo Yang, Software Engineer, Suse Labs
Samba Team boyang at samba.org http://www.samba.org/
Suse Linux boyang at suse.de http://www.novell.com/
More information about the samba-technical