mirror of
https://github.com/php/frankenphp.git
synced 2026-03-24 00:52:11 +01:00
Fixes tests.
This commit is contained in:
@@ -345,7 +345,7 @@ func go_frankenphp_send_request(threadIndex C.uintptr_t, zv *C.zval, name *C.cha
|
||||
return phpThreads[threadIndex].pinCString("No worker found to handle this task: " + C.GoStringN(name, C.int(nameLen)))
|
||||
}
|
||||
|
||||
if w.httpEnabled == nil {
|
||||
if w.httpEnabled {
|
||||
return phpThreads[threadIndex].pinCString("Cannot call frankenphp_send_request() on a HTTP worker: " + C.GoStringN(name, C.int(nameLen)))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user