adnano
|
f3345ae327
|
Adjust user prompt in client example
|
2020-09-26 18:56:10 -04:00 |
|
adnano
|
a44bbcb9f9
|
Reject requests containing '..' in them
|
2020-09-26 17:13:13 -04:00 |
|
adnano
|
54e76fab3f
|
Implement default client
|
2020-09-26 16:52:14 -04:00 |
|
adnano
|
1288e1bc31
|
Implement file server
|
2020-09-26 16:38:26 -04:00 |
|
adnano
|
749b765aaa
|
Add preliminary CertificateStore API
|
2020-09-26 15:14:34 -04:00 |
|
adnano
|
7aa139f8ce
|
Update README.md
|
2020-09-26 14:34:15 -04:00 |
|
adnano
|
b0b5c011d3
|
Fix client example
|
2020-09-26 14:01:06 -04:00 |
|
adnano
|
82c374ea96
|
Update README.md
|
2020-09-26 13:59:24 -04:00 |
|
adnano
|
557d9b9615
|
Implement default known hosts path
|
2020-09-26 13:35:56 -04:00 |
|
adnano
|
a76535c921
|
Remove (*KnownHosts).Has function
|
2020-09-26 13:29:29 -04:00 |
|
adnano
|
6a5a7c40c5
|
Differentiate between unknown and untrusted certificates
|
2020-09-26 13:27:03 -04:00 |
|
adnano
|
1196c4013b
|
Update README.md
|
2020-09-26 00:40:28 -04:00 |
|
adnano
|
886a92e54a
|
Specify minimum version of TLS 1.2
|
2020-09-26 00:31:16 -04:00 |
|
adnano
|
47a6ce56f6
|
Fix misleading comment
|
2020-09-25 23:29:26 -04:00 |
|
adnano
|
5dae633597
|
Distinguish client errors from server errors
|
2020-09-25 23:23:24 -04:00 |
|
adnano
|
578746550e
|
Refactor TOFU
|
2020-09-25 23:18:14 -04:00 |
|
adnano
|
134d0277f5
|
Implement basic TOFU
|
2020-09-25 21:43:13 -04:00 |
|
adnano
|
130312a1e0
|
Add KnownHost.Write function
|
2020-09-25 20:55:37 -04:00 |
|
adnano
|
39b55f4261
|
Fix known host expires check
|
2020-09-25 20:31:07 -04:00 |
|
adnano
|
f994f3dbd0
|
Add method to check if hostname is found in KnownHosts
|
2020-09-25 20:22:48 -04:00 |
|
adnano
|
d11091f37d
|
Implement configurable Client
|
2020-09-25 19:53:50 -04:00 |
|
adnano
|
d84cbcaf49
|
Reorganize
|
2020-09-25 19:09:49 -04:00 |
|
adnano
|
10139736e6
|
Rename gemini.go to client.go
|
2020-09-25 19:07:40 -04:00 |
|
adnano
|
458c42b516
|
Move server code to its own file
|
2020-09-25 19:06:56 -04:00 |
|
adnano
|
4c8a12e2fb
|
Remove TLSConfig fields
|
2020-09-25 18:53:20 -04:00 |
|
adnano
|
e4ee382282
|
Add test
|
2020-09-25 11:27:26 -04:00 |
|
adnano
|
678bba3417
|
Sort ServeMux entries by length
|
2020-09-25 11:00:18 -04:00 |
|
adnano
|
74a18d3f34
|
Update README.md
|
2020-09-25 10:09:41 -04:00 |
|
adnano
|
596775d9a7
|
Update README.md
|
2020-09-24 20:13:59 -04:00 |
|
adnano
|
741e234d8d
|
Update comments
|
2020-09-24 19:41:50 -04:00 |
|
adnano
|
00315aaf2f
|
Convert ResponseWriter to struct
|
2020-09-24 19:38:26 -04:00 |
|
adnano
|
685abaf2c7
|
Use more buffered I/O
|
2020-09-24 19:22:35 -04:00 |
|
adnano
|
de7a7724cb
|
Use buffered IO
|
2020-09-24 19:02:03 -04:00 |
|
adnano
|
c4e7e8c892
|
Remove Client struct
Gemini requests are very simple and leave little room for customization,
so a configurable Client is not necessary.
|
2020-09-24 01:55:41 -04:00 |
|
adnano
|
efb3871d4d
|
Provide Response with ConnectionState
|
2020-09-24 01:45:26 -04:00 |
|
adnano
|
11748c220a
|
Fix client example
|
2020-09-24 01:43:03 -04:00 |
|
adnano
|
c3255b1d53
|
Merge Request and RequestInfo
|
2020-09-24 01:37:57 -04:00 |
|
adnano
|
fe4c98606f
|
Refactor
|
2020-09-24 00:30:21 -04:00 |
|
adnano
|
50b1765ec9
|
Handle more than one request at a time
|
2020-09-24 00:26:30 -04:00 |
|
adnano
|
d16253666e
|
Enforce valid URLs
|
2020-09-21 22:21:51 -04:00 |
|
adnano
|
b81f6d44d4
|
Add package declaration comment
|
2020-09-21 22:09:50 -04:00 |
|
adnano
|
480e793d3f
|
Refactor client requests and server responses
|
2020-09-21 21:31:09 -04:00 |
|
adnano
|
ec37cad3dd
|
Provide Handler with client remote address
|
2020-09-21 20:44:10 -04:00 |
|
adnano
|
4b96665150
|
Provide Handler with client certificate information
|
2020-09-21 19:17:10 -04:00 |
|
adnano
|
51e1df0737
|
Update Client documentation
|
2020-09-21 18:30:55 -04:00 |
|
adnano
|
2ea558df61
|
Add link to documentation in README.md
|
2020-09-21 18:28:34 -04:00 |
|
adnano
|
513129911c
|
Rename example directory to examples
|
2020-09-21 18:25:31 -04:00 |
|
adnano
|
6884281d86
|
Add support for client-side certificates
|
2020-09-21 18:21:42 -04:00 |
|
adnano
|
0864b16e46
|
Use bufio.Reader in (*Client).Do
|
2020-09-21 17:58:36 -04:00 |
|
adnano
|
41eaa13ce9
|
Update documentation
|
2020-09-21 17:36:09 -04:00 |
|