Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 27141200C3E for ; Tue, 21 Mar 2017 21:30:48 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 25A03160B90; Tue, 21 Mar 2017 20:30:48 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6B1FF160B6E for ; Tue, 21 Mar 2017 21:30:47 +0100 (CET) Received: (qmail 49883 invoked by uid 500); 21 Mar 2017 20:30:46 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 49872 invoked by uid 99); 21 Mar 2017 20:30:46 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Mar 2017 20:30:46 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 3D31EC7DA5 for ; Tue, 21 Mar 2017 20:30:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -98.548 X-Spam-Level: X-Spam-Status: No, score=-98.548 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652, URIBL_BLOCKED=0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id hwcPdp7X-TSs for ; Tue, 21 Mar 2017 20:30:45 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 0F6D760CE9 for ; Tue, 21 Mar 2017 20:30:45 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 7B583E05C5 for ; Tue, 21 Mar 2017 20:30:43 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 4E5EE254EC for ; Tue, 21 Mar 2017 20:30:42 +0000 (UTC) Date: Tue, 21 Mar 2017 20:30:42 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: dev@hc.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HTTPCLIENT-1830) IdleConnectionEvictor created by HttpClientBuilder should awaitTermination on shutdown MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 21 Mar 2017 20:30:48 -0000 [ https://issues.apache.org/jira/browse/HTTPCLIENT-1830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15935273#comment-15935273 ] ASF GitHub Bot commented on HTTPCLIENT-1830: -------------------------------------------- Github user theangrydev commented on the issue: https://github.com/apache/httpclient/pull/68 This has been merged. > IdleConnectionEvictor created by HttpClientBuilder should awaitTermination on shutdown > -------------------------------------------------------------------------------------- > > Key: HTTPCLIENT-1830 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1830 > Project: HttpComponents HttpClient > Issue Type: Improvement > Components: HttpClient (classic) > Affects Versions: 4.5.2 > Reporter: Liam Williams > Fix For: 4.5.4, 4.6 Alpha1, 5.0 Alpha2 > > > When calling InternalHttpClient.close via the CloseableHttpClient interface for a client created via HttpClientBuilder, IdleConnectionEvictor.shutdown is called, but IdleConnectionEvictor.awaitTermination is not. > This is a problem, since there is no way to await termination apart from doing a dirty sleep. > Hope this makes sense, let me know if it doesn't. -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org