Skip to content

Commit cd53a47

Browse files
fix request_info bug (#343)
1 parent 75d1359 commit cd53a47

File tree

4 files changed

+0
-23
lines changed

4 files changed

+0
-23
lines changed

src/runtime.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ zend_object* php_parallel_runtime_create(zend_class_entry *type) {
128128
php_parallel_scheduler_init(runtime);
129129

130130
runtime->parent.server = SG(server_context);
131-
runtime->parent.request_info = &SG(request_info);
132131

133132
return &runtime->std;
134133
}

src/runtime.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
| Author: krakjoe |
1616
+----------------------------------------------------------------------+
1717
*/
18-
#include "SAPI.h"
19-
2018
#ifndef HAVE_PARALLEL_RUNTIME_H
2119
#define HAVE_PARALLEL_RUNTIME_H
2220

@@ -34,7 +32,6 @@ typedef struct _php_parallel_runtime_t {
3432
} child;
3533
struct {
3634
void *server;
37-
sapi_request_info *request_info;
3835
} parent;
3936
zend_llist schedule;
4037
zend_object std;

src/scheduler.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ static zend_always_inline php_parallel_runtime_t* php_parallel_scheduler_setup(p
8686
TSRMLS_CACHE_UPDATE();
8787

8888
SG(server_context) = runtime->parent.server;
89-
SG(request_info) = *runtime->parent.request_info;
9089

9190
runtime->child.interrupt = &EG(vm_interrupt);
9291

tests/base/070.phpt

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)