What did you test exactly? Note that running the 5.2 async example from the HC 
repo is _not_ the test to perform.

The failure is not specific to my environment since the PR to update the HC 
version also fails on GitHub:
https://github.com/apache/commons-vfs/pull/332

The failure is not apparent but comes down to the fact that the behavior of 5.2 
vs 5.1.3/5.1.4 is not compatible. I'm not sure what the best path forward is.

Gary

On 2022/11/14 12:48:17 Oleg Kalnichevski wrote:
> On Sun, 2022-11-13 at 13:45 +0000, Gary D. Gregory wrote:
> > So, logging using 5.1.3 looks like this:
> > 
> > [INFO] --- exec-maven-plugin:3.1.0:java (default-cli) @ commons-vfs2
> > ---
> > Sun, 13 Nov 2022 13:41:22 GMT | Serving . on /0:0:0:0:0:0:0:0:51729
> > Sun, 13 Nov 2022 13:41:38 GMT | Handling [head=GET
> > http://localhost:51729/pom.xml, body=null] in
> > org.apache.hc.core5.http.protocol.HttpCoreContext@14bfd281
> > Sun, 13 Nov 2022 13:41:38 GMT | 0:0:0:0:0:0:0:1:51729<-
> > >0:0:0:0:0:0:0:1:51756 | serving file .\pom.xml
> > Sun, 13 Nov 2022 13:41:38 GMT | Handling [head=GET
> > http://localhost:51729/favicon.ico, body=null] in
> > org.apache.hc.core5.http.protocol.HttpCoreContext@30d1209f
> > Sun, 13 Nov 2022 13:41:38 GMT | File .\favicon.ico not found
> > I hit <CTRL-C>
> > Sun, 13 Nov 2022 13:41:53 GMT | HTTP server shutting down
> > (closeMode=GRACEFUL)...
> > Sun, 13 Nov 2022 13:41:53 GMT | HTTP server shut down.
> > 
> > Logging with 5.2 only has the 1st line "Serving "
> > 
> 
> The 5.2 example works fine for me
> 
> ---
> oleg@ok2c:~$ curl http://localhost:8888/test.txt -v
> *   Trying 127.0.0.1:8888...
> * Connected to localhost (127.0.0.1) port 8888 (#0)
> > GET /test.txt HTTP/1.1
> > Host: localhost:8888
> > User-Agent: curl/7.81.0
> > Accept: */*
> > 
> * Mark bundle as not supporting multiuse
> < HTTP/1.1 200 OK
> < Date: Mon, 14 Nov 2022 12:41:58 GMT
> < Server: Apache-HttpCore/5.2.1-SNAPSHOT (Java/1.8.0_342)
> < Content-Length: 5
> < Content-Type: text/plain; charset=ISO-8859-1
> < 
> blah
> * Connection #0 to host localhost left intact
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
> For additional commands, e-mail: dev-h...@hc.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org

Reply via email to