Browse Source

[core] http_response_buffer_append_authority()

make public func for benefit of external, third-party mod_authn_tkt
master
Glenn Strauss 2 months ago
parent
commit
47aa6d4ac8
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      src/http-header-glue.c
  2. +1
    -0
      src/response.h

+ 1
- 1
src/http-header-glue.c View File

@ -31,7 +31,7 @@
__attribute_cold__
static int http_response_buffer_append_authority(request_st * const r, buffer * const o) {
int http_response_buffer_append_authority(request_st * const r, buffer * const o) {
if (!buffer_string_is_empty(&r->uri.authority)) {
buffer_append_string_buffer(o, &r->uri.authority);
} else {


+ 1
- 0
src/response.h View File

@ -51,6 +51,7 @@ handler_t http_response_read(request_st *r, http_response_opts *opts, buffer *b,
__attribute_cold__
handler_t http_response_reqbody_read_error(request_st *r, int http_status);
int http_response_buffer_append_authority(request_st *r, buffer *o);
int http_response_redirect_to_directory(request_st *r, int status);
int http_response_handle_cachable(request_st *r, const buffer *mtime);
void http_response_body_clear(request_st *r, int preserve_length);


Loading…
Cancel
Save