Commit graph

7 commits

Author SHA1 Message Date
c7cce5479d
Create archiver and offline code handlers
Somewhat messy. Will clean up gradually in future commits.
2023-02-06 23:56:03 +13:00
5813c49261
Refactor Referrer-Policy header
- Change the variable to always-headers so it can be extended in the future
- New function build-headers that assists combining complex logic headers
  together with less mess
- Also apply headers to the proxy
2022-10-09 23:45:55 +13:00
10cdd260e0
Close response after error in proxy 2022-10-04 21:00:33 +13:00
a2ec8bb923
Fix image loading not working after a while
http-easy connections are pooled, and streaming responses does not
automatically close the response (they are closed automatically in
other situations). After 128 (the default) opened connections to fetch
images, the pool ran out of connections, and future attempts would
just time out waiting for a connection.

Fixed by manually closing the connection at the correct time.
2022-09-03 19:55:17 +12:00
3f1aeb8414
Show details about page-proxy http errors 2022-09-01 16:04:48 +12:00
556c74cc53
Remove unnecessary requires in page-proxy 2022-09-01 14:56:07 +12:00
80f03aac18
Initial commit
* Viewing for wiki pages
* Searches
* Categories
* Logo
* Image proxy
* Config loaded from config.txt
* AGPL 3 license
2022-08-23 22:15:24 +12:00