[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #64826] webread timeout option not respected
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #64826] webread timeout option not respected |
Date: |
Sat, 28 Oct 2023 05:59:45 -0400 (EDT) |
Update of bug #64826 (project octave):
Category: None => Octave Function
Item Group: None => Incorrect Result
Status: None => Patch Submitted
Operating System: GNU/Linux => Any
_______________________________________________________
Follow-up Comment #1:
The example code given in comment #0 fails with the following error for me:
>> webread('https://www.theworldsworstwebsiteever.com', 'Timeout', 1) ;
error: webwrite: KEYS and VALUES must be strings
error: called from
webread at line 96 column 7
I can reproduce the issue with the following command though:
options = weboptions ();
options.Timeout = 1;
webread('https://www.theworldsworstwebsiteever.com', options);
The attached patch fixes that for me.
(file #55272)
_______________________________________________________
Additional Item Attachment:
File name: bug64826-webread-timeout.patch Size:1 KB
<https://file.savannah.gnu.org/file/bug64826-webread-timeout.patch?file_id=55272>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?64826>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/