Skip to content

Instantly share code, notes, and snippets.

diff --git a/src/php/ext/grpc/call.c b/src/php/ext/grpc/call.c
index 1abc4a3faf..7bc711be67 100644
--- a/src/php/ext/grpc/call.c
+++ b/src/php/ext/grpc/call.c
@@ -451,7 +451,8 @@ PHP_METHOD(Call, startBatch) {
op_num++;
PHP_GRPC_HASH_FOREACH_END()
- error = grpc_call_start_batch(call->wrapped, ops, op_num, call->wrapped,
+ grpc_call *wrapped = call->wrapped;
diff --git a/src/php/ext/grpc/call.c b/src/php/ext/grpc/call.c
index 1abc4a3faf..7bc711be67 100644
--- a/src/php/ext/grpc/call.c
+++ b/src/php/ext/grpc/call.c
@@ -451,7 +451,8 @@ PHP_METHOD(Call, startBatch) {
op_num++;
PHP_GRPC_HASH_FOREACH_END()
- error = grpc_call_start_batch(call->wrapped, ops, op_num, call->wrapped,
+ grpc_call *wrapped = call->wrapped;
2023-07-24T08:23:28.002181-07:00 debry /usr/libexec/gdm-x-session[4061]: Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.4.2-rasmus root=UUID=aaca0455-e89a-469c-a572-0b36183555aa ro quiet ignore_rlimit_data iommu=pt nvidia-drm.modeset=1 rd.driver.blacklist=nouveau
2023-07-24T08:23:28.002212-07:00 debry /usr/libexec/gdm-x-session[4061]: xorg-server 2:21.1.7-3 (https://www.debian.org/support)
2023-07-24T08:23:28.002249-07:00 debry /usr/libexec/gdm-x-session[4061]: Current version of pixman: 0.42.2
2023-07-24T08:23:28.002279-07:00 debry /usr/libexec/gdm-x-session[4061]: #011Before reporting problems, check http://wiki.x.org
2023-07-24T08:23:28.002308-07:00 debry /usr/libexec/gdm-x-session[4061]: #011to make sure that you have the latest version.
2023-07-24T08:23:28.002337-07:00 debry /usr/libexec/gdm-x-session[4061]: Markers: (--) probed, (**) from config file, (==) default setting,
2023-07-24T08:23:28.002366-07:00 debry /usr/libexec/gdm-x-session[4061]: #011(++) from command line, (!!) notice, (II) informationa
diff --git a/sapi/apache2handler/php_functions.c b/sapi/apache2handler/php_functions.c
index e7d29450ee..1c3900b952 100644
--- a/sapi/apache2handler/php_functions.c
+++ b/sapi/apache2handler/php_functions.c
@@ -26,6 +26,7 @@
#include "zend_smart_str.h"
#include "ext/standard/info.h"
#include "ext/standard/head.h"
+#include "php_main.h"
#include "php_ini.h"
diff --git a/sapi/apache2handler/php_functions.c b/sapi/apache2handler/php_functions.c
index e7d29450ee..066d2abbc9 100644
--- a/sapi/apache2handler/php_functions.c
+++ b/sapi/apache2handler/php_functions.c
@@ -358,6 +358,26 @@ PHP_FUNCTION(apache_get_modules)
}
/* }}} */
+PHP_FUNCTION(apache_finish_request)
+{
C Size ratio% C MB/s D MB/s SCORE Name File
46 52.3 3.26 inf 0.00 zlib 6 file-88_bytes-serialize
46 52.3 3.26 inf 0.00 zlib 9 file-88_bytes-serialize
50 56.8 44.00 inf 0.00 zstd 1 file-88_bytes-serialize
50 56.8 8.80 inf 0.00 zstd 3 file-88_bytes-serialize
51 58.0 3.26 88.00 0.00 zlib 1 file-88_bytes-serialize
51 58.0 3.26 88.00 0.00 zlib 3 file-88_bytes-serialize
56 63.6 2.75 inf 0.00 zstd 6 file-88_bytes-serialize
56 63.6 0.62 inf 0.00 zstd 9 file-88_bytes-serialize
71 80.7 inf inf 0.00 fastlz 1 file-88_bytes-serialize
C Size ratio% C MB/s D MB/s SCORE Name File
524 50.9 25.72 257.25 0.00 zlib 6 file-1k-json
564 54.8 68.60 514.50 0.00 zstd 3 file-1k-json
577 56.1 171.50 514.50 0.00 zstd 1 file-1k-json
C Size ratio% C MB/s D MB/s SCORE Name File
638 31.6 48.12 404.20 0.00 zlib 6 file-1.97k-json
680 33.6 118.88 673.67 0.00 zstd 3 file-1.97k-json
685 33.9 288.71 1010.50 0.00 zstd 1 file-1.97k-json
C Size ratio% C MB/s D MB/s SCORE Name File
524 50.9 25.10 257.25 0.00 zlib 6 file-1k-json
524 50.9 25.10 257.25 0.00 zlib 9 file-1k-json
541 52.6 26.38 257.25 0.00 zlib 1 file-1k-json
550 53.4 0.02 343.00 0.05 zstd 22 file-1k-json
553 53.7 1.14 514.50 0.00 zstd 10 file-1k-json
564 54.8 68.60 514.50 0.00 zstd 3 file-1k-json
577 56.1 171.50 514.50 0.00 zstd 1 file-1k-json
724 70.4 93.55 inf 0.00 lz4 10 file-1k-json
724 70.4 79.15 inf 0.00 lz4 16 file-1k-json
diff --git a/php_memcached.c b/php_memcached.c
index 8e4fa41..252f0c1 100644
--- a/php_memcached.c
+++ b/php_memcached.c
@@ -37,6 +37,8 @@
#endif
#include <zlib.h>
+#include <zstd.h>
+
13:53:39.981 INFO cuda:0 Session 1681477031942 starting task 139704256319984 on NVIDIA GeForce RTX 4090 task_manager.py:312
13:53:39.984 INFO cuda:0 request: {'guidance_scale': 7.5, renderer.py:64
'height': 768,
'hypernetwork_strength': 0,
'lora_alpha': 0,