[PATCH] Fix bug 9412 - SMB2 server doesn't support recvfile.

Jeremy Allison jra at samba.org
Wed Apr 2 11:51:46 MDT 2014


On Wed, Apr 02, 2014 at 04:07:10PM +0800, Jones wrote:
>      2014-04-01 1:22 GMT+08:00 Jeremy Allison <jra at samba.org>:
> 
>           Try scoping out a loop around the RECVFILE
>           call to do what I mentioned earlier and
>           send it in as a proposed patch. If you don't
>           get time I might have a go at it :-).
>  
> Hello Jeremy,
> 
> Not sure if this attached file matches what you mentioned earlier,
> please kindly help comment,
> thanks.

Not quite right I'm afraid, you need to
catch a RECVFILE return of -1 within the loop.

Jeremy.


More information about the samba-technical mailing list