[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #56828] urlread/urlwrite/webread functions are
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #56828] urlread/urlwrite/webread functions are not interruptible with Ctrl+C |
Date: |
Thu, 29 Aug 2019 20:52:08 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36 |
URL:
<https://savannah.gnu.org/bugs/?56828>
Summary: urlread/urlwrite/webread functions are not
interruptible with Ctrl+C
Project: GNU Octave
Submitted by: mtmiller
Submitted on: Thu 29 Aug 2019 05:52:06 PM PDT
Category: Octave Function
Severity: 1 - Wish
Priority: 5 - Normal
Item Group: Feature Request
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
If a server responds slowly to a HTTP request, the function can't be
interrupted in Octave, and it hangs until the request times out or the server
eventually responds. The only way to unblock it is to kill Octave with
SIGKILL.
To simulate this, I used the "slowwly" web service to introduce a fixed delay.
The call hangs and cannot be interrupted until the server responds. Examples
with a 10 second delay:
url_real = "http://www.gnu.org/";
url = ["http://slowwly.robertomurray.co.uk/delay/10000/url/", url_real];
out = urlread (url);
## OR
out = webread (url);
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56828>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #56828] urlread/urlwrite/webread functions are not interruptible with Ctrl+C,
Mike Miller <=