You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by 383124397 <gi...@git.apache.org> on 2018/03/13 12:01:11 UTC

[GitHub] httpasyncclient pull request #6: 4.1.2/3

GitHub user 383124397 opened a pull request:

    https://github.com/apache/httpasyncclient/pull/6

    4.1.2/3

    
    We use httpasyncclient as our core async RPC component, but we found a recover issue a couple days ago.
    the issue is the async client will be stoped because of I/O reactor shutdown when a service encounter a OOM problem, a few seconds later and after a FGC process, the service has been recovered, but the async client cannot be recovered. so the client cannot accept the request unless the service need to reboot.
    
    the code is:
    `               @Override
                    public void run() {
                        try {
                            final IOEventDispatch ioEventDispatch = new InternalIODispatch(handler);
                            connmgr.execute(ioEventDispatch);
                        } catch (final Exception ex) {
                            log.error("I/O reactor terminated abnormally", ex);
                        } finally {
                            status.set(Status.STOPPED);
                        }
                    }`
    or by `close()` method.
    so there is no way to set status from STOPPED to ACTIVE even by start().

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apache/httpasyncclient 4.1.x

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/httpasyncclient/pull/6.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #6
    
----
commit 7bd0287906b6f5f1c1fb3dc5b01d03afcbaa5e5a
Author: Oleg Kalnichevski <ol...@...>
Date:   2015-04-29T09:00:24Z

    HttpAsyncClient 4.1 branch
    
    git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpasyncclient/branches/4.1.x@1676692 13f79535-47bb-0310-9956-ffa450edef68

commit 352d9aef4f72917c2da5aad578804e1c2637e0f4
Author: Oleg Kalnichevski <ol...@...>
Date:   2015-04-29T09:13:40Z

    Fix when systemProperties is true but sslcontext not use systemProperties
    
    git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpasyncclient/branches/4.1.x@1676696 13f79535-47bb-0310-9956-ffa450edef68

commit 4e87570cbc6c4cb79b69730002ec9cfd8af8cd4c
Author: Oleg Kalnichevski <ol...@...>
Date:   2015-08-21T13:51:14Z

    Upgraded project version to 4.2-alpha1-SNAPSHOT
    
    git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpasyncclient/branches/4.1.x@1696991 13f79535-47bb-0310-9956-ffa450edef68

commit 0ced526f6857cf0487479fa7b6822cff704816ee
Author: Oleg Kalnichevski <ol...@...>
Date:   2015-08-21T13:55:29Z

    [HTTPASYNC-92] Make sure the osgi bundle imports what it needs, in particular  org.apache.http.ssl
    
    git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpasyncclient/branches/4.1.x@1696994 13f79535-47bb-0310-9956-ffa450edef68

commit 6f479e585a2f2d3c04d80d26ed72c267f173c6ac
Author: Oleg Kalnichevski <ol...@...>
Date:   2015-09-09T16:47:26Z

    Upgraded HttpCore to version 4.4.3
    
    git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpasyncclient/branches/4.1.x@1702053 13f79535-47bb-0310-9956-ffa450edef68

commit 4d4f7c5f1f448a8af48b96dc4b2910dd33d948b6
Author: Oleg Kalnichevski <ol...@...>
Date:   2015-09-15T14:22:36Z

    Upgraded HttpClient to version 4.5.1
    
    git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpasyncclient/branches/4.1.x@1703201 13f79535-47bb-0310-9956-ffa450edef68

commit fdfc94f53fef4227a813178a7f29f2a3c3497bd5
Author: Oleg Kalnichevski <ol...@...>
Date:   2015-10-28T17:44:47Z

    Changed project version to 4.1.1-SNAPSHOT
    
    git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpasyncclient/branches/4.1.x@1711084 13f79535-47bb-0310-9956-ffa450edef68

commit 4b7ec0472ba4cefe7170237f72d9817385255767
Author: Oleg Kalnichevski <ol...@...>
Date:   2015-10-30T15:05:38Z

    Removed inherently racy test
    
    git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpasyncclient/branches/4.1.x@1711491 13f79535-47bb-0310-9956-ffa450edef68

commit 358ca82b985a2ab1b8083508c6681891a721a960
Author: Oleg Kalnichevski <ol...@...>
Date:   2015-10-30T15:06:25Z

    Upgraded HttpCore to version 4.4.4
    
    git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpasyncclient/branches/4.1.x@1711493 13f79535-47bb-0310-9956-ffa450edef68

commit f4d0ab164e2b6e35919ec39f3c51faf152741f7d
Author: Oleg Kalnichevski <ol...@...>
Date:   2015-10-30T15:18:18Z

    Updated release notes for HttpAsyncClient 4.4.1 release
    
    git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpasyncclient/branches/4.1.x@1711494 13f79535-47bb-0310-9956-ffa450edef68

commit 45cef34e3b5665ffb301ee33bbde3e4dbc383a26
Author: Oleg Kalnichevski <ol...@...>
Date:   2015-11-06T15:15:30Z

    Upgraded HttpAsyncClient version to 4.1.2-SNAPSHOT
    
    git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpasyncclient/branches/4.1.x@1712978 13f79535-47bb-0310-9956-ffa450edef68

commit e8fc6b1c741a6b58f0a89c4f3eb1d6879cc8927a
Author: Oleg Kalnichevski <ol...@...>
Date:   2015-12-30T08:56:28Z

    Upgraded HttpClient OSGi dependency to 4.5
    
    git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpasyncclient/branches/4.1.x@1722287 13f79535-47bb-0310-9956-ffa450edef68

commit 5a2277ad918894de11fb11fa67e2efba5e46a74f
Author: Oleg Kalnichevski <ol...@...>
Date:   2016-01-08T21:40:45Z

    HttpAsyncClient builder to pass custom ThreadFactory to the DefaultConnectingIOReactor constructor
    
    git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpasyncclient/branches/4.1.x@1723805 13f79535-47bb-0310-9956-ffa450edef68

commit 98393baecee06c762dd45564eb52d88ac0f39f0a
Author: Oleg Kalnichevski <ol...@...>
Date:   2016-01-13T13:14:31Z

    HTTPASYNC-101: CachingHttpAsyncClient to create default HttpContext if none specified
    
    git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpasyncclient/branches/4.1.x@1724421 13f79535-47bb-0310-9956-ffa450edef68

commit f93871136d6e2fd5739b16f460056add151442bd
Author: Oleg Kalnichevski <ol...@...>
Date:   2016-04-21T10:46:53Z

    HTTPASYNC-105: socketTimeout is not reset back to default after a request that has specific timeout
    
    git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpasyncclient/branches/4.1.x@1740282 13f79535-47bb-0310-9956-ffa450edef68

commit 7b283782984da0ee1455cad8515d7fa481f25652
Author: Oleg Kalnichevski <ol...@...>
Date:   2016-06-11T14:23:29Z

    Upgraded HttpCore dependency to version 4.4.5
    
    git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpasyncclient/branches/4.1.x@1747895 13f79535-47bb-0310-9956-ffa450edef68

commit a92605289b44295e8846f89047dbfd8956095c0c
Author: Oleg Kalnichevski <ol...@...>
Date:   2016-06-12T14:04:49Z

    Upgraded HttpClient dependency to version 4.5.2
    
    git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpasyncclient/branches/4.1.x@1748008 13f79535-47bb-0310-9956-ffa450edef68

commit f0ebdd9a4e113efb67dee3782ad138e7af6a0b81
Author: Oleg Kalnichevski <ol...@...>
Date:   2016-06-12T14:04:57Z

    Updated NOTICE
    
    git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpasyncclient/branches/4.1.x@1748009 13f79535-47bb-0310-9956-ffa450edef68

commit 5c21b8bffab8293f355d3b3e9f466decf6eb6863
Author: Oleg Kalnichevski <ol...@...>
Date:   2016-06-12T14:05:04Z

    Updated release notes for HttpAsyncClient 4.1.2 release
    
    git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpasyncclient/branches/4.1.x@1748010 13f79535-47bb-0310-9956-ffa450edef68

commit b6cb17dd821c051a7dba6f24b32383c0d7aa95b8
Author: Oleg Kalnichevski <ol...@...>
Date:   2016-06-13T12:48:07Z

    HTTPASYNC-97: Corrected OSGi imports.
    Contributed by Freeman Fang <ffang at apache.org>
    
    git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpasyncclient/branches/4.1.x@1748204 13f79535-47bb-0310-9956-ffa450edef68

commit cab1bf06ec7fd158c90f5932b6e81e250472061a
Author: Oleg Kalnichevski <ol...@...>
Date:   2016-06-13T12:48:18Z

    Relaxed assert of thrown exception due to different behavior on different OS platforms
    
    git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpasyncclient/branches/4.1.x@1748205 13f79535-47bb-0310-9956-ffa450edef68

commit 3f5118147f14306881deb7376aaeb07274d39375
Author: Gary D. Gregory <gg...@...>
Date:   2016-06-13T21:14:27Z

    Fix checkstyle: use final.
    
    git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpasyncclient/branches/4.1.x@1748312 13f79535-47bb-0310-9956-ffa450edef68

commit 11d483105597c5a6876f0e51918c925a8e6e3f0d
Author: Gary D. Gregory <gg...@...>
Date:   2016-06-13T21:21:06Z

    Add Eclipse Checkstyle files to svn:ignore.
    
    git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpasyncclient/branches/4.1.x@1748314 13f79535-47bb-0310-9956-ffa450edef68

commit d3d17307be04900ac4a5690e5ebcde355defc4b2
Author: Gary D. Gregory <gg...@...>
Date:   2016-06-13T22:09:16Z

    apache-rat-plugin 0.11 -> 0.12. Exclude Eclipse Checkstyle file.
    
    git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpasyncclient/branches/4.1.x@1748319 13f79535-47bb-0310-9956-ffa450edef68

commit 369d1a091662d6498b54822de1900c8e1a4567df
Author: Oleg Kalnichevski <ol...@...>
Date:   2016-06-14T08:42:54Z

    Use non-routable 0.0.0.0 instead of '.invalid' hostname to simulate refused connection exception
    
    git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpasyncclient/branches/4.1.x@1748358 13f79535-47bb-0310-9956-ffa450edef68

commit ee42177dcbaa3a49ece9fb0d8f0e22d9a89bb62c
Author: Oleg Kalnichevski <ol...@...>
Date:   2016-06-18T12:30:20Z

    Disabled test failing on some Windows platforms
    
    git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpasyncclient/branches/4.1.x@1748981 13f79535-47bb-0310-9956-ffa450edef68

commit 117dec6c1db48e0a4bb4136d41ac08155a57e9e7
Author: Gary D. Gregory <gg...@...>
Date:   2016-06-20T17:00:17Z

    Better build instructions.
    
    git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpasyncclient/branches/4.1.x@1749363 13f79535-47bb-0310-9956-ffa450edef68

commit 68188320119f73132fccf2490435518c97407a53
Author: Gary D. Gregory <gg...@...>
Date:   2016-06-23T20:20:29Z

    Add final modifier to local variables.
    
    git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpasyncclient/branches/4.1.x@1750013 13f79535-47bb-0310-9956-ffa450edef68

commit 51b17552ec941e5ceb79265e9517a1fb776a90c4
Author: Oleg Kalnichevski <ol...@...>
Date:   2016-06-25T09:18:08Z

    Upgraded HttpAsyncClient version to 4.1.3-SNAPSHOT
    
    git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpasyncclient/branches/4.1.x@1750190 13f79535-47bb-0310-9956-ffa450edef68

commit e03897b95a5cfdb70a2346b9b86fa9d18f9b2875
Author: Oleg Kalnichevski <ol...@...>
Date:   2016-08-28T12:35:59Z

    fix HttpAsyncMethods.createPost/createPut(URI,byte[],ContentType): set entity to request
    Contributed by Dmitry Potapov <dpotapov at yandex-team.ru>
    
    git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpasyncclient/branches/4.1.x@1758103 13f79535-47bb-0310-9956-ffa450edef68

----


---

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


[GitHub] httpasyncclient issue #6: 4.1.2/3

Posted by ok2c <gi...@git.apache.org>.
Github user ok2c commented on the issue:

    https://github.com/apache/httpasyncclient/pull/6
  
    @383124397 could you please either update the change-set or close this pull request?


---

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


[GitHub] httpasyncclient issue #6: 4.1.2/3

Posted by garydgregory <gi...@git.apache.org>.
Github user garydgregory commented on the issue:

    https://github.com/apache/httpasyncclient/pull/6
  
    @383124397 Please provide your patch on top of the HEAD of the 4.1.x branch. It looks like you are based on code from a 4.1.1-SNAPSHOT. Thank you!


---

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


[GitHub] httpasyncclient issue #6: 4.1.2/3

Posted by ok2c <gi...@git.apache.org>.
Github user ok2c commented on the issue:

    https://github.com/apache/httpasyncclient/pull/6
  
    @383124397 Exactly what kind of changes are you proposing? Your pull request looks completely messed up. Please resolve all conflicts and resubmit.


---

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


[GitHub] httpasyncclient pull request #6: 4.1.2/3

Posted by 383124397 <gi...@git.apache.org>.
Github user 383124397 closed the pull request at:

    https://github.com/apache/httpasyncclient/pull/6


---

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


[GitHub] httpasyncclient issue #6: 4.1.2/3

Posted by 383124397 <gi...@git.apache.org>.
Github user 383124397 commented on the issue:

    https://github.com/apache/httpasyncclient/pull/6
  
    I am so sorry that I mark a mistake.


---

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