← Commit list

945938de10

Viktor Szakats
Viktor Szakats
2026-06-14
SUCCESS Duration: 247s

Subject

rtspd: sync up sleep loop with sws

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

tests/server/rtspd.c+1 -3
@@ -968,11 +968,9 @@ static int rtspd_send_doc(curl_socket_t sock, struct rtspd_httprequest *req)
if(!strcmp("wait", command)) {
logmsg("Told to sleep for %d seconds", num);
quarters = num * 4;
- while(quarters > 0) {
+ while((quarters > 0) && !got_exit_signal) {
quarters--;
res = curlx_wait_ms(250);
- if(got_exit_signal)
- break;
if(res) {
/* should not happen */
int sockerr = SOCKERRNO;