You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by Gary Gregory <ga...@gmail.com> on 2017/04/24 22:56:09 UTC

HttpHost(String, int, String)

Hi,

Should we throw an IAE for port numbers < -1?

Gary

-- 
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

Re: HttpHost(String, int, String)

Posted by Gary Gregory <ga...@gmail.com>.
On Apr 25, 2017 1:46 AM, "Gary Gregory" <ga...@gmail.com> wrote:

On Tue, Apr 25, 2017 at 1:41 AM, Oleg Kalnichevski <ol...@apache.org> wrote:

> On Tue, 2017-04-25 at 01:30 -0700, Gary Gregory wrote:
> > On Tue, Apr 25, 2017 at 1:02 AM, Oleg Kalnichevski <ol...@apache.org>
> > wrote:
> >
> > > On Mon, 2017-04-24 at 15:56 -0700, Gary Gregory wrote:
> > > > Hi,
> > > >
> > > > Should we throw an IAE for port numbers < -1?
> > > >
> > > > Gary
> > > >
> > >
> > > Probably we should.
> > >
> >
> > 5.0 for sure, what about 4.x?
> >
> > Gary
> >
>
> Up to you.
>

I'll probably implement it for 5.0 but not 4.x just in case it might break
some user code. I'll consider with a fresh brain in the AM...


I finished this 2 days ago FYI.

Gary


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

Re: HttpHost(String, int, String)

Posted by Gary Gregory <ga...@gmail.com>.
On Tue, Apr 25, 2017 at 1:41 AM, Oleg Kalnichevski <ol...@apache.org> wrote:

> On Tue, 2017-04-25 at 01:30 -0700, Gary Gregory wrote:
> > On Tue, Apr 25, 2017 at 1:02 AM, Oleg Kalnichevski <ol...@apache.org>
> > wrote:
> >
> > > On Mon, 2017-04-24 at 15:56 -0700, Gary Gregory wrote:
> > > > Hi,
> > > >
> > > > Should we throw an IAE for port numbers < -1?
> > > >
> > > > Gary
> > > >
> > >
> > > Probably we should.
> > >
> >
> > 5.0 for sure, what about 4.x?
> >
> > Gary
> >
>
> Up to you.
>

I'll probably implement it for 5.0 but not 4.x just in case it might break
some user code. I'll consider with a fresh brain in the AM...

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

Re: HttpHost(String, int, String)

Posted by Oleg Kalnichevski <ol...@apache.org>.
On Tue, 2017-04-25 at 01:30 -0700, Gary Gregory wrote:
> On Tue, Apr 25, 2017 at 1:02 AM, Oleg Kalnichevski <ol...@apache.org>
> wrote:
> 
> > On Mon, 2017-04-24 at 15:56 -0700, Gary Gregory wrote:
> > > Hi,
> > > 
> > > Should we throw an IAE for port numbers < -1?
> > > 
> > > Gary
> > > 
> > 
> > Probably we should.
> > 
> 
> 5.0 for sure, what about 4.x?
> 
> Gary
> 

Up to you.

Oleg

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


Re: HttpHost(String, int, String)

Posted by Gary Gregory <ga...@gmail.com>.
On Tue, Apr 25, 2017 at 1:02 AM, Oleg Kalnichevski <ol...@apache.org> wrote:

> On Mon, 2017-04-24 at 15:56 -0700, Gary Gregory wrote:
> > Hi,
> >
> > Should we throw an IAE for port numbers < -1?
> >
> > Gary
> >
>
> Probably we should.
>

5.0 for sure, what about 4.x?

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

Re: HttpHost(String, int, String)

Posted by Oleg Kalnichevski <ol...@apache.org>.
On Mon, 2017-04-24 at 15:56 -0700, Gary Gregory wrote:
> Hi,
> 
> Should we throw an IAE for port numbers < -1?
> 
> Gary
> 

Probably we should.

Oleg

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