Re: How Do I Set SNI(Server Name Indentification)

2023-08-10 Thread Jochen Wiedmann
gs null for SNI > > На чт, 10.08.2023 г. в 22:21 ч. Jochen Wiedmann > написа: > > > On Thu, Aug 10, 2023 at 9:14 PM Petar Tahchiev > > wrote: > > > > > I found this gist which tells how to provide a SNI: > > > > > > https://gist.github.

Re: How Do I Set SNI(Server Name Indentification)

2023-08-10 Thread Jochen Wiedmann
On Thu, Aug 10, 2023 at 9:14 PM Petar Tahchiev wrote: > I found this gist which tells how to provide a SNI: > > https://gist.github.com/jkuipers/e0b35c21c466a9b4d88a > > but it is for HttpClient4 and I am unable to migrate the code to > HttpClient5. >From looking at the gist, all that it does

HttpServer is "Not authoritative".

2021-02-26 Thread Jochen Wiedmann
Hi, I am using the HttpServer class from httpcore5-5.0.3 to implement a simple HTTP server. I am registering a HttpRequestHandler as follows: ServerBootstrap.bootstrap(). ... .register("*", myHttpRequestHandler); I am not invoking .setLocalAddress(hostName) on the

Re: How to use SSL CONNECT to the proxy with Apache HttpClient?

2019-07-31 Thread Jochen Wiedmann
On 2019/07/31 10:48:37, Oleg Kalnichevski wrote: > I am confused now. HttpClient always uses plain HTTP to connect to the > first proxy hop. It upgrades to TLS only once the connection to the > request target has been fully established. Naturally all CONNECT > messages get transmitted in

Re: How to use SSL CONNECT to the proxy with Apache HttpClient?

2019-07-31 Thread Jochen Wiedmann
On 2019/07/31 10:06:40, Oleg Kalnichevski wrote: > This is depends on the connection route defined by the route planner. > If the connection route in marked as secure HttpClient will attempt to > establish a tunnel through the proxy (by way of CONNECT request) > instead of passing the

How to use SSL CONNECT to the proxy with Apache HttpClient?

2019-07-31 Thread Jochen Wiedmann
I've got an application, which is sending a SOAP request to an external server via a corporate proxy, which I do not control. Sending the request fails with a message "HTTP/1.1 500 handshakefailed". However, sending another request via SoapUI through the same proxy works just fine. In order to

Re: HTTP request parser

2019-03-06 Thread Jochen Wiedmann
Thanks very much, Oleg. DefaultHttpRequestParser sounds promising! Jochen On Wed, Mar 6, 2019 at 10:18 AM Oleg Kalnichevski wrote: > > On Wed, 2019-03-06 at 09:50 +0100, Jochen Wiedmann wrote: > > Whole request, content might be interesting, sooner or later. > > > >

Re: HTTP request parser

2019-03-06 Thread Jochen Wiedmann
Whole request, content might be interesting, sooner or later. Thanks, Jochen On Wed, Mar 6, 2019, 09:28 Oleg Kalnichevski wrote: > On Wed, 2019-03-06 at 00:07 +0100, Jochen Wiedmann wrote: > > Hi, > > > > I've got a set of files, which basically contain raw HTTP requests

HTTP request parser

2019-03-05 Thread Jochen Wiedmann
Hi, I've got a set of files, which basically contain raw HTTP requests. (I obtained them by wiretrapping my own network traffic.) Now, I'd like to parse, and validate them. Is there something in httpcomponents, that might help me? (Keep in mind, that there will most likely be stuff like