Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.


Browse files Browse the repository at this point in the history
Replace CHECK with return failure and log.
  • Loading branch information
crowell committed Jan 30, 2015
1 parent 90ac91f commit 9da85bb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/
Expand Up @@ -1816,7 +1816,10 @@ ngx_int_t ps_resource_handler(ngx_http_request_t* r,
GoogleString url_string = ps_determine_url(r);
GoogleUrl url(url_string);

if (!url.IsWebValid()) {
ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, "invalid url");

scoped_ptr<RequestHeaders> request_headers(new RequestHeaders);
scoped_ptr<ResponseHeaders> response_headers(new ResponseHeaders);
Expand Down

0 comments on commit 9da85bb

Please sign in to comment.