Commit graph

273 commits

Author SHA1 Message Date
18781213cc Clean the TODO list up a bit, organizing it and deleting old entries. 2022-11-03 16:42:57 +00:00
84abff7fb8 Tune the memory table size a little bit.
No idea if this hurts or helps, actually, but now we have a tunable
constant, instead of a magic number.
2022-11-02 16:46:22 +00:00
a8beded518 Fix occasional "Bad Request" response by waiting for data to be sent.
This also makes UtilGetDelim() and UtilGetLine() thread safe in that it
isn't setting a global errno. Of course, errno should be thread safe
already, but this makes it much less ambiguous.
2022-11-02 16:21:03 +00:00
92cc2206a1 Fix a few things to make Telodendria compile and run on Cygwin. 2022-11-02 15:20:37 +00:00
6992f36c86 Fix segfault in fclose() on Linux. 2022-11-02 00:35:05 +00:00
5af229a86e Apply #31 2022-11-02 00:18:13 +00:00
fddfbf57ca Add some comments for future developers. 2022-11-01 21:50:02 +00:00
839f3a886e With git cvsimport, we shouldn't actually need this anymore. 2022-11-01 17:18:44 -04:00
cbdabc38a2 Delete weird artifact of git cvsimport 2022-11-01 17:15:18 -04:00
182bc13ea8 Make the READMEs a little more descriptive.
I need something to test git cvsimport with, too.
2022-11-01 16:29:31 -04:00
c6b4c3ad76 Make the READMEs a little more descriptive.
I need something to test git cvsimport with, too.
2022-11-01 16:29:31 -04:00
deab108882 Add a README for GitHub. 2022-11-01 13:04:00 -04:00
547e4e0203 Add a .gitignore for the GitHub mirror. 2022-11-01 12:53:42 -04:00
757938b293 Fix segvault if no config file was specified. 2022-11-01 09:47:25 -04:00
d9991bbd77 Apparently _DEFAULT_SOURCE is required to compile on Linux. 2022-11-01 09:04:41 -04:00
82d460da6f Fix some sneaky memory bugs and resource leaks. 2022-11-01 09:04:15 -04:00
bf65f29fdf Update TODO 2022-11-01 09:03:54 -04:00
bbee9dcea6 Fix some more bugs. 2022-10-31 20:41:50 -04:00
63dbf9ae35 Fix a few more memory bugs. Still have some to tackle. 2022-10-31 19:52:37 -04:00
629d953518 Reorder some TODO items 2022-10-31 11:35:25 -04:00
ead65e7334 Fixed some misc bugs I found while debugging a memory error. 2022-10-31 11:07:32 -04:00
5ca10f298a Update TODO 2022-10-31 10:13:31 -04:00
fd50fd83fb Misc changes throughout the codebase during testing. 2022-10-31 08:12:42 -04:00
b24ab05e8b Revert revision 1.4: Memory in O(1) time.
This has some bugs in it that I don't have time to work out right
now. Best to revert to a known working version as the project gains
attention until I can address this properly.
2022-10-31 08:08:32 -04:00
bcff59bacb Store memory info in the allocated block, not as a separate block.
This will eventually enable us to get memory information in O(1) time.
Right now, we're still O(n) because MemoryInfoGet() still has to check to
see if the allocation is known or not.
2022-10-28 14:07:44 -04:00
2791dbdcc8 When debugging, only set the required LDFLAGS.
This  allows us to actually use good debugging symbols when loading the
executable into something like lldb or gdb.
2022-10-28 08:43:58 -04:00
f90b987218 Add a Db to the matrixArgs so that routes can access it. 2022-10-24 14:36:48 -04:00
3a181653b5 Update TODO 2022-10-24 13:44:52 -04:00
624b080d47 Add max-cache option to the config file 2022-10-24 13:40:21 -04:00
d32742bb25 Make "format" recipe less verbose 2022-10-24 13:30:18 -04:00
e009536065 Begin prototyping persistent storage API 2022-10-24 12:44:29 -04:00
95930f4218 Cross off param parsing 2022-10-15 19:37:21 -04:00
5ca5ec7dd4 Complete parameter parsing 2022-10-15 19:17:49 -04:00
52abd18324 First revision of param parsing 2022-10-15 18:54:34 -04:00
b645a0b2c1 Hook param parsing into the request logic. 2022-10-15 16:28:32 -04:00
14c79a901a Build improvements so we can easily port to more platforms. 2022-10-15 12:45:21 -04:00
648ce5c4cc Remove NonPosix.h; it seems to be causing more trouble than it's worth. 2022-10-15 11:45:23 -04:00
887c4e4d5b Fix some warnings generated by Cygwin's GCC. 2022-10-15 10:28:03 -04:00
62f7016bc0 Update TODO 2022-10-15 10:14:54 -04:00
4707f0f4c8 Clean up some NonPosix.h stuff so we can build on Linux.
It appears that SOCK_NONBLOCK is not actually POSIX. According to the
OpenBSD man page, it will be soon, and according to the Linux man page,
it is a Linux extension. However, fcntl() with O_NONBLOCK seems to be
portable across both systems.
2022-10-15 10:08:52 -04:00
bb93cae99a Remove non-standard __FUNCTION__ use.
This cripples the Memory API just a little bit, but I'm sure we'll still
get useful enough information.
2022-10-15 09:34:47 -04:00
0c03c71081 Allow logging to the syslog 2022-10-14 20:55:15 -04:00
e1827da071 As promised, we can now build on Windows with Cygwin. 2022-10-14 19:53:11 -04:00
f7b947f6e3 TODO: Document memory 2022-10-13 13:13:00 -04:00
31719c2cd6 Tell exactly where the leaked pointer is, so it can be grepped. 2022-10-13 12:46:41 -04:00
65dad27902 Fix some server context memory leaks. 2022-10-13 12:34:17 -04:00
80366fc294 Fix a few more calls to free() 2022-10-13 12:27:24 -04:00
8cb86e8f67 Use new Memory API for all memory allocations. 2022-10-13 12:18:42 -04:00
945acd1adf Format source code 2022-10-13 09:09:26 -04:00
2df0cd9d26 Begin integrating new Memory API 2022-10-13 09:08:05 -04:00