Commit Graph

121 Commits

Author SHA1 Message Date
tastytea 9ff1cc0acf
Added algorithm include, fixed off-by-one error in http::get_parameter() 2018-11-26 04:27:11 +01:00
tastytea 75841d87a4
Restricted image size.
Fixes #1
2018-11-26 04:20:27 +01:00
tastytea b8ca3f6d13
Made a function for parameter parsing 2018-11-26 04:19:58 +01:00
tastytea c0c31f5093
Put the request parsing into a dedicated file. 2018-11-26 04:08:03 +01:00
tastytea 76f45a0dd8
Added unencrypted server block to nginx example. 2018-11-26 02:58:41 +01:00
tastytea ee2a118c1f
Added some headers.
Cache-Control: max-age=86400
Connection: close
Server: libravatarserv/version
2018-11-26 02:36:20 +01:00
tastytea a2254a9ae5
Fixed readme a bit. 2018-11-26 02:25:25 +01:00
tastytea fb003da2d6
Included algorithm, for std::transform 2018-11-26 02:20:33 +01:00
tastytea e893a4066f
Added support for size (not just s)
Fixes #3
2018-11-25 10:59:09 +01:00
tastytea 7efec890f7
Return 404 if image is not found 2018-11-25 08:35:43 +01:00
tastytea a094dd2896
Added DNS record documentation 2018-11-25 07:59:17 +01:00
tastytea 63540add66
Removed a debug statement that got in the way 2018-11-25 07:31:06 +01:00
tastytea 7f87ab969c
Bugfix: Re-used a variable that I shouldn't have reused. 2018-11-25 07:28:41 +01:00
tastytea 74da3609fc
Forgot to turn writing to stdout back on 2018-11-25 07:25:21 +01:00
tastytea b073f2e0d6
Added support for different sizes 2018-11-25 07:23:20 +01:00
tastytea 30ec8f0657
Updated readme 2018-11-25 06:33:32 +01:00
tastytea 8f0baeb028
Changed default filename drom default.png to default. 2018-11-25 06:32:26 +01:00
tastytea f550b7b048
Oops, forgot to commit in between. :-) 2018-11-25 06:00:45 +01:00
tastytea a0ecad23d9
First test: Output png 2018-11-24 12:40:49 +01:00
tastytea fd395355fb
Fixed nginx example 2018-11-24 11:47:43 +01:00
tastytea 8f9ee1554f
Initial commit 2018-11-24 11:38:10 +01:00