Commit Graph

25 Commits

Author SHA1 Message Date
2d8a956c14 require -> import
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3904 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-18 17:39:08 +00:00
4e3bf99327 More socket leak debugging.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3901 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-17 19:58:50 +00:00
b5b6ed8ba5 Trying harder still to curb stale connections.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3900 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-17 18:51:24 +00:00
83bdbbb4dc Fixed some socket leaks.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3897 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-07 02:41:44 +00:00
1dc6084d2d Time out idle connections.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3896 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-07 02:08:06 +00:00
ae894eaa9d Time out connections that don't send a request in time.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3895 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-07 01:00:50 +00:00
5622db92a7 Trying to fix socket lifetime issues.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3886 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-02 10:58:22 +00:00
87224d2bb6 Add some protection against bad requests. Also bail if we can't start properly.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3870 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-04-26 23:05:02 +00:00
d77c452120 Attaching files to posts sort of works. Whew.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3799 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-28 03:11:09 +00:00
9fd4be0e4a Wow, load was slow because websocket sends were slow, because TextEcoder was slow. Do it in C.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3796 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-27 01:15:54 +00:00
df0bb102dc Kill tasks when their websocket closes. Sigh.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3779 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-21 00:49:03 +00:00
ec9e9151dc Stay on https: through redirects.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3744 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-09 01:36:29 +00:00
c02a3d3659 Fixed https.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3734 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-05 01:58:12 +00:00
79022e1e1f Merge branches/quickjs to trunk. This is the way.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3621 ed5197a5-7fde-0310-b194-c3ffbd925b24
2021-01-02 18:10:00 +00:00
37a9d856af Reload the TLS certificate and private key if they change.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3409 ed5197a5-7fde-0310-b194-c3ffbd925b24
2017-10-12 23:29:33 +00:00
4cdbdaf3d1 Disable Nagle's algorithm to try to make things more uniformly responsive.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3368 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-12-24 13:57:27 +00:00
5c855afbb3 Fixed a bunch more encoding issues.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3358 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-12-22 17:38:21 +00:00
ba298b2e7c Begin the hairy process of making this thing deal safely with string encodings. This will be broken for some time.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3356 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-12-21 20:19:23 +00:00
b265d65e11 I only support websockets protocol version 13.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3215 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-04-23 18:17:55 +00:00
105ecab472 Go back to allowing automatic guest sessions by default. WebSockets actually make this work better.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3204 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-04-14 23:37:23 +00:00
d82fc5cc85 Remove use of jquery and fix some bugs.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3200 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-04-11 15:54:26 +00:00
2c8bea27a0 Now with more WebSockets.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3197 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-04-11 00:09:21 +00:00
9f23147678 Make it possible to submit data to a task through a POST to /~user/task/submit.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3171 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-03-17 01:07:54 +00:00
a9879b7c8a Arrow keys do are not handled by onkeypress on all browsers. Wonderful. Use onkeydown instead.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3170 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-03-17 00:51:08 +00:00
7c6a377c0b sandboxos => tildefriends
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3157 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-03-12 18:50:43 +00:00