Skip to content

Change array to string when rack response part is kind of Array#32

Closed
LTe wants to merge 2 commits intonewrelic:masterfrom
LTe:array_path
Closed

Change array to string when rack response part is kind of Array#32
LTe wants to merge 2 commits intonewrelic:masterfrom
LTe:array_path

Conversation

@LTe
Copy link
Copy Markdown

@LTe LTe commented Aug 1, 2011

No description provided.

@bkayser
Copy link
Copy Markdown
Contributor

bkayser commented Aug 3, 2011

Thanks for the commit, Piotr. Can you elaborate on why this is necessary? According to the Rack spec the fragments must already be strings.

@pglombardo
Copy link
Copy Markdown

This may only be indirectly related but we've identified an issue where the fragments arrive at this point as an Array which is causing a large number of failed requests for us. Based on your statement about the Rack spec, this would indicate the problem is higher in the stack.

This may have prompted LTe's initial pull request.

https://support.newrelic.com/help/discussions/support/8881-newrelic_rpm-gem-v311-typeerror-cant-convert-array-into-string

FYI.

@samg
Copy link
Copy Markdown
Contributor

samg commented Oct 11, 2012

Thanks for the contributions!

I'm closing this pull request. It seems like the agent's current behavior is correct, based on the Rack spec.

@samg samg closed this Oct 11, 2012
benweint added a commit that referenced this pull request Feb 28, 2013
RUBY-1004 Fix a Resque file descriptor leak when DontPerform exceptions are used
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants