newrelic/rpm — pull request #138 by michaeldauria (2013-10-18 19:46:52+00:00)
Title: http_put_with_newrelic recursively calling itself?

I ran into this issue in production when I was trying to use the Tire gem (I know its deprecated, that's unrelated) and saw this in my log:

```
/.../shared/bundle/ruby/1.9.1/gems/newrelic_rpm-3.6.8.164/lib/new_relic/agent/instrumentation/curb.rb:47:in `http_put_with_newrelic': wrong number of arguments (1 for 2) (ArgumentError)
from /.../shared/bundle/ruby/1.9.1/bundler/gems/tire-d50635905458/lib/tire/http/clients/curb.rb:39:in `put'
```

If you look below, you will see that it seems like `http_put_with_newrelic` will end up calling itself recursively, is this a mistake?

I don't think this will solve my error, but it still seems like an issue.