Commit Graph

348 Commits

Author SHA1 Message Date
kim (grufwub)
b151bc8eba Unlock mutexes on failed up/downgrade
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-10-21 17:08:51 +01:00
kim (grufwub)
7b3ce5115d Fix autogenerated robots.txt
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-10-20 21:00:03 +01:00
kim (grufwub)
aa00189ee4 Improve code commenting
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-10-20 19:30:36 +01:00
kim (grufwub)
c6042419fa Replace RWMutex use with custom UpgradeableMutex type, catch failed RW upgrades
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-10-20 19:19:31 +01:00
kim (grufwub)
3f0ecefef3 improve wording
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-10-20 13:35:17 +01:00
kim (grufwub)
cb2011d15e update gitignore
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-10-19 22:59:59 +01:00
kim (grufwub)
d1d3641789 version bump
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-10-06 22:38:50 +01:00
kim (grufwub)
c7c0936a48 fix gophermap file sections to be gophermap formatted
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-10-06 22:36:36 +01:00
kim (grufwub)
6009e56337 make README more truthful!
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-09-22 10:43:05 +01:00
kim (grufwub)
7dc76d6da3 bump version to 2.0.1-alpha
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-09-16 19:16:12 +01:00
kim (grufwub)
96906e356f fix gophermaps causing server to crash
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-09-16 19:14:57 +01:00
kim (grufwub)
9e17e9cce1 add user directories to documentation
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-07-16 17:16:00 +01:00
kim (grufwub)
3b00f6ec11 fix logging implementation
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-07-13 14:35:54 +01:00
kim (grufwub)
5957b7e588 stop using CGO for compiled binaries
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-07-13 14:24:09 +01:00
kim (grufwub)
103a849952 update note about development branch
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-07-13 13:47:34 +01:00
kim (grufwub)
7aa11612d1 add checks before generating and adding policy files
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-07-13 13:45:43 +01:00
kim (grufwub)
8c1905a287 rename the project to gophi!
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-07-13 13:25:45 +01:00
kim (grufwub)
54e135666d update todo list
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-07-13 13:10:01 +01:00
kim (grufwub)
50cd4f2cfe undo separate variable declarations, CGI stderr = nil, formatting changes
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-07-13 13:08:30 +01:00
kim (grufwub)
7c9e09bb3f add scrap paper todo list
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-07-13 10:30:42 +01:00
kim (grufwub)
51560e4b18 add code comments
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-07-13 10:30:26 +01:00
kim (grufwub)
90b18905ce add replacement strings support, reuse variables with loops (less allocs)
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-07-13 10:09:29 +01:00
kim (grufwub)
13b361f5fd improve CGI docs
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-07-13 09:21:35 +01:00
kim (grufwub)
1fbfe88bb2 update CGI implementation to include more required variables
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-07-13 09:21:13 +01:00
kim (grufwub)
8b902a637e fix doc linking to not use URLs
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-07-12 22:08:28 +01:00
kim (grufwub)
b12f06618f fix document linking
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-07-12 22:07:14 +01:00
kim (grufwub)
26e6c86d24 update server description
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-07-12 12:52:53 +01:00
kim (grufwub)
dd6adbdde6 improve argument descr string, improve restricted path regex matching
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-07-12 12:47:10 +01:00
kim (grufwub)
e3c57da7a7 fix readme doc links
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-07-12 12:46:35 +01:00
kim (grufwub)
61086789d9 update README.md and move information to documents under docs/
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-07-12 12:43:42 +01:00
kim (grufwub)
df69005b09 version bump + change build script version checker
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-07-11 22:11:45 +01:00
kim (grufwub)
6c9cd34e4f add go module file
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-07-11 22:09:25 +01:00
kim (grufwub)
6bca9ffa8f update README
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-07-11 22:04:28 +01:00
kim (grufwub)
75cfbc0c65 gophor rewrite
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-07-11 21:59:44 +01:00
an hacker
ebe414d8f3
Update README.md 2020-07-11 10:12:48 +01:00
kim (grufwub)
0fb49c4ae9 small improvement to sane defaults and setting up global logger
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-05-17 10:15:01 +01:00
Kim
9b18a9caeb
Merge pull request #16 from grufwub/development
Development pull v1.0-beta
2020-05-17 10:00:45 +01:00
kim (grufwub)
c9ffda1ae5 version bump :)
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-05-17 09:56:22 +01:00
kim (grufwub)
f12eb57c3a update CGI SERVER_PROTOCOL to "gopher"
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-05-17 09:40:01 +01:00
kim (grufwub)
beef4c80b5 remove build-one script
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-05-16 21:34:22 +01:00
kim (grufwub)
32f55ae57f modify script to try attempt --best and regular upx compression before giving up
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-05-16 21:31:04 +01:00
kim (grufwub)
0ecb89cec4 update build-script with more versions
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-05-16 21:22:09 +01:00
kim (grufwub)
35ae197bc2 ensure BufferedDeadlineConn adheres to SocketReadMax
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-05-15 13:33:09 +01:00
kim (grufwub)
6bdeb86863 major underlying changes
- remove GophorConn, instead make Worker the object that
  holds onto Host, Client, RootDir etc

- create BufferedDeadlineConn to wrap DeadlineConn and wrap all
  read/write operations in buffered operations

- Have Responder hold onto BufferedDeadlineConn instead of writer

- version bump :)

Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-05-15 13:29:04 +01:00
kim (grufwub)
06103d60c0 add to todos
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-05-15 10:29:20 +01:00
kim (grufwub)
0514366cbb update version string
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-05-14 21:18:22 +01:00
kim (grufwub)
f68aec3731 fix socket-write-timeout description
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-05-14 21:17:36 +01:00
kim (grufwub)
4852573114 update file remap wording
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-05-14 21:16:23 +01:00
kim (grufwub)
2062a0318a add file remapping usage to features list
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-05-14 21:14:34 +01:00
kim (grufwub)
839473750e move most of code from format.go --> gopher.go
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-05-14 20:36:57 +01:00