Skip to content

Commit

Permalink
Fix failure to build when SSL is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
mas90 committed Jan 12, 2016
1 parent 0fbc202 commit 189f0a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ngx_http_raven_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@ static ngx_int_t ngx_http_raven_handler(ngx_http_request_t *r) {
WLS_REQUEST.url_escaped = (char *) ngx_pcalloc(r->pool, 3*(16 + r->headers_in.server.len + r->uri.len) + 1); // Same as above, but three times bigger for maximum possible escaping

#if (NGX_HTTP_SSL)
if(r->http_connection.ssl) // Make an "https://" prefixed url
if(r->http_connection->ssl) // Make an "https://" prefixed url
{
ngx_sprintf((u_char *)WLS_REQUEST.url, "https://%s:%s%s", (char *) r->headers_in.server.data, port,
uri);
Expand Down

0 comments on commit 189f0a0

Please sign in to comment.