|
6c5a7b0751
|
Add missing statics, and remove the 'tildefriends check' command.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4838 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-02-10 16:50:00 +00:00 |
|
|
ed2d57fb4b
|
Serve core static files without leaving C.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4833 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-02-09 01:21:57 +00:00 |
|
|
dc655bb359
|
Prefer tf_resize_vec many places over tf_realloc.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4805 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-27 21:29:06 +00:00 |
|
|
7f0643f9c0
|
Stop leaking the TLS context.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4802 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-27 17:27:56 +00:00 |
|
|
14a4117aff
|
Don't leak the http handlers.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4801 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-27 17:11:24 +00:00 |
|
|
923d6f9835
|
I think that's all the leaks accounted for though not yet fixed.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4799 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-27 15:45:51 +00:00 |
|
|
48b967f5b6
|
Tryingn to button down websocket lifetime issues.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4795 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-27 02:36:08 +00:00 |
|
|
34a87d8b3b
|
Minor cleanup. Make http.c trace its callbacks.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4728 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-03 02:14:17 +00:00 |
|
|
9ef909c9a1
|
Reimplement http -> https redirects. Remove request phases. With just a little extra storage, it wasn't needed.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4723 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-02 15:02:47 +00:00 |
|
|
e4cd5312f1
|
Oops, fix websockets.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4721 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-01 22:22:03 +00:00 |
|
|
197fca6d3b
|
Fix/cleanup around a crash I'm seeing.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4720 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-01 22:14:27 +00:00 |
|
|
04af1f0053
|
I think it we ask for AF_INET6, we get 4+6. Let's do that.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4719 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-31 03:42:07 +00:00 |
|
|
797509fc11
|
Fix a crash processing TLS while a session is closing.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4715 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-31 03:05:52 +00:00 |
|
|
9d1476a760
|
Slight memcpy paranoia.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4713 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-30 21:41:48 +00:00 |
|
|
c1890775dc
|
Fixes for fragmented websocket messages. Android is happy, now.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4712 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-30 21:35:53 +00:00 |
|
|
72e5fe5b8f
|
Allow receiving fragmented websocket messages. I thought this was what was breaking me on Android, but it's not.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4711 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-30 20:35:03 +00:00 |
|
|
0dcc879eb1
|
Delete httpd.js.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4709 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-30 19:47:36 +00:00 |
|
|
4f3f4295ea
|
Some HTTP fixes.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4708 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-30 19:18:09 +00:00 |
|
|
d02f17a8cf
|
I think the new HTTP implementation is basically working, now.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4707 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-30 18:59:02 +00:00 |
|
|
2f6a92168e
|
Implement connection activity timeouts.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4706 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-30 16:52:05 +00:00 |
|
|
b6a3923b27
|
Some quick http refactors to make websockets less magic.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4705 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-30 16:29:16 +00:00 |
|
|
7964524e0a
|
Fix websocket unmasking issues. Autotest works with C httpd, now.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4699 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-29 17:45:07 +00:00 |
|
|
8ab8335baa
|
This is exchanging some websocket messages, now.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4698 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-25 23:50:55 +00:00 |
|
|
cd43bf9dfa
|
Bugs galore, but this is sending and receiving some websocket messages.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4697 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-25 23:39:16 +00:00 |
|
|
ccebf831e7
|
A bit closer to websockets.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4696 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-25 22:53:05 +00:00 |
|
|
9f2f9bd8b0
|
Fixed some package math.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4695 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-24 22:09:09 +00:00 |
|
|
adf8c14536
|
Saw a websocket message go across the wire with this.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4694 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-24 22:06:11 +00:00 |
|
|
606e82d718
|
Saw a websocket message go across the wire with this.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4693 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-24 21:39:51 +00:00 |
|
|
1621f1753a
|
WebSocket request/response header dance. Feels like the loop is getting close to closed, but I want to refactor everything.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4692 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-24 17:43:33 +00:00 |
|
|
196ab66e14
|
Treat the ?query string and body the same as httpd.js does. Now I can auth.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4691 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-23 19:52:59 +00:00 |
|
|
38ab32dad9
|
Fix some http request lifetime issues, and follow the same lowercase convention for headers.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4690 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-21 17:45:06 +00:00 |
|
|
86046e52f0
|
One less dynamic http allocation. Also one less crash.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4689 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-21 17:15:59 +00:00 |
|
|
7dc8b86ee2
|
Return legit responses for some static files.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4687 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-21 02:04:20 +00:00 |
|
|
6ecbfe3de6
|
Sort of barely starting to call httpd callbacks with the new implementation.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4686 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-21 01:27:57 +00:00 |
|
|
58e75ee276
|
I think we did some keep-alive.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4684 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-21 00:13:03 +00:00 |
|
|
e7771f539d
|
Now we're uploading some data.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4683 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-21 00:00:15 +00:00 |
|
|
c2f62cd8e0
|
Now we're uploading some data.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4682 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-20 23:58:28 +00:00 |
|
|
f4b6812675
|
Auto-add a content-length header.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4681 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-20 23:13:03 +00:00 |
|
|
03e4b37c04
|
Make the http test complete successfully.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4680 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-18 17:51:15 +00:00 |
|
|
7b3a9e0f63
|
Send a valid HTTP response and shutdown the connection.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4679 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-17 17:44:54 +00:00 |
|
|
067f546580
|
Send a canned HTTP response.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4678 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-14 01:59:23 +00:00 |
|
|
1d214f89ed
|
Work in progress HTTP server in C.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4676 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-13 23:59:11 +00:00 |
|