Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APWeb shutsdown if user stops download of jpg through file browser #7

Open
rmackay9 opened this issue Sep 28, 2017 · 1 comment
Open

Comments

@rmackay9
Copy link

rmackay9 commented Sep 28, 2017

apweb shuts down if I do the following:

  • place a .jpg file on the filesystem
  • open the apweb file browser (http://10.0.1.128/filesystem.html) and click on the jpg file
  • on the browser press stop or back to abort the file download/viewing
  • the image appears but apweb shutsdown and any further attempts to use apweb fail.

By the way, if I restart apweb using, "sudo ./start_apweb.sh" then apweb works again and I see "hearbeat ok" written on the console but if I again click on on another jpg, the "heartbeat ok" messages stop and control is returned to me.

@rmackay9 rmackay9 changed the title APWeb shutsdown if user views large jpg through file browser APWeb shutsdown if user stops download of jpg through file browser Sep 28, 2017
@lordneeko
Copy link

Is this the section of code which should be preventing this?

// summarily ignore SIGPIPE; without this, if a download is

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants