Skip to content

Commit

Permalink
fix introduced bug
Browse files Browse the repository at this point in the history
  • Loading branch information
boazsegev committed Aug 1, 2024
1 parent bb65ae8 commit cdb7db7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fio-stl.h
Original file line number Diff line number Diff line change
Expand Up @@ -38160,7 +38160,7 @@ FIO_SFUNC int fio____http_write_start(fio_http_s *h,
if (h->status) {
if (args->len && fio___http_response_etag_if_none_match(h))
return -1;
if (!args->len && args->finish) {
if (!args->len && args->finish && h->status >= 400) {
fio_http_send_error_response(h, h->status);
return 0;
}
Expand Down
2 changes: 1 addition & 1 deletion fio-stl/431 http handle.h
Original file line number Diff line number Diff line change
Expand Up @@ -2127,7 +2127,7 @@ FIO_SFUNC int fio____http_write_start(fio_http_s *h,
if (h->status) {
if (args->len && fio___http_response_etag_if_none_match(h))
return -1;
if (!args->len && args->finish) {
if (!args->len && args->finish && h->status >= 400) {
fio_http_send_error_response(h, h->status);
return 0;
}
Expand Down

0 comments on commit cdb7db7

Please sign in to comment.