> Exception handling with async I/O is hell. The exception is not thrown > by the application code but it is passed to it through a callback event > of the request consumer and response producer. I suspect that exception > may simply get ignored. > > http://hc.apache.org/httpcomponents-core-4.3.x/httpcore-nio/xref/org/apache/http/nio/protocol/HttpAsyncService.html#231 > http://hc.apache.org/httpcomponents-core-4.3.x/httpcore-nio/xref/org/apache/http/nio/protocol/HttpAsyncService.html#456
Looks like I had forgotten to attach the LoggingNHttpServiceHandler class too, so exceptions were not logged. I've attached it now and we'll deploy it to the server again soon. > >> > Could you also consider upgrading to the >> > latest snapshot of the 4.3.x branch? >> > >> > http://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.3.x/ >> >> are there any snapshot releases published to a public maven repo >> somewhere that we could use or do we have to compile the jars >> manually? >> > > I published the latest build to the ASF snapshot repo, but building from > source is always preferred > https://repository.apache.org/content/repositories/snapshots/org/apache/httpcomponents/httpcore-nio/4.3.3-SNAPSHOT/ Perfect, thanks! Tobias --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
