cygrunsrv + sshd + rsync = 20 times too slow -- throttled?

Ken Brown kbrown@cornell.edu
Tue Sep 21 13:31:45 GMT 2021


On 9/21/2021 4:30 AM, Takashi Yano wrote:
> On Mon, 20 Sep 2021 17:39:54 -0400
> Ken Brown wrote:
>> I'll push it tomorrow unless you find something that needs to be changed before
>> then.
> 
> * Add name check when cached information is used.
> * Confirm Name.Buffer returned by NtQueryObject() is not NULL.
> * Add error check for HeapAlloc().

Still looks good.  One small question: Is there a reason you cache the pipe 
name's pid and id but not the key?  Wouldn't you get a more complete name check 
by also using the key?

Ken


More information about the Cygwin-developers mailing list