[Mono-dev] Bug in Socket.BeginSendFile

Rodrigo Kumpera kumpera at gmail.com
Mon Feb 11 22:46:29 UTC 2013


Please file a bug report or do a pull request, this way this fix won't be
lost.

Thanks for looking into this.


On Sat, Feb 9, 2013 at 2:02 AM, Torello Querci <tquerci at gmail.com> wrote:

> Hi,
>
> 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 -
> Datatype:System.Runtime.Remoting.Messaging.AsyncResult
> 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
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20130211/eaef801a/attachment.html>


More information about the Mono-devel-list mailing list