Olivier Lamy wrote:
2008/12/2 Oleg Kalnichevski <[EMAIL PROTECTED]>:
Olivier Lamy wrote:
Hi,
I'm trying to write a custom ssl socket to handle self signed
certificates).
I have the following exception :
Caused by: java.lang.IllegalStateException: Unable to establish route.
planned = HttpRoute[{}->https://localhost:443]
current = HttpRoute[{s}->https://localhost:443]
Any ideas ?
Thanks,
--
Olivier
Hi Olivier
Apparently there is a mismatch in the security level of expected and
effective routes.
I _assume_ there is something wrong with the custom socket factory you are
using. Does the socket factory implement LayeredSocketFactory interface?
I have implemented this interface and all works fine now.
Thansk !
A code snippet or a debug / wire log would be quite handy.
Commit is here : http://svn.apache.org/viewvc?view=rev&revision=722631
(If any comment do not hesitate :-) ).
Hi Olivier,
It is no longer necessary to override #hashCode() / #equals(). Otherwise
looks all right.
Cheers
Oleg
Oleg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Olivier
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]