From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id D224E1F9FC; Sat, 25 Dec 2021 17:41:43 +0000 (UTC) From: Eric Wong To: unicorn-public@yhbt.net Subject: [PATCH 1/3] epollexclusive: remove rb_gc_force_recycle call Date: Sat, 25 Dec 2021 17:41:41 +0000 Message-Id: <20211225174143.2857074-2-BOFH@YHBT.net> In-Reply-To: <20211225174143.2857074-1-BOFH@YHBT.net> References: <20211225174143.2857074-1-BOFH@YHBT.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: It's deprecated in Ruby 3.1+, and probably not relevant for past versions. --- ext/unicorn_http/epollexclusive.h | 1 - 1 file changed, 1 deletion(-) diff --git a/ext/unicorn_http/epollexclusive.h b/ext/unicorn_http/epollexclusive.h index 2d2a589b..677e1fe3 100644 --- a/ext/unicorn_http/epollexclusive.h +++ b/ext/unicorn_http/epollexclusive.h @@ -110,7 +110,6 @@ get_readers(VALUE epio, VALUE ready, VALUE readers, VALUE timeout_msec) rb_ary_push(ready, obj); } rb_str_resize(buf, 0); - rb_gc_force_recycle(buf); return Qfalse; } #endif /* USE_EPOLL */