summaryrefslogtreecommitdiff
path: root/httpd.c
AgeCommit message (Collapse)Author
2024-01-11Support DELETE for Mastodon subscriptionsJames Seward
While testing Mona, I noticed that after deleting my account entry for my snac server, Mona would repeatedly try to delete the subscription it thought it had created, resulting in many unhandled DELETE calls. This accepts the call and returns 200 for it, which makes Mona happy.
2024-01-10New command-line option 'state'.default
2024-01-10Minor code cleaning.default
2024-01-08New state variable top_job_fifo_size.default
2024-01-08Renamed some thread states.default
2024-01-08Added some state flags for threads.default
2024-01-08Non-important variable renaming.default
2024-01-08Rewritten part of the job threads to be leaner and faster.default
2024-01-07Better behaviour on broken queue items.default
2024-01-04Updated copyright year.default
2024-01-03Moved most server state to a structure.default
2023-12-29Minor tweaks to /.well-known/nodeinfo returned data.default
2023-12-26Also log the job_fifo len in status.txt.default
2023-12-26New page status.txt.default
It just return an empty page as a query, but some status logging is done.
2023-12-18Added some crash checks.default
2023-12-18Avoid crashing on missing 'method' or 'path' headers in httpd_connection().default
2023-11-24Use xs_html in the static greeting page.default
2023-11-08Added a tag argument to html_timeline().default
2023-11-08Fixed 'show more' in tag search.default
2023-11-08Tags can now be searched for from the server base URL.default
2023-10-17Added FastCGI support.default
2023-10-14Backport from xs.default
2023-10-08Hide posts from the public web for accounts with 'private' == true.default
2023-09-23Backport from xs.default
2023-08-21The nodeinfo file returns more useful information.default
2023-08-19The hash 'more_headers' is added to the response HTTP headers.default
2023-08-14The instance URL can now show a timeline.default
2023-08-14Sanitize local user names in the greeting page.default
2023-08-12Some mastoapi tweaks to support the semaphore.social web client.default
2023-08-12Archive unattended method errors.default
2023-07-28Updated comment in headers.default
2023-07-24Rollback to 86f507410bc5a1e6ce8bcd34f94400a380143d64 for some reasons.Yonle
Signed-off-by: Yonle <yonle@lecturify.net>
2023-07-24html.c & httpd.c: Fix hardlink.Yonle
Some people may still want to post in the web client with such different way, Such as posting from Yggdrasil / SSH port forwarder, and so on. This commit gives the workaround for that purpose, However things will go messed up when current path were ends with / (Like: user/, admin/). But overall, If user just uses it like normal, Then things will just worked well as expected. Signed-off-by: Yonle <yonle@lecturify.net>
2023-07-02Added HTTP caching to static data.default
2023-06-24The WWW-Authenticate real also includes the user.default
2023-06-24Fixed missing end quote in the WWW-Authenticate header.default
2023-06-18Renamed the HTTP Basic auth realm to something more informative.default
2023-06-05Replace an sprintf() with an snprintf().default
2023-06-05Moved srv_running variable to httpd.c.default
2023-05-25If sem_open() fails, try again with sem_init().default
2023-05-17Got rid of xs_encdec.h.default
2023-05-09Fixed conflict.default
2023-05-09Fixed the issue of semaphore name conflicts.poesty
2023-05-08Print the total running time at httpd stop.default
2023-05-08Moved sem_close() further to the end.default
2023-05-07Added some includes needed for last sem_open() / uintptr_t changes.default
2023-05-07Fix pointer-to-int castSaagar Jha
Resolves "warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction]"
2023-05-07Use named semaphoresSaagar Jha
Unnamed semaphores are not supported on macOS.
2023-05-04Added -Wextra to C flags.default
2023-05-04Added some const here and there.default