Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
diff --git a/src/http/ b/src/http/
index f942c33f3..ade289eb1 100644
--- a/src/http/
+++ b/src/http/
@@ -110,7 +110,7 @@ class HTTP::Request
request = new line.method, line.resource, headers, body, line.http_version, internal: nil
if io.responds_to?(:remote_address)
- request.remote_address = io.remote_address.try &.to_s
+ #request.remote_address = io.remote_address.try &.to_s
return request
diff --git a/src/string/ b/src/string/
index bd6f94b8f..71aa58e1a 100644
--- a/src/string/
+++ b/src/string/
@@ -106,7 +106,7 @@ class String::Builder < IO
# Try to reclaim some memory if capacity is bigger than what we need
real_bytesize = real_bytesize()
if @capacity > real_bytesize
- resize_to_capacity(real_bytesize)
+ #resize_to_capacity(real_bytesize) # expensive GC!
header ={Int32, Int32, Int32}*)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.