Commit Graph

23 Commits

Author SHA1 Message Date
d8391d6fbd core: Handle address lookup and bind errors more gracefully (fixes #136 and #164)
Addresses which fail to resolve are handled more gracefully in the two most common cases: the hostname doesn't resolve or the port is unknown (like "http" on a system that doesn't support that port name). If the hostname doesn't resolve, the host is served on the listener at host 0.0.0.0. If the port is unknown, we attempt to rewrite it as a number manually and try again.
2015-06-23 22:01:37 -06:00
41e1f1ffa5 Update error strings (start with lowercase letters) 2015-06-07 20:49:17 -04:00
e4b50aa814 Fix more lint warnings 2015-05-24 22:52:34 -04:00
ee754b4a47 Bug fixes 2015-05-21 00:40:05 -06:00
5f72b7438a Created app package, and better TLS compatibility with HTTP/2 2015-05-21 00:06:53 -06:00
21c26f48d0 Ensure a default root is always set in the configs 2015-05-05 15:48:40 -06:00
2dbd14b6dc Consistent app name/version info; pipe config data through stdin 2015-05-04 16:23:16 -06:00
995edf0566 Bringing in latest from master; refactoring under way 2015-05-04 11:02:46 -06:00
3bc4e84ed3 Default host is now 0.0.0.0 (wildcard)
Doesn't break using localhost to access the site
2015-04-29 22:30:03 -06:00
d00bb87f17 -port flag to override default port
Default port used if none is specified in config
2015-04-28 22:13:00 -06:00
24d9d23743 Default port is 2015 2015-04-25 14:28:56 -06:00
aa89b95075 Replaced cpu directive with command line flag 2015-04-24 20:08:14 -06:00
d088194585 Default port is now 80 2015-04-22 13:22:03 -06:00
7d96cfa424 Turn off log timestamp for parse errors (easier to read) 2015-04-15 23:17:56 -06:00
feec7c5b40 Virtual hosts and SNI support 2015-04-15 14:11:32 -06:00
b7c8afab2f Respond with 404 if requesting server's config file 2015-04-12 17:44:02 -06:00
2fbfafc408 New startup and shutdown directives 2015-03-26 09:52:03 -06:00
cdfc67db01 Some godoc 2015-03-21 11:04:08 -06:00
974acbf38c Partial support for location contexts in config files 2015-03-03 09:49:01 -07:00
fe1978c6f5 New 'cpu' directive; now uses all cores by default (if needed) 2015-01-21 14:10:52 -07:00
eae024027f Parser fixes, and now using base filename 2015-01-21 13:19:25 -07:00
24fc2ae59e Major refactoring; more modular middleware 2015-01-18 23:11:21 -07:00
4497a16fb0 Early prototype; initial commit 2015-01-13 12:43:45 -07:00