hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: Missing log call?
Date Sun, 07 May 2017 16:57:04 GMT
On Sun, May 7, 2017 at 3:13 AM, Oleg Kalnichevski <olegk@apache.org> wrote:

> On Sat, 2017-05-06 at 13:16 -0700, Gary Gregory wrote:
> > Or I could just simply show a patch:
> >
> > Index:
> > src/main/java/org/apache/http/nio/protocol/HttpAsyncService.java
> > ===================================================================
> > --- src/main/java/org/apache/http/nio/protocol/HttpAsyncService.java
> > (revision
> > 1793912)
> > +++ src/main/java/org/apache/http/nio/protocol/HttpAsyncService.java
> > (working
> > copy)
> > @@ -277,10 +277,10 @@
> >      @Override
> >      public void exception(
> >              final NHttpServerConnection conn, final Exception cause)
> > {
> > +        log(cause);
> >          final State state = getState(conn);
> >          if (state == null) {
> >              shutdownConnection(conn);
> > -            log(cause);
> >              return;
> >          }
> >          state.setTerminated();
> >
> > Gary
> >
>
> Works for me.
>

Done and tracked through https://issues.apache.org/jira/browse/HTTPCORE-464.

Gary

>
> Oleg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
> For additional commands, e-mail: dev-help@hc.apache.org
>
>


-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<https://www.amazon.com/gp/product/1617290459/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1617290459&linkCode=as2&tag=garygregory-20&linkId=cadb800f39946ec62ea2b1af9fe6a2b8>

<http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1617290459>
JUnit in Action, Second Edition
<https://www.amazon.com/gp/product/1935182021/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182021&linkCode=as2&tag=garygregory-20&linkId=31ecd1f6b6d1eaf8886ac902a24de418%22>

<http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182021>
Spring Batch in Action
<https://www.amazon.com/gp/product/1935182951/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182951&linkCode=%7B%7BlinkCode%7D%7D&tag=garygregory-20&linkId=%7B%7Blink_id%7D%7D%22%3ESpring+Batch+in+Action>
<http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182951>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message