From: Eric Wong <BOFH@YHBT.net>
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 [thread overview]
Message-ID: <20211225174143.2857074-2-BOFH@YHBT.net> (raw)
In-Reply-To: <20211225174143.2857074-1-BOFH@YHBT.net>
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 */
next prev parent reply other threads:[~2021-12-25 17:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-25 17:41 [PATCH 0/3] Ruby 3.1 + doc/URL updates Eric Wong
2021-12-25 17:41 ` Eric Wong [this message]
2021-12-25 17:41 ` [PATCH 2/3] drop Ruby version warning, fix speling errer Eric Wong
2021-12-25 17:41 ` [PATCH 3/3] doc: v3 .onion updates, nntp => nntps, minor wording changes Eric Wong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://yhbt.net/unicorn/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211225174143.2857074-2-BOFH@YHBT.net \
--to=bofh@yhbt.net \
--cc=unicorn-public@yhbt.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhbt.net/unicorn.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).