-
exec/load/http.js
From
echicken@VERT to
CVS commit on Thu Mar 15 07:28:00 2018
exec/load http.js 1.39 1.40
Update of /cvsroot/sbbs/exec/load
In directory cvs:/tmp/cvs-serv22671
Modified Files:
http.js
Log Message:
That 'this' was not the 'this' that your 'self' was looking for there then.
May resolve the error reported by Bill McGarrity (this.extra_headers is undefined).
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
echicken@VERT to
CVS commit on Thu Mar 15 08:22:00 2018
exec/load http.js 1.40 1.41
Update of /cvsroot/sbbs/exec/load
In directory cvs:/tmp/cvs-serv29446
Modified Files:
http.js
Log Message:
Ditch the 'self' stuff and give forEach a thisArg instead.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
deuce@VERT to
CVS commit on Sun Apr 1 21:29:00 2018
exec/load http.js 1.41 1.42
Update of /cvsroot/sbbs/exec/load
In directory cvs:/tmp/cvs-serv10085
Modified Files:
http.js
Log Message:
When sending a request and the socket is still open, close it.
This prevents leaving all sockets open until the script exits. It would
be better to reuse the existing socket when it's already connected to the
right place, but this is easier for now.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Wed Feb 20 12:49:00 2019
exec/load http.js 1.42 1.43
Update of /cvsroot/sbbs/exec/load
In directory cvs:/tmp/cvs-serv15699
Modified Files:
http.js
Log Message:
Improve the details of the "Unable to connect" error exception.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
deuce@VERT to
CVS commit on Mon Aug 5 17:13:22 2019
exec/load http.js 1.43 1.44
Update of /cvsroot/sbbs/exec/load
In directory cvs:/tmp/cvs-serv8343
Modified Files:
http.js
Log Message:
Use ConnectedSocket() to get IPv6 goodness.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Sun Apr 5 12:35:01 2020
exec/load http.js 1.44 1.45
Update of /cvsroot/sbbs/exec/load
In directory cvs:/tmp/cvs-serv20352
Modified Files:
http.js
Log Message:
Add a status definition with the most common request status codes since a caller of HTTPRequest.Get() needs to compare against these constants
to know if the request was successful (e.g. ok = 200).
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
echicken@VERT to
CVS commit on Tue Jul 21 17:26:28 2020
exec/load http.js 1.45 1.46
Update of /cvsroot/sbbs/exec/load
In directory cvs:/tmp/cvs-serv23764
Modified Files:
http.js
Log Message:
For GET requests, follow 301, 302, 307, and 308 redirects to the first
Location given in the response header, if present. Not enabled by
default, so turn it on like so:
var h = new HTTPRequest();
h.follow_redirects = true;
Should probably add "too many redirects" protection, since this could
turn into an eternal game of HTTP ping-pong.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
echicken@VERT to
CVS commit on Tue Jul 21 17:31:48 2020
exec/load http.js 1.46 1.47
Update of /cvsroot/sbbs/exec/load
In directory cvs:/tmp/cvs-serv24583
Modified Files:
http.js
Log Message:
Shitty hack on previous commit.
Amended HTTPRequest.follow_redirects to be a number instead of boolean.
var h = new HTTPRequest();
h.follow_redirects = 1; // We'll follow this many redirects
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
Rob Swindell@VERT to
Git commit to sbbs/master on Wed Aug 26 16:36:37 2020
https://gitlab.synchro.net/sbbs/sbbs/-/commit/39f15ed27aaa1d54a06dd5a6
Modified Files:
exec/load/http.js
Log Message:
Better error reporting to help root-caues Nelgin's problem using bccnews.js
<nelgin> !JavaScript : uncaught exception: Unknown scheme! 'undefined'
<nelgin> (error with no line number) is the worst.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
echicken@VERT to
Git commit to main/sbbs/master on Fri Jan 22 05:50:35 2021
-
From
Deuc¿@VERT to
Git commit to main/sbbs/master on Mon Feb 15 10:51:05 2021
-
From
Deuc¿@VERT to
Git commit to main/sbbs/master on Mon Feb 15 10:54:07 2021
-
From
Deuc¿@VERT to
Git commit to main/sbbs/master on Mon Feb 15 14:01:21 2021
-
From
Deuc¿@VERT to
Git commit to main/sbbs/master on Mon Feb 15 14:01:21 2021
-
From
Deuc¿@VERT to
Git commit to main/sbbs/master on Mon Feb 15 14:14:16 2021
-
From
Deuc¿@VERT to
Git commit to main/sbbs/master on Mon Feb 15 14:14:16 2021
-
From
Deuc¿@VERT to
Git commit to main/sbbs/master on Mon Feb 15 14:31:37 2021
-
From
Deuc¿@VERT to
Git commit to main/sbbs/master on Mon Feb 15 14:31:37 2021
-
From
Rob Swindell (on Debian Linux)@VERT to
Git commit to main/sbbs/master on Sun May 7 18:11:16 2023
https://gitlab.synchro.net/main/sbbs/-/commit/088b87a4b8c8e2e43a88af2d
Modified Files:
exec/load/http.js
Log Message:
Support recv_timeout argument to HTTPRequest constructor, default: 60 (seconds)
Use this time-out value for calls to recv() and recvline() rather than a mix of default and hard-coded values. If unspecified, uses a default of 60 seconds.
This fixes issue #562
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
echicken@VERT to
Git commit to main/sbbs/master on Fri Nov 24 06:15:20 2023
-
From
echicken@VERT to
Git commit to main/sbbs/master on Fri Nov 24 07:28:39 2023
-
From
echicken@VERT to
Git commit to main/sbbs/master on Fri Nov 24 07:32:22 2023