Commit Graph

22 Commits

Author SHA1 Message Date
e05302ac99 Oops. This caused a double-reject.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4135 ed5197a5-7fde-0310-b194-c3ffbd925b24
2023-01-18 23:14:44 +00:00
ce6cc82d64 Some socket fixes.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4134 ed5197a5-7fde-0310-b194-c3ffbd925b24
2023-01-18 23:03:17 +00:00
8279ec5e9e Debug features for leaked promises. And then chased down some subsequent use after free issues.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3985 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-09-22 00:38:26 +00:00
56db6a8e4d Fix exciting new gcc 11 compiler warnings.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3973 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-09-10 01:42:15 +00:00
fe5a6033ef Close / clean up a socket if connect fails.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3920 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-07-09 14:14:48 +00:00
ff2a0f0c3f All the leaks.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3919 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-26 18:25:31 +00:00
66ea0dadd0 Oops all leaks.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3918 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-21 23:09:13 +00:00
f69e74ce53 Another leak. Sheesh.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3914 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-20 14:41:08 +00:00
b5c6cac048 Another leak.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3913 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-20 14:30:00 +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
927e2b7060 Expose some information about active sockets to try to track down leaks.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3898 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-09 02:45:34 +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
9c90b2bc1d Use a custom allocator for everything.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3892 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-04 17:04:51 +00:00
c8e09d8637 Start closing the socket if TLS ends. Don't import apps if we're not running the SSB server (cleans up test output).
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3889 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-04 15:43:35 +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
0556af3e07 Socket was missing a GC mark function?
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3883 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-05-30 19:32:54 +00:00
b688a89b66 Multiple test fixes.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3874 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-05-21 00:06:01 +00:00
8ecc07452e Fix socket leaks.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3818 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-02-05 17:06:51 +00:00
b2a552b3e0 Needs more work, but several experiments that make things more responsive under load.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3783 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-22 20:13:14 +00:00
0bcc7d8c59 Always fetch the promise JSValue and ID when we allocate one. Make it impossible that we've freed it before we return it. Hopefully fixes leaks. Definitely not worse for performance.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3758 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-14 03:05:37 +00:00
fde7fb4270 Create a util.js.{h,c} from some common things.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3681 ed5197a5-7fde-0310-b194-c3ffbd925b24
2021-11-03 22:15:46 +00:00
f4f6bb8333 Move all JS interface things into .js.c files with _register() functions.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3671 ed5197a5-7fde-0310-b194-c3ffbd925b24
2021-10-24 15:46:30 +00:00