Skip to content

Commit 788faeb

Browse files
committed
Avoid error when no headers
1 parent e3749ec commit 788faeb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/redirectionio_protocol.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,9 +225,7 @@ apr_status_t redirectionio_protocol_send_filter_headers(redirectionio_connection
225225
headers = cJSON_GetObjectItem(result, "headers");
226226

227227
if (headers == NULL || headers->type != cJSON_Array) {
228-
ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, "mod_redirectionio: No header present in json result");
229-
230-
return APR_EINCOMPLETE;
228+
return APR_SUCCESS;
231229
}
232230

233231
apr_table_clear(r->headers_out);

0 commit comments

Comments
 (0)