Jonathan Lamothe
|
554efdabcb
|
catch *any* exception
`listenLoop` was crashing when the client closed the connection during the handshake. How this doesn't qualify as an `IOException` is beyond me.
|
2023-01-01 11:52:59 -05:00 |
|
Jonathan Lamothe
|
465b5a9115
|
don't worry about length of response status code
|
2021-11-25 03:26:36 -05:00 |
|
Jonathan Lamothe
|
43b76aa39c
|
implemented encodeGemResponse
|
2021-11-24 19:44:17 -05:00 |
|
Jonathan Lamothe
|
391ffd3eea
|
implemented stripCRLF
|
2021-11-24 19:44:17 -05:00 |
|
Jonathan Lamothe
|
05e83857a7
|
tests for runConnection
|
2021-11-24 18:56:12 -05:00 |
|
Jonathan Lamothe
|
7126838eb0
|
fixed a bug in readLoop that would cause the server hang while reading the request
|
2021-11-23 11:10:34 -05:00 |
|
Jonathan Lamothe
|
7b8a887b3c
|
made failure reason ob readLoop more obvious
|
2021-11-22 23:25:43 -05:00 |
|
Jonathan Lamothe
|
61fca70a5e
|
refactored readLoop
|
2021-11-21 02:22:40 -05:00 |
|
Jonathan Lamothe
|
440aee7536
|
System.IO.Streams should be a qualified import
|
2021-11-20 11:43:54 -05:00 |
|
Jonathan Lamothe
|
64444bbc81
|
implemented readMax
|
2021-11-19 20:58:41 -05:00 |
|
Jonathan Lamothe
|
4a99e5cb0b
|
implemented high-level logic for strFromConn
|
2021-11-19 19:30:54 -05:00 |
|
Jonathan Lamothe
|
489d0fdb78
|
linting of readURL function
I disagree with the use of `<$>` in place of `.`, but not enough to fight hlint on it.
|
2021-11-19 19:28:46 -05:00 |
|
Jonathan Lamothe
|
dfad007b60
|
minor refactor of readURL
|
2021-11-19 11:03:51 -05:00 |
|
Jonathan Lamothe
|
5c83bf3123
|
implemented basic logic for readURL
|
2021-11-18 20:00:52 -05:00 |
|
Jonathan Lamothe
|
722864c842
|
name changes
changed names of certain functions and types to use the term "capsule" instead of "server"
|
2021-11-17 15:32:39 -05:00 |
|
Jonathan Lamothe
|
f751ccf191
|
renamed project to gemcap
It was brought to my attention that there is a rust package named gemserv. I changed the name to avoid any potential confusion.
|
2021-11-17 13:15:36 -05:00 |
|