[Mono-dev] Bug in Socket.BeginSendFile
tquerci at gmail.com
Tue Feb 12 10:42:50 UTC 2013
Bug 10233 filled.
The patch is in attach with the code to get the exception.
2013/2/11 Rodrigo Kumpera <kumpera at gmail.com>
> Please file a bug report or do a pull request, this way this fix won't be
> Thanks for looking into this.
> On Sat, Feb 9, 2013 at 2:02 AM, Torello Querci <tquerci at gmail.com> wrote:
>> working on Socket class I find that BeginSendFile method is broken.
>> Main.cs in attach is a test case.
>> On unpatched mono version I get
>> Unhandled Exception:
>> System.ArgumentException: Invalid IAsyncResult -
>> Parameter name: syncResult
>> at System.Net.Sockets.Socket.EndSendFile (IAsyncResult asyncResult)
>> [0x00000] in <filename unknown>:0
>> at test_sendfile.MainClass.FileSendCallback (IAsyncResult ar) [0x00000]
>> in <filename unknown>:0
>> Since I need to have async send file working I try to fix it instead
>> realize all on my code.
>> Patch is included in this mail.
>> Please can anyone give a look?
>> Need I to fill a bug report?
>> Best Regards
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list