Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edge case on API < 16 #5

Open
elevenfive opened this issue Jun 19, 2013 · 4 comments
Open

Edge case on API < 16 #5

elevenfive opened this issue Jun 19, 2013 · 4 comments

Comments

@elevenfive
Copy link

https://gist.github.com/elevenfive/c5cab352ca368bba3087

Take a look! I confirmed this breaks on < 16. It doesn't break for all URLs. For example, Paypal's site doesn't expose the issue for some reason.

Important details:
#1: The first test that runs creates a pinned connection which succeeds. The second test then tries to make another connection without pins. That 2nd test should not be able to make the connection but for some reason can.
#2: You must attempt to use the stream returned during the test. This happens with the lines:

InputStreamReader isr = new InputStreamReader(respStream);
String respString = readFully(isr);

Any ideas?

@moxie0
Copy link
Owner

moxie0 commented Jun 19, 2013

Thanks, could you submit a test case?

@elevenfive
Copy link
Author

There is some sort of other strangeness going on - when I tried to replicate the problem directly in a test case in this project I was unable to do so.

@moxie0
Copy link
Owner

moxie0 commented Jun 20, 2013

Please keep me updated if you figure out what's happening.

@elevenfive
Copy link
Author

I added a test case in a gist above. (I don't know if you got notified when i edited that comment or not)

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

No branches or pull requests

2 participants