Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ PHP NEWS
- SAPI:
. Fixed fuzzer targets failing to build in isolation. (Mrmaxmeier)
. Fixed returns uninitialized value on LiteSpeed lsapi SAPI (Go Kudo)
. Fixed bug GH-23424 (sapi_lsapi_ub_write() returns str_length - ret
instead of ret when LSAPI_Write() short-writes). (Lazizbek Ergashev)

27 Aug 2026, PHP 8.4.25

Expand Down
2 changes: 1 addition & 1 deletion sapi/litespeed/lsapi_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ static size_t sapi_lsapi_ub_write(const char *str, size_t str_length)
ret = LSAPI_Write( str, str_length );
if ( ret < str_length ) {
php_handle_aborted_connection();
return str_length - ret;
return ret;
}
} else {
remain = str_length;
Expand Down
Loading