Skip to content
This repository was archived by the owner on Nov 28, 2018. It is now read-only.

fixed bug with space added in a return frame. #21

Closed
wants to merge 1 commit into from
Closed

fixed bug with space added in a return frame. #21

wants to merge 1 commit into from

Conversation

kapad
Copy link

@kapad kapad commented Dec 16, 2012

a return frame passed from the server has a space added to all teh values in the headers. Maybe other properties too.

When we try to retrieve the this_frame.headers.destination property of -subscribed_to an error is thrown.

@benjaminws
Copy link
Owner

Sorry to have let this go forgotten. I suck. 😞

I think we should handle this a bit earlier in the process, like when we extract the headers from the payload. Also, I'm pretty sure node has a string trim. We're already extracting them as strings, so we should probably just do that. I'll whip up a fresh patch later tonight.

benjaminws added a commit that referenced this pull request Mar 6, 2013
…lay boyscout, leave it a bit better than I found it.
@benjaminws
Copy link
Owner

I'm not going to merge this. I addressed it in a different way.

Thanks for bringing it to my attention!

So it's tracked, e4f84de also contains a fix because I'm a dum dum

@benjaminws benjaminws closed this Mar 6, 2013
@kapad kapad deleted the space-headers branch March 14, 2013 20:30
@kapad
Copy link
Author

kapad commented Mar 14, 2013

Sounds good. Thanks.
Deleted the merge request too.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants