Return-Path: X-Original-To: apmail-chemistry-dev-archive@www.apache.org Delivered-To: apmail-chemistry-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9F616119F3 for ; Wed, 21 May 2014 08:29:09 +0000 (UTC) Received: (qmail 99892 invoked by uid 500); 21 May 2014 08:29:09 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 99832 invoked by uid 500); 21 May 2014 08:29:09 -0000 Mailing-List: contact dev-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list dev@chemistry.apache.org Received: (qmail 99824 invoked by uid 99); 21 May 2014 08:29:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 May 2014 08:29:09 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gavin.cornwell@alfresco.com designates 207.126.144.159 as permitted sender) Received: from [207.126.144.159] (HELO eu1sys200aog125.obsmtp.com) (207.126.144.159) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 21 May 2014 08:29:04 +0000 Received: from mail-wi0-f182.google.com ([209.85.212.182]) (using TLSv1) by eu1sys200aob125.postini.com ([207.126.147.11]) with SMTP ID DSNKU3xjuDdNeOcbz1/jSfQk4l1zCFF5tNRy@postini.com; Wed, 21 May 2014 08:28:41 UTC Received: by mail-wi0-f182.google.com with SMTP id r20so2292369wiv.3 for ; Wed, 21 May 2014 01:28:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-type:content-transfer-encoding :subject:message-id:date:to:mime-version; bh=BnvlkGZK1mJplcZaa0ft1lyAadLuGxAQH+OPZUKGKzo=; b=RfB4nk78/HEk2W7xFLqO5gEPJXfgc0Xcywblo8CuzHvgCKyloXbMALSeEoyZtMA5Vg QygLIMTIDtnDcjwFw/maSmdibVMOuAI5/1TCVzNSBaTPpd0EfxMnBV2vw1lCvgi/XyCB mmCBitrkPEvcK/3of8LV1zLD1Q7X7q1VCP0TiKI+/5DMDDSZ70pSuoNpw8ILupOE2JWX HGcwdklvb5k1KYiWerh1kDgTuymMIvgg0aQ4CpZMAY2LHzu8145JqoAiUjGIS2Dx4aqX KCGhflR8A/Ku7cngV6yIYfx0pDZqCnHe6T1gwA/lf7C6jDlwXu9gVYdhAaDhR/SnUpy9 +1EQ== X-Gm-Message-State: ALoCoQkDPWmMxSkiBuhmwsq9r5tz15f0A7vpSc38w5w6FGAqglvF6lydkIw7Ipbh+CiIjU7KlMebCppQYtdcABFcWSTpVHsHD8xF9F77pkUs33PvJzL+Syh7aPSN5/zFHvXUZq7xZAfw X-Received: by 10.194.174.100 with SMTP id br4mr493937wjc.83.1400660920688; Wed, 21 May 2014 01:28:40 -0700 (PDT) X-Received: by 10.194.174.100 with SMTP id br4mr493926wjc.83.1400660920626; Wed, 21 May 2014 01:28:40 -0700 (PDT) Received: from [10.0.1.5] (cpc68050-woki6-2-0-cust193.6-2.cable.virginm.net. [82.14.76.194]) by mx.google.com with ESMTPSA id ek4sm1053555wib.9.2014.05.21.01.28.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 21 May 2014 01:28:39 -0700 (PDT) From: Gavin Cornwell Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Subject: Detecting missing network connectivity in ObjectiveCMIS Message-Id: <2EEA8487-BA65-4094-B0D4-AF8312C9F304@alfresco.com> Date: Wed, 21 May 2014 09:28:39 +0100 To: dev@chemistry.apache.org Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) X-Mailer: Apple Mail (2.1874) X-Virus-Checked: Checked by ClamAV on apache.org Hi, We=92ve recently implemented a feature in our mobile SDK (built upon = ObjectiveCMIS) where an error will be returned immediately if there is = no network available. Without this feature any requests issued have to = wait until the network request times out, thus the completion block with = the error is not called until sometime later (1 minute in = ObjectiveCMIS).=20 It would be really useful to add this functionality to ObjectiveCMIS too = as currently we=92re having to swizzle the CMISHttpRequest (to avoid = providing a custom CMISNetworkProvider) and I think this is a useful = feature. Does anyone have any objections to the addition of this feature (once = I=92ve merged the browser binding branch back to trunk)? Regards, Gavin