about summary refs log tree commit diff stats
path: root/src/io/posixstream.nim
Commit message (Collapse)AuthorAgeFilesLines
* loader: clean up error handlingbptato2024-01-261-0/+3
| | | | | | | | | * remove pointless exception -> bool conversions; usually they were ignored anyway + exceptions are more convenient here * add EPIPE handler to raisePosixIOError * fix socketstream to use raisePosixIOError * fix socketstream sendFileHandle error handling * cgi: immediately return on file not found error
* Use std/* imports everywherebptato2024-01-071-2/+2
|
* buffer: clean up ssock on being killedbptato2023-12-211-0/+3
| | | | | | * use signal handlers to avoid littering tmpdir with dead sockets * add connection reset error (for socketstream) * convert some imports to new style
* posixstream: fix buffer overflowbptato2023-09-281-1/+2
|
* Add mailcap, mime.types & misc refactoringsbptato2023-08-131-0/+5
| | | | | | | | * add mailcap: works with copiousoutput, needsterminal, etc. * add mime.types (only works with mailcap) * refactor pipeBuffer * remove "dispatcher" * fix bug in directory display where baseurl would not be used
* Slightly improve request api (less crashes)bptato2023-02-051-1/+4
|
* posixstream: fix incorrect read() usagebptato2023-01-011-1/+1
| | | | It was overwriting our buffer, instead of appending to it...
* posixstream/socketstream: fix cross-platform compilationbptato2022-12-311-8/+17
|
* Fix stream error handling confusion, title displaybptato2022-12-131-8/+25
| | | | Also probably other fixes.
* Add support for the encoding standard, fix parseLegacyColorbptato2022-12-101-0/+40
Also, fix a bug in the