Up to [local] / src / usr.sbin / httpd
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.21 / (download) - annotate - [select for diffs], Thu Nov 21 13:38:45 2024 UTC (5 months, 2 weeks ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_7_7_BASE, OPENBSD_7_7, HEAD
Changes since 1.20: +8 -3 lines
Diff to previous 1.20 (colored)
Convert various reyk proc.c daemons over to new imsgbuf_init and imsgbuf_allow_fdpass. OK tb@
Revision 1.20 / (download) - annotate - [select for diffs], Thu Nov 21 13:21:34 2024 UTC (5 months, 2 weeks ago) by claudio
Branch: MAIN
Changes since 1.19: +2 -3 lines
Diff to previous 1.19 (colored)
Convert the common imsgbuf_read calls to the post EAGAIN world. OK tb@
Revision 1.19 / (download) - annotate - [select for diffs], Thu Nov 21 13:17:57 2024 UTC (5 months, 2 weeks ago) by claudio
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)
Use imsgbuf_clear() where appropriate instead of msgbuf_clear(). OK tb@
Revision 1.18 / (download) - annotate - [select for diffs], Thu Nov 21 13:17:02 2024 UTC (5 months, 2 weeks ago) by claudio
Branch: MAIN
Changes since 1.17: +5 -5 lines
Diff to previous 1.17 (colored)
Rename imsg_init, imsg_clear, imsg_read, imsg_write and imsg_flush to imsgbuf_init, imsgbuf_clear, imsgbuf_read, imsgbuf_write and imsgbuf_flush. This separates the imsgbuf API from the per-imsg API. OK tb@
Revision 1.17 / (download) - annotate - [select for diffs], Thu Nov 21 13:16:07 2024 UTC (5 months, 2 weeks ago) by claudio
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)
Convert imsg_write() callers to the new simplified return logic. OK tb@
Revision 1.16 / (download) - annotate - [select for diffs], Thu Nov 21 13:10:36 2024 UTC (5 months, 2 weeks ago) by claudio
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)
Introduce imsg_write() and use it instead of msgbuf_write(). imsg_write() is just a thin wrapper around msgbuf_write(). So this is mostly search and replace. OK tb@
Revision 1.15 / (download) - annotate - [select for diffs], Wed Mar 8 04:43:13 2023 UTC (2 years, 2 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_7_6_BASE, OPENBSD_7_6, OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3
Changes since 1.14: +1 -3 lines
Diff to previous 1.14 (colored)
Delete obsolete /* ARGSUSED */ lint comments. ok miod@ millert@
Revision 1.14 / (download) - annotate - [select for diffs], Tue Apr 20 21:11:56 2021 UTC (4 years ago) by dv
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)
Move TAILQ initialization to files where they are used. These priv-sep daemons all follow a similar design and use TAILQs for tracking control process connections. In most cases, the TAILQs are initialized separate from where they are used. Since the scope of use is generally confined to a specific control process file, this commit also removes any extern definitions and exposing the TAILQ structures to other compilation units. ok bluhm@, tb@
Revision 1.13 / (download) - annotate - [select for diffs], Mon Jan 9 14:49:22 2017 UTC (8 years, 4 months ago) by reyk
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)
Stop accessing verbose and debug variables from log.c directly. This replaces log_verbose() and "extern int verbose" with the two functions log_setverbose() and log_getverbose(). Pointed out by benno@ OK krw@ eric@ gilles@ (OK gilles@ for the snmpd bits as well)
Revision 1.12 / (download) - annotate - [select for diffs], Mon Jan 9 14:04:31 2017 UTC (8 years, 4 months ago) by krw
Branch: MAIN
Changes since 1.11: +5 -4 lines
Diff to previous 1.11 (colored)
Replace hand-rolled for(;;) traversal of ctl_conns TAILQ with TAILQ_FOREACH(). No intentional functional change. ok reyk@
Revision 1.11 / (download) - annotate - [select for diffs], Thu Sep 1 10:59:38 2016 UTC (8 years, 8 months ago) by reyk
Branch: MAIN
Changes since 1.10: +3 -2 lines
Diff to previous 1.10 (colored)
spacing
Revision 1.10 / (download) - annotate - [select for diffs], Sat Aug 27 11:13:16 2016 UTC (8 years, 8 months ago) by rzalamena
Branch: MAIN
Changes since 1.9: +5 -5 lines
Diff to previous 1.9 (colored)
Kill p_instance from proc.c and remove static proc_id unused variables. To keep the debug functionality intact and correct we'll use the pid field in the imsg header to pass the instance number. Remember to always pass 'ps_instance + 1' otherwise libutil will fill imsg header pid field with the imsgbuf pid (which is the current process pid). ok reyk@
Revision 1.9 / (download) - annotate - [select for diffs], Sat Dec 5 13:15:27 2015 UTC (9 years, 5 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.8: +3 -2 lines
Diff to previous 1.8 (colored)
EAGAIN handling for imsg_read. OK henning@ benno@
Revision 1.8 / (download) - annotate - [select for diffs], Mon Nov 23 20:56:14 2015 UTC (9 years, 5 months ago) by reyk
Branch: MAIN
Changes since 1.7: +4 -24 lines
Diff to previous 1.7 (colored)
Retire socket_set_blockmode() in favor of the SOCK_NONBLOCK type flag. As done in iked and snmpd. OK jung@
Revision 1.7 / (download) - annotate - [select for diffs], Thu May 28 17:08:08 2015 UTC (9 years, 11 months ago) by florian
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.6: +1 -2 lines
Diff to previous 1.6 (colored)
Do not try to unlink the control socket in an unprivileged child process on shutdown. Found while working on tame(2). OK benno@
Revision 1.6 / (download) - annotate - [select for diffs], Wed Jan 21 22:21:05 2015 UTC (10 years, 3 months ago) by reyk
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.5: +3 -6 lines
Diff to previous 1.5 (colored)
httpd is based on relayd and had included many headers that are only needed by its ancestor. jsg@, include-what-you-use, and some manual review helped to cleanup the headers (take iwyu with a grain of salt). Based on common practice, httpd.h now also includes the necessary headers for itself. OK florian@
Revision 1.5 / (download) - annotate - [select for diffs], Sun Dec 21 00:54:49 2014 UTC (10 years, 4 months ago) by guenther
Branch: MAIN
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (colored)
Stop pulling in <arpa/inet.h> or <arpa/nameser.h> when unnecessary. *Do* pull it in when in_{port,addr}_h is needed and <netinet/in.h> isn't. ok reyk@
Revision 1.4 / (download) - annotate - [select for diffs], Mon Aug 4 15:49:28 2014 UTC (10 years, 9 months ago) by reyk
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored)
Add initial support for log files in /var/www/logs/. Logging with syslog is still supported but disabled by default. ok deraadt@
Revision 1.3 / (download) - annotate - [select for diffs], Mon Aug 4 11:09:25 2014 UTC (10 years, 9 months ago) by reyk
Branch: MAIN
Changes since 1.2: +1 -3 lines
Diff to previous 1.2 (colored)
httpd doesn't support SSL/TLS yet, remove the remaining bits. The secrect plan is to add it later using the ressl wrapper library.
Revision 1.2 / (download) - annotate - [select for diffs], Mon Aug 4 06:35:31 2014 UTC (10 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)
no need for param.h
Revision 1.1 / (download) - annotate - [select for diffs], Sat Jul 12 23:34:54 2014 UTC (10 years, 10 months ago) by reyk
Branch: MAIN
Add httpd(8), an attempt to turn the relayd(8) codebase into a simple web server. It is not finished yet and I just started it today, but the goal is to provide an HTTP server that a) provides minimal features, b) serves static files, c) provides FastCGI support, and d) follows common coding practices of OpenBSD. It will neither support plugins, nor custom memory allocators, EBCDIC support, PCRE or any other things that can be found elsewhere. httpd(8) is not intended to provide a fully-featured replacement for nginx(8) or the Apache, but it will provide enough functionality that is needed in the OpenBSD base system. ok deraadt@
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.3