Return-Path: X-Original-To: apmail-mesos-reviews-archive@minotaur.apache.org Delivered-To: apmail-mesos-reviews-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D00AD1849C for ; Thu, 12 Nov 2015 10:01:46 +0000 (UTC) Received: (qmail 38639 invoked by uid 500); 12 Nov 2015 10:01:46 -0000 Delivered-To: apmail-mesos-reviews-archive@mesos.apache.org Received: (qmail 38616 invoked by uid 500); 12 Nov 2015 10:01:46 -0000 Mailing-List: contact reviews-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: reviews@mesos.apache.org Delivered-To: mailing list reviews@mesos.apache.org Received: (qmail 38601 invoked by uid 99); 12 Nov 2015 10:01:46 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Nov 2015 10:01:46 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id F27581CC389; Thu, 12 Nov 2015 10:01:45 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============5754376425440621687==" MIME-Version: 1.0 Subject: Re: Review Request 39276: Fixed a bug in which under certains circumstances HTTP 1.1 Pipelining is not respected. From: "Alexander Rojas" To: "Anand Mazumdar" , "Till Toenshoff" , "Bernd Mathiske" Cc: "Alexander Rojas" , "mesos" Date: Thu, 12 Nov 2015 10:01:45 -0000 Message-ID: <20151112100145.1681.55126@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: "Alexander Rojas" X-ReviewGroup: mesos X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/39276/ X-Sender: "Alexander Rojas" References: <20151110125205.1681.7486@reviews.apache.org> In-Reply-To: <20151110125205.1681.7486@reviews.apache.org> Reply-To: "Alexander Rojas" X-ReviewRequest-Repository: mesos --===============5754376425440621687== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit > On Nov. 10, 2015, 1:52 p.m., Alexander Rojas wrote: > > 3rdparty/libprocess/src/process.cpp, line 2342 > > > > > > No pointer + std::move. The pointer is needed for a follow up patch, since it is passed to a lambda and C++11 doesn't allow for rvalue references in lambdas (C++14 do though). > On Nov. 10, 2015, 1:52 p.m., Alexander Rojas wrote: > > 3rdparty/libprocess/src/process.cpp, lines 2339-2341 > > > > > > if we do move, remove this comment. See below. - Alexander ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/39276/#review105821 ----------------------------------------------------------- On Nov. 10, 2015, 4:58 a.m., Alexander Rojas wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/39276/ > ----------------------------------------------------------- > > (Updated Nov. 10, 2015, 4:58 a.m.) > > > Review request for mesos, Anand Mazumdar, Bernd Mathiske, and Till Toenshoff. > > > Bugs: MESOS-3705 > https://issues.apache.org/jira/browse/MESOS-3705 > > > Repository: mesos > > > Description > ------- > > When using the same socket to send multiple HTTP requests to different actors. If the actor responsible for handling the first request is stuck handling another event while a subsequent request can reply immediatly, the order of the responses is altered violating HTTP Pipelining. > > This patch fixes that problem enforcing that every response is sent in the order the corresponding request arrived. It also adds a test to reproduce the issue and verify the fix works. > > > Diffs > ----- > > 3rdparty/libprocess/include/process/event.hpp 16ddbd77afa6efdf6bad201aa497ee102aa863ae > 3rdparty/libprocess/src/process.cpp a94712b9ac3b60fb047b3a5a4d84a56fa4d02313 > 3rdparty/libprocess/src/tests/http_tests.cpp 7eb4ef187b2cb358c370d0381db65b8e18668bab > > Diff: https://reviews.apache.org/r/39276/diff/ > > > Testing > ------- > > make check > > > Thanks, > > Alexander Rojas > > --===============5754376425440621687==--