Commit graph

46 commits

Author SHA1 Message Date
Tobie Morgan Hitchcock
4849eb4486 Enable query params to be defined on a connection 2021-04-15 23:02:35 +01:00
Tobie Morgan Hitchcock
7b6472a39b Use asterisk for CORS Origin header response 2021-03-22 19:14:17 +00:00
Tobie Morgan Hitchcock
5f71e04b41 Remove pprof endpoint exposure 2021-03-22 19:13:19 +00:00
Tobie Morgan Hitchcock
36838d2198 Add http pprof profile debugging 2020-11-26 21:37:20 +00:00
Tobie Morgan Hitchcock
94d017242f Decrease idle timeout for keepalive requests 2020-11-19 20:32:09 +00:00
Tobie Morgan Hitchcock
b3fd17045a Increase connection read timeout 2020-03-28 09:59:51 +00:00
Tobie Morgan Hitchcock
480f4b00a9 Ensure connection read timeout is not too small 2020-02-21 13:51:20 +00:00
Tobie Morgan Hitchcock
02442fb6d9 Override default timeout durations 2019-11-21 08:55:14 +00:00
Tobie Morgan Hitchcock
a840f660dd Implement route-specific timeouts 2019-11-21 02:07:13 +00:00
Tobie Morgan Hitchcock
89e84283a4 Increase keepalive idle timeouts for loadbalancers 2019-11-21 00:44:09 +00:00
Tobie Morgan Hitchcock
d0d566bbd9 Improve database speed 2019-11-20 13:20:27 +00:00
Tobie Morgan Hitchcock
2ee1133a4b Simplify command line config arguments 2019-06-16 08:08:23 +01:00
Tobie Morgan Hitchcock
295285707e Don’t use a cookie for unique Session ID 2018-05-14 02:37:49 +01:00
Tobie Morgan Hitchcock
e120f8961c Add server-generated session info to queries 2018-05-12 23:46:01 +01:00
Tobie Morgan Hitchcock
be832029a7 Remove google and syslog logging 2018-04-05 08:51:44 +01:00
Tobie Morgan Hitchcock
26e5ef3978 Fix logic error with http redirects 2017-11-23 14:34:32 +00:00
Tobie Morgan Hitchcock
7bfcf8b7f8 Redirect http requests to https 2017-11-23 13:38:00 +00:00
Tobie Morgan Hitchcock
62739b8154 Add live query support in the web layer to websockets 2017-11-16 20:54:10 +00:00
Tobie Morgan Hitchcock
aeb362e541 Update comments 2017-11-16 20:50:57 +00:00
Tobie Morgan Hitchcock
1ee95333fb Run auth middleware just before gzip middleware 2017-11-16 20:50:52 +00:00
Tobie Morgan Hitchcock
33ab1efb08 Ensure that gzip is the final middleware to be initialised 2017-11-16 20:49:28 +00:00
Tobie Morgan Hitchcock
8f06b958ff Remove TCP deadline timeouts completely
Deadline timeouts are not useful, as they do not give any meaningful http error responses to the end user. Instead we now make use of contexts throught the system to detect query timeouts, and send error messages accordingly.
2017-11-16 20:48:08 +00:00
Tobie Morgan Hitchcock
9fb7eec04b Add specific HTTP CORS headers 2017-11-16 20:46:54 +00:00
Tobie Morgan Hitchcock
fa714c1bdd Listen and wait for errors when server exits 2017-11-16 20:03:38 +00:00
Tobie Morgan Hitchcock
79518591be Log server ‘starting’ and ‘started’ messages 2017-03-24 21:35:46 +00:00
Tobie Morgan Hitchcock
a96a8466cb Add initial golang code tracing and logging 2017-03-03 21:39:37 +00:00
Tobie Morgan Hitchcock
a5aefdb8ba Set HTTP request timeout durations 2017-02-23 22:06:42 +00:00
Tobie Morgan Hitchcock
b1165a6180 Use specific content-type options for each route 2017-02-20 09:45:30 +00:00
Tobie Morgan Hitchcock
20d4bfadef Reduce POST content size to 1MB 2017-02-20 01:44:13 +00:00
Tobie Morgan Hitchcock
30d8016d0c Reorder middleware 2017-02-20 01:44:13 +00:00
Tobie Morgan Hitchcock
55f272a87c Implement database import and export commands 2017-02-20 01:44:13 +00:00
Tobie Morgan Hitchcock
07b5c5ce38 Add code spacing 2017-02-09 10:32:32 +00:00
Tobie Morgan Hitchcock
dfb10a6316 Add support for multipart form content-type 2016-11-21 18:49:08 +00:00
Tobie Morgan Hitchcock
e66435258e Ensure auth is checked after all other middleware 2016-11-14 13:24:48 +00:00
Tobie Morgan Hitchcock
9b25a75a36 Don’t pass in surreal conf options to fibre server 2016-11-04 11:24:46 +00:00
Tobie Morgan Hitchcock
ee2f34bef0 Add simple authentication blueprint to extend further 2016-11-04 11:23:52 +00:00
Tobie Morgan Hitchcock
11ce932f89 Remove old Newrelic integration 2016-10-14 22:55:28 +01:00
Tobie Morgan Hitchcock
4d70f021a3 Use updated fibre library 2016-10-14 22:55:17 +01:00
Tobie Morgan Hitchcock
096c41d91d Accept CBOR Content-Type 2016-10-14 22:54:54 +01:00
Tobie Morgan Hitchcock
7d452b610e Increase maximum body size on PUT/POST 2016-09-14 10:19:08 +01:00
Tobie Morgan Hitchcock
8e2c21af35 Extend graceful shutdown wait timeout 2016-07-06 19:12:14 +01:00
Tobie Morgan Hitchcock
ffea9fc1c5 Remove backup endpoint 2016-07-04 11:36:43 +01:00
Tobie Morgan Hitchcock
085b5e5c95 Update web package 2016-06-18 14:42:06 +01:00
Tobie Morgan Hitchcock
748cc2fe14 Clean before build in development 2016-04-13 15:40:19 +01:00
Tobie Morgan Hitchcock
2d3600f9c4 Use global logging 2016-04-10 16:59:01 +01:00
Tobie Morgan Hitchcock
49a4392efc Implement web interface using Fibre 2016-04-03 22:48:57 +01:00