snapdrop
snapdrop copied to clipboard
Bug with Firefox while receiving file
I have fixed the bug with Firefox while receiving file. https://github.com/laukeng/snapdrop When Firefox receives files, if it loads the page befor the sender, the received packet type is Blob. If Firefox loads later than the sender, the received packet type becomes Arraybuffer.Other browsers don't have this problem,no matter who opens it first, the received packets are Arraybuffer type. I don't know why. Edit network.js,goto _onChunkReceived() Just modify it as follows: _onChunkReceived(chunk) { if(!(chunk.byteLength || chunk.size)) return;
Thanks a lot. Now it works for me with receiving on Firefox again.
الغاء الاشتراك
احصل على Outlook لـ iOShttps://aka.ms/o0ukef
من: Michael Rausch @.> تم الإرسال: Sunday, January 30, 2022 9:15:58 PM إلى: RobinLinus/snapdrop @.> نسخة: Subscribed @.***> الموضوع: Re: [RobinLinus/snapdrop] Bug with Firefox while receiving file (Issue #373)
Thanks a lot. Now it works for me with receiving on Firefox again.
— Reply to this email directly, view it on GitHubhttps://github.com/RobinLinus/snapdrop/issues/373#issuecomment-1025198953, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APYGGSIGMJZRJB2DM4W4STTUYV555ANCNFSM5INWIWLQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you are subscribed to this thread.Message ID: @.***>