Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-09-01 | The fork+exec diff broke "what?!", the ps_what field determines the | Reyk Floeter | |
configuration that has to be initialized in each process and was inherited from the parent instead of setting it everywhere. I'm surprised that it worked. OK florian | |||
2016-09-01 | Don't print "lost child" if the child process exited okay. This is | Reyk Floeter | |
the old behaviour and unbreaks the regress tests. | |||
2016-09-01 | struct client starts to become the kitchen sink. Move fastcgi data to | Florian Obser | |
its own struct. Requested by and OK reyk@ | |||
2016-09-01 | spacing | Reyk Floeter | |
2016-09-01 | Adjust log message, use process title now that it works again | Reyk Floeter | |
2016-09-01 | Teach httpd/proc.c how to fork+exec. | Rafael Zalamena | |
This commit implemented the basic functions to proc.c to make it not rely on global variables, malloc()ed memory and CLOEXEC pipes. Fix child proc titles from reyk@ ok reyk@, florian@ | |||
2016-08-30 | Kill (remove) the ps_pid from privsep struct since it is not being used | Rafael Zalamena | |
anymore. Also fix the process initialization prototypes. ok reyk@ | |||
2016-08-30 | Terminate daemon using the socket status instead of watching SIGCHLD or | Rafael Zalamena | |
kill()ing child process. "Looks good to me" millert@ ok benno@ | |||
2016-08-30 | Remove duplicated prototypes from header. | Rafael Zalamena | |
"Looks good to me" natano@ | |||
2016-08-30 | Do not assume that the full http response header is in the first | Florian Obser | |
fastcgi stdout record. Keep processing stdout records until we found the header / body separator and only then generate the header response. Problem reported by many. OK jung@ | |||
2016-08-27 | Kill p_instance from proc.c and remove static proc_id unused variables. | Rafael Zalamena | |
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@ | |||
2016-08-26 | Kill the ps_ninstances from proc.c. | Rafael Zalamena | |
We got the same information in ps_instances[proc] (more accurate) and we avoid allocating unnecessary memory for pipe storage. ok reyk@ | |||
2016-08-26 | Replace the static env variables with a single global variable. | Rafael Zalamena | |
ok reyk@ | |||
2016-08-22 | Enable SNI support in httpd(8). | Joel Sing | |
ok reyk@ | |||
2016-08-16 | stop including sys/param.h for nitems. define locally as needed. | Ted Unangst | |
ok natano reyk | |||
2016-08-16 | Turn "TLS handshake failed -" log message into a debug message - it | Reyk Floeter | |
happens way too often and does not provide much information. OK jung@ | |||
2016-08-16 | Rename server_handshake_tls() to server_tls_handshake() to align with | Reyk Floeter | |
the other server_tls_* functions (and I like the prefix notation better). No functional change. | |||
2016-08-15 | Move server_match() from parse.y to server.c; use env instead of conf, | Joel Sing | |
which is actually the same thing (cluebat from reyk@). | |||
2016-08-15 | Use lowercase 'tls' in debug and log messages for consistency. | Joel Sing | |
Requested by reyk@ | |||
2016-08-15 | Make httpd stricter with respect to TLS configuration - in particular, do | Joel Sing | |
not allow TLS and non-TLS to be configured on the same port, do not allow TLS options to be specified without a TLS listener and ensure that the TLS options are the same when a server is specified on the same address/port. Currently, these configurations are permitted but do not work as intended. Also factor out and reuse the server matching code, which was previously duplicated. ok reyk@ | |||
2016-08-01 | sync http.h with relayd | Sebastian Benoit | |
ok reyk@ | |||
2016-07-27 | According to RFC 7231 4.3.7, OPTIONS may have body. "Although this | Reyk Floeter | |
specification does not define any use for such a payload, future extensions to HTTP might use the OPTIONS body to make more detailed queries about the target resource." The future has arrived. Found and tested by Michael Lechtermann OK benno@ | |||
2016-07-13 | Adjust existing tls_config_set_cipher() callers for TLS cipher group | Joel Sing | |
changes - map the previous configuration to the equivalent in the new groups. This will be revisited post release. Discussed with beck@ | |||
2016-06-21 | do not allow whitespace in macro names, i.e. "this is" = "a variable". | Sebastian Benoit | |
change this in all config parsers in our tree that support macros. problem reported by sven falempin. feedback from henning@, stsp@, deraadt@ ok florian@ mikeb@ | |||
2016-06-10 | grammar fix; from nick permyakov | Jason McIntyre | |
2016-06-10 | & expands to the maximum amount of needed space; fix comment. | Florian Obser | |
Pointed out by Frank Schoep, thanks! | |||
2016-05-31 | Unbreak compilation with -DDEBUG. | Joel Sing | |
From Fabian Raetz <fabian dot raetz at gmail dot com> | |||
2016-05-27 | Return "400 Bad Request" instead of "500 Server Internal Error" for | Kenneth R Westerback | |
requests lacking "HTTP/<version>". This makes it more obvious that httpd(8) does not attempt to support HTTP v0.9 (circa 1991), when "GET <url>\r\n" was valid. ok millert@ florian@ | |||
2016-05-22 | makes sure the value of the asprintf buffer is zeroed on error | Joerg Jung | |
from Hiltjo Posthuma "do." deraadt | |||
2016-05-22 | fix unbalanced va_start and va_end macros | Joerg Jung | |
from Hiltjo Posthuma "do." deraadt | |||
2016-05-17 | Repair some file descriptor leaks. | Theo de Raadt | |
ok beck krw millert | |||
2016-05-09 | in the http redirect example, also include the requested url instead | T.J. Townsend | |
of just going to the home page. requested by and ok beck | |||
2016-04-28 | Avoid unusual Content-Type: even in an example; | Ingo Schwarze | |
people might get hurt when doing copy & paste. Patch from Hiltjo Posthuma <hiltjo at codemadness dot org>. OK florian@ jmc@ | |||
2016-04-28 | Include the TLS configuration errors in log messages. Also set the | Joel Sing | |
certificate and private key at the same time. | |||
2016-04-28 | Simplify TLS configuration handling. Instead of matching by address/port, | Joel Sing | |
match by configuration ID. This also prevents a memory leak when there are multiple certificates specified for the same server. ok beck@ | |||
2016-04-24 | new sentence, new line; | Jason McIntyre | |
2016-04-24 | Document CGI variables. Work done by Tim Baumgard <openbsd@bmgrd.com> | Christopher Zimmermann | |
I clarified DOCUMENT_URI and SCRIPT_NAME. ok florian@ | |||
2016-04-24 | Always pass QUERY_STRING variable. | Christopher Zimmermann | |
According to the RFC it is empty when no query string was found. From Tim Baumgard <openbsd@bmgrd.com>o ok florian@ | |||
2016-04-20 | from tim baumgard: a location section may not include hsts; | Jason McIntyre | |
to that, i've added alias and tls no feedback on this diff, so let's hope i'm right/. | |||
2016-04-19 | Use log_warnx() instead of log_warn() when the failure will not have | Joel Sing | |
resulted in errno being set. ok reyk@ | |||
2016-03-08 | Set content charset for auto index generated page. | Florian Obser | |
Pointed out and diff by dhill, thanks! Tweaks and same change for error documents by me. | |||
2016-02-14 | httpd patterns double free | Sebastien Marie | |
issue and diff from Alexander Schrijver alex at flupzor nl ok reyk@ | |||
2016-02-11 | Back out previous; requested by jung@ | Tim van der Molen | |
2016-02-11 | Include the server port number in the common and combined logs. This is useful | Tim van der Molen | |
to distinguish between http and https requests. OK florian@ reyk@ a while ago | |||
2016-02-02 | Remove setproctitle() for the parent process. Because rc.d(8) uses process | Stuart Henderson | |
titles (including flags) to distinguish between daemons, this makes it possible to manage multiple copies of a daemon using the normal infrastructure by symlinking rc.d scripts to a new name. ok jung@ ajacoutot@, smtpd ok gilles@ | |||
2015-12-12 | Remove a needless inclusion of sys/cdefs.h. Inspired by reyk's recent | mmcc | |
commit doing the same. | |||
2015-12-07 | No need to check for NULL before free(). | mmcc | |
2015-12-07 | Add imsg "peerid" to debug messages (only within -DDEBUG). | Reyk Floeter | |
2015-12-07 | sync with vmd | Reyk Floeter | |
2015-12-05 | EAGAIN handling for imsg_read. OK henning@ benno@ | Claudio Jeker | |