qrcp icon indicating copy to clipboard operation
qrcp copied to clipboard

Not working properly in some browsers

Open Curtion opened this issue 2 years ago • 4 comments

I'm opening this issue because:

  • [x] I have found a bug

  • [ ] I want to request a feature

  • [ ] I have a question

  • [ ] Other

  • My Go version is: (paste the output of go version and remember that qrcp requires at least version 1.8 of Go)

  • My GOPATH is set to: (paste the output of echo $GOPATH)

Some browsers will pop up a download box. At this point the waitgroup count will immediately become 0

The result is the same as #147 . Scan the QR code and the server will close.

Browsers E.g:

Edge on IOS Quark on Android

Curtion avatar Aug 07 '22 15:08 Curtion

Thanks for reporting. I will try to reproduce the issue on those two browsers. In the meantime, as a workaround, you can use the --keep-alive flag, which will leave the tool running.

Please let me know if that helps, thanks!

claudiodangelis avatar Aug 16 '22 11:08 claudiodangelis

Similarly, Brave on iOS behaves exactly the same

Kuchteq avatar May 11 '23 11:05 Kuchteq

Does "leaving the tool running" mean indefinitely or just until the command is broken via ctrl C?

rexendevar avatar Jul 26 '23 13:07 rexendevar

Hello, it will leave it running until CTRL C is pressed!

claudiodangelis avatar Jul 27 '23 11:07 claudiodangelis