NI
e6c68194ad
Change cipherRWBufferSize to match the one on the client, so we don't run cipher that often (Adds overhead).
2019-08-14 08:15:01 +08:00
NI
5e6a774bd8
Fixed typo Passpharse => Passphrase #2
...
Thanks for reporting.
2019-08-13 17:37:06 +08:00
NI
36ee034bcf
Use ReadTimeout*0.8 as max heartBeatTimeout rather than ReadTimeout/2.
...
Heartbeat is usually returned very quickly, no need to force two heartbeat within one read timeout period.
User can change the configuration to bring back the setting if needed.
2019-08-13 10:55:48 +08:00
NI
f3336d61a0
Make DialTimeout configurable.
2019-08-12 23:50:24 +08:00
NI
d4c297e9ca
Remote connection failure should not effect host connection (Returning error will trigger the termination of the host connection)
2019-08-12 12:19:30 +08:00
NI
639af4dba2
Use 128 bit key rather than 192 bit. Because Chrome says it don't support 192 bit AES key.
2019-08-12 11:05:53 +08:00
NI
ee7a6a4703
Support SSHWIFTY_ENV_RENAMED: prefix. When the value of an environment variable is prefixed with SSHWIFTY_ENV_RENAMED:, read another environment variable. For example: if SSHWIFTY_LISTENPORT = SSHWIFTY_ENV_RENAMED:PORT, the final value will be read from $PORT.
...
This is useful if the application is running on a cloud platform which force application to use their environment variables.
2019-08-11 12:12:44 +08:00
NI
2f670d625a
Better value calculation, prevents the zero HeartbeatTimeout problem.
2019-08-10 15:41:22 +08:00
NI
8a9a483dd6
Add Direct configuration loader
2019-08-10 15:02:57 +08:00
NI
fa48b6aa34
Better message
2019-08-10 15:01:11 +08:00
NI
4f0d899346
Calculate HeartbeatTimeout configuration in the right way.
2019-08-10 14:54:18 +08:00
NI
6c3e681d8b
Bootup message between HTTP and HTTPS server are now different. One will display "Serving", other one will display "Serving TLS"
2019-08-09 16:27:16 +08:00
NI
5e9e308d8a
Fixed a bug causing .WithDefault to reset settings: I forgot to assign values.
2019-08-09 16:25:56 +08:00
NI
fe185389fa
Fixed a race condition inside the test.
2019-08-08 08:02:31 +08:00
NI
ebd6a7ad66
Add warning description about the AES-GCM cipher.
2019-08-07 19:17:56 +08:00
NI
539aa71e4e
Returning the missing loader name.
2019-08-07 16:49:32 +08:00
NI
7f4cf7bef5
Remove files generated by go generate.
...
User should generate those files by thenselves during build proccess.
2019-08-07 16:39:21 +08:00
NI
122587c4bd
Change word DEPENDENCES to DEPENDENCIES.
...
See? This is something would happen if you staring at a file that you created like a month ago and start to think "Hey, I wonder whether or not this is a valid English word"
2019-08-07 16:23:13 +08:00
NI
02f14eb14f
Initial commit
2019-08-07 15:56:51 +08:00