about summary refs log tree commit diff stats
path: root/src/luasocket
Commit message (Collapse)AuthorAgeFilesLines
* instrument some obvious syscallsKartik K. Agaram2022-01-022-0/+26
|
* indentKartik K. Agaram2022-01-021-6/+6
|
* renameKartik K. Agaram2022-01-021-2/+2
|
* network calls are now sandboxedKartik K. Agaram2021-12-251-1/+10
| | | | | | | I _think_ I don't need to gate other socket calls; you can't do anything without bind() and connect(). And they should be good places to dump more precise details later about the kind of server or client connection being attempted.
* select C99 in luasecKartik K. Agaram2021-11-271-1/+1
| | | | | | I can't select C99 in luasocket, because I don't know how to include the definition of struct timespec. All this fucking complexity. But hopefully things will build on OpenBSD now.
* clean up luasocket build fileKartik K. Agaram2021-11-271-142/+15
| | | | | | Teliva is never intended to be "installed" somewhere. Just work inside its directory and separately share the .tlv files you create. (Though I don't yet have a good flow for starting a new .tlv file.)
* more Makefile streamliningKartik K. Agaram2021-11-241-1/+1
| | | | | | | | | | Since everything is in my control there's no need to parameterize include paths. It's a struggle to get make to run when it should. Lying that something is phony stops working when it's a dependency. Commands get unnecessarily run. Just fucking run recursive makes directly in the target that depends on them.
* clean up a warning and a bit of duplicationKartik K. Agaram2021-11-221-4/+0
| | | | | Now we have 2 probably-valid warnings caused by my edits, and 1 false-positive.
* standardize warning flags everywhereKartik K. Agaram2021-11-221-1/+1
| | | | | | | | | | I'd like to enable -Wextra as well, but that creates some false positives. I've at least made my changes clean w.r.t. -Wextra. Now we have 4 remaining warnings with gcc 9.3 that seem genuine. Need to fix those.
* drop a warning implied by -WallKartik K. Agaram2021-11-221-1/+1
|
* standardize CFLAGS in luasocketKartik K. Agaram2021-11-221-5/+4
|
* delete final vestiges of embedded luasocketKartik K. Agaram2021-11-221-0/+5
|
* https now working!Kartik K. Agaram2021-11-211-5/+1
| | | | | | | | Still extremely ugly: - I've inlined all the namespaces under ssl, so you need to know that context and config are related to ssl. - luasec comes with its own copy of luasocket. I haven't deduped that yet.
* basic http requests starting to workKartik K. Agaram2021-11-219-104/+57
| | | | | In the process we're starting to load almost all of luasocket by default. And everything is working as expected, no unpleasant surprises.
* drop some redundant `require`sKartik K. Agaram2021-11-201-14/+7
|
* luasocket now loading properlyKartik K. Agaram2021-11-202-1/+1
| | | | I still haven't tried actually running it.
* inline luasocketKartik K. Agaram2021-11-2050-0/+9424
Just builds for now, isn't available yet to Lua code.