<!DOCTYPE html>
<html>
<head>
</head>
<body>
<dl style="line-height: 1.5; margin-left: 2em">
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Author</dt>
<dd style="margin-left: 8.5em">YUKI Hiroshi <shimo****@clear*****></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
<dd style="margin-left: 8.5em">2015-04-29 14:44:31 +0900 (Wed, 29 Apr 2015)</dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">New Revision</dt>
<dd style="margin-left: 8.5em"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7">5aab5849a8ba6810a4cf11731fe95f24d4adb1d7</a></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Message</dt>
<dd style="margin-left: 8.5em"><pre style="border: 1px solid #aaa; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">Output logs with formatted prefix</pre></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Modified files</dt>
<dd style="margin-left: 8.5em">
<ul>
<li><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#diff-0">index.js</a></li>
<li><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#diff-1">lib/adapter/http.js</a></li>
<li><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#diff-2">lib/adapter/wrapper.js</a></li>
<li><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#diff-3">lib/droonga-protocol/connection-pool.js</a></li>
<li><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#diff-4">lib/droonga-protocol/connection.js</a></li>
<li><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#diff-5">lib/droonga-protocol/receiver.js</a></li>
<li><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#diff-6">lib/middleware/cache/index.js</a></li>
<li><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#diff-7">lib/serf/agent.js</a></li>
<li><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#diff-8">lib/serf/downloader.js</a></li>
</ul>
</dd>
</dl>
<div class="diff-section" style="clear: both">
<table style="border-collapse: collapse; border: 1px solid #aaa">
<thead>
<tr class="diff-header" style="border: 1px solid #aaa">
<td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: index.js (+3 -1)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
</td>
</tr>
</thead>
<tbody>
<tr>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L0L4">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L0L5">5</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L0L6">6</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L0L7">7</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L0L8">8</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L0L9">9</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L0L10">10</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L0L20">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L0L21">21</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L0L22">22</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L0L23">23</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L0L24">24</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L0L25">25</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L0L26">26</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L0L27">27</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L0R4">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L0R5">5</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L0R6">6</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L0R7">7</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L0R8">8</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L0R9">9</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L0R10">10</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L0R11">11</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L0R12">12</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L0R22">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L0R23">23</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L0R24">24</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L0R25">25</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L0R26">26</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L0R27">27</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L0R28">28</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L0R29">29</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -5,6 +5,8 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">var socketIoAdapter = require('./lib/adapter/socket.io');</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var dashboardUI = require('./lib/ui/dashboard');</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var ConsoleLogger = require('./lib/console-logger').ConsoleLogger;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+var LOG_PREFIX = '[global] ';</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> function droonga(application, params) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> params = params || {};</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -21,7 +23,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">function droonga(application, params) {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (params.server) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> socketIoAdapter.register(application, params.server, params);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> params.server.on('error', function(error) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- params.logger.error(error);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ params.logger.error(LOG_PREFIX + 'Unhandled Error', error);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (typeof connectionPool.shutdown == 'function')</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> connectionPool.shutdown();</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> });</span>
</pre>
</td>
</tr>
</tbody>
</table>
<table style="border-collapse: collapse; border: 1px solid #aaa">
<thead>
<tr class="diff-header" style="border: 1px solid #aaa">
<td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: lib/adapter/http.js (+7 -5)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
</td>
</tr>
</thead>
<tbody>
<tr>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1L8">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1L9">9</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1L10">10</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1L11">11</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1L12">12</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1L13">13</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1L14">14</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1L16">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1L17">17</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1L18">18</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1L19">19</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1L20">20</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1L21">21</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1L22">22</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1L23">23</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1L26">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1L27">27</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1L28">28</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1L29">29</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1L30">30</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1L31">31</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1L32">32</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1L33">33</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1L34">34</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1L35">35</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1L36">36</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1L37">37</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1L38">38</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1L39">39</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1L95">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1L96">96</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1L97">97</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1L98">98</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1L99">99</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1L100">100</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1L101">101</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1L102">102</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1R8">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1R9">9</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1R10">10</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1R11">11</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1R12">12</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1R13">13</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1R14">14</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1R15">15</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1R16">16</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1R18">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1R19">19</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1R20">20</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1R21">21</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1R22">22</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1R23">23</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1R24">24</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1R25">25</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1R28">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1R29">29</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1R30">30</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1R31">31</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1R32">32</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1R33">33</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1R34">34</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1R35">35</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1R36">36</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1R37">37</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1R38">38</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1R39">39</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1R40">40</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1R41">41</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1R97">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1R98">98</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1R99">99</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1R100">100</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1R101">101</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1R102">102</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1R103">103</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L1R104">104</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -9,6 +9,8 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">var MAX_RETRY_COUNT = 60;</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var ERROR_INTERNAL = 500;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var ERROR_GATEWAY_TIMEOUT = 504;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+var LOG_PREFIX = '[http-adapter] ';</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> function createRequestResponseHandler(params) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> params = params || {};</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var connectionPool = params.connectionPool;</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -17,7 +19,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">function createRequestResponseHandler(params) {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var logger = definition.logger;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return (function(request, response) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- logger.trace('adapter.http.createRequestResponseHandler.handle');</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ logger.trace(LOG_PREFIX + 'createRequestResponseHandler.handle');</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var options = {};</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (typeof definition.dataset != 'undefined')</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -27,13 +29,13 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">function createRequestResponseHandler(params) {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> options.timeout = timeout;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var callback = function(error, message) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- logger.trace('adapter.http.createRequestResponseHandler.handle.response');</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ logger.trace(LOG_PREFIX + 'createRequestResponseHandler.handle.response');</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (error) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- logger.trace('adapter.http.createRequestResponseHandler.handle.response.error:', error);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ logger.trace(LOG_PREFIX + 'createRequestResponseHandler.handle.response.error:', error);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var body = message && message.body || null;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> response.status(error).jsonp(body);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> } else {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- logger.trace('adapter.http.createRequestResponseHandler.handle.response.success');</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ logger.trace(LOG_PREFIX + 'createRequestResponseHandler.handle.response.success');</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var body = message.body;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (definition.onResponse) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> definition.onResponse(body, response);</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -96,7 +98,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">function createGenericHandler(params) {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var logger = definition.logger;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return (function(request, response) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- logger.trace('adapter.http.createGenericHandler.handle');</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ logger.trace(LOG_PREFIX + 'createGenericHandler.handle');</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var options = {};</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (typeof definition.dataset != 'undefined')</span>
</pre>
</td>
</tr>
</tbody>
</table>
<table style="border-collapse: collapse; border: 1px solid #aaa">
<thead>
<tr class="diff-header" style="border: 1px solid #aaa">
<td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: lib/adapter/wrapper.js (+3 -1)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
</td>
</tr>
</thead>
<tbody>
<tr>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L2L0">...</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L2L1">1</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L2L2">2</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L2L3">3</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L2L24">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L2L25">25</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L2L26">26</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L2L27">27</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L2L28">28</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L2L29">29</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L2L30">30</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L2L31">31</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L2R0">...</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L2R1">1</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L2R2">2</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L2R3">3</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L2R4">4</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L2R5">5</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L2R26">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L2R27">27</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L2R28">28</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L2R29">29</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L2R30">30</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L2R31">31</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L2R32">32</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L2R33">33</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -1,3 +1,5 @@</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+var LOG_PREFIX = '[connection-wrapper] ';</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> function DroongaProtocolConnectionWrapper(connection, callback, options) { // or (connection, options)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this._connection = connection;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (typeof callback == 'function') {</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -25,7 +27,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">DroongaProtocolConnectionWrapper.prototype = {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> },</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> emit: function(event, data, callback, options) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (this._connection.closed) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.warn('connection is already closed.');</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.warn(LOG_PREFIX + 'connection is already closed.');</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
</pre>
</td>
</tr>
</tbody>
</table>
<table style="border-collapse: collapse; border: 1px solid #aaa">
<thead>
<tr class="diff-header" style="border: 1px solid #aaa">
<td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: lib/droonga-protocol/connection-pool.js (+29 -26)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
</td>
</tr>
</thead>
<tbody>
<tr>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L16">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L17">17</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L18">18</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L19">19</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L20">20</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L21">21</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L22">22</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L125">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L126">126</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L127">127</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L128">128</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L129">129</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L130">130</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L131">131</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L132">132</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L133">133</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L134">134</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L135">135</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L136">136</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L137">137</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L138">138</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L139">139</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L140">140</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L141">141</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L143">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L144">144</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L145">145</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L146">146</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L147">147</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L148">148</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L149">149</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L150">150</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L151">151</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L152">152</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L153">153</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L154">154</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L155">155</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L156">156</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L167">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L168">168</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L169">169</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L170">170</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L171">171</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L172">172</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L173">173</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L174">174</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L175">175</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L176">176</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L177">177</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L178">178</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L179">179</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L180">180</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L193">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L194">194</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L195">195</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L196">196</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L197">197</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L198">198</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L199">199</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L200">200</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L201">201</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L206">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L207">207</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L208">208</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L209">209</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L210">210</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L211">211</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L212">212</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L213">213</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L218">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L219">219</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L220">220</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L221">221</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L222">222</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L223">223</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L224">224</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L225">225</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L226">226</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L227">227</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L228">228</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L229">229</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L230">230</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L231">231</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L232">232</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L233">233</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L243">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L244">244</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L245">245</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L246">246</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L247">247</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L248">248</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L249">249</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L250">250</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L251">251</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L252">252</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L253">253</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L262">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L263">263</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L264">264</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L265">265</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L266">266</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L267">267</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L268">268</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L269">269</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L270">270</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L294">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L295">295</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L296">296</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L297">297</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L298">298</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L299">299</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L300">300</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L301">301</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L302">302</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L303">303</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L304">304</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L305">305</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L306">306</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3L307">307</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R16">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R17">17</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R18">18</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R19">19</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R20">20</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R21">21</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R22">22</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R23">23</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R24">24</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R127">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R128">128</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R129">129</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R130">130</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R131">131</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R132">132</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R133">133</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R134">134</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R135">135</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R136">136</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R137">137</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R138">138</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R139">139</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R140">140</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R141">141</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R142">142</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R143">143</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R145">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R146">146</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R147">147</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R148">148</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R149">149</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R150">150</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R151">151</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R152">152</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R153">153</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R154">154</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R155">155</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R156">156</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R157">157</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R158">158</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R159">159</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R170">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R171">171</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R172">172</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R173">173</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R174">174</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R175">175</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R176">176</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R177">177</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R178">178</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R179">179</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R180">180</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R181">181</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R182">182</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R183">183</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R196">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R197">197</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R198">198</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R199">199</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R200">200</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R201">201</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R202">202</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R203">203</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R204">204</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R209">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R210">210</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R211">211</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R212">212</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R213">213</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R214">214</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R215">215</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R216">216</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R221">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R222">222</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R223">223</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R224">224</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R225">225</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R226">226</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R227">227</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R228">228</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R229">229</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R230">230</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R231">231</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R232">232</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R233">233</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R234">234</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R235">235</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R236">236</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R246">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R247">247</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R248">248</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R249">249</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R250">250</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R251">251</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R252">252</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R253">253</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R254">254</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R255">255</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R256">256</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R265">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R266">266</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R267">267</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R268">268</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R269">269</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R270">270</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R271">271</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R272">272</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R273">273</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R297">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R298">298</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R299">299</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R300">300</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R301">301</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R302">302</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R303">303</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R304">304</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R305">305</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R306">306</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R307">307</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R308">308</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R309">309</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L3R310">310</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -17,6 +17,8 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">var Connection = require('./connection').Connection;</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var ConsoleLogger = require('../console-logger').ConsoleLogger;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var SerfAgent = require('../serf/agent');</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+var LOG_PREFIX = '[connection-pool] ';</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> function ConnectionPool(params) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this._params = params || {};</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -126,16 +128,16 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">ConnectionPool.prototype = {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> },</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> getEnginesFromCluster: function(retryCount) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.info('Getting engine names from cluster.');</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.info(LOG_PREFIX + 'Getting engine names from cluster.');</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (this._watching)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return this.getEnginesFromClusterMember(this._serf.rpcAddress);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.info('Not watching: getting engine names from predetected member.');</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.info(LOG_PREFIX + 'Not watching: getting engine names from predetected member.');</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> retryCount = retryCount || 0;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var hostName = this._hostNames[retryCount];</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (!hostName) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var error = new Error('all cluster members are unaccessible.');</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.error(error);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.error(LOG_PREFIX, error);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return Q.Promise.reject(error);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -144,13 +146,14 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">ConnectionPool.prototype = {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return engines;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> })</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> .catch((function(error) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.error('Failed to get the list of droonga-engine hosts from the cluster member ' + hostName + '. Retrying...');</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.error(error);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.error(LOG_PREFIX + 'Failed to get the list of droonga-engine hosts ' +</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ 'from the cluster member ' + hostName + '. Retrying...',</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ error);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return this.getEnginesFromCluster(retryCount + 1);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }).bind(this));</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> },</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> getEnginesFromClusterMember: function(rpcAddress) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.info('Getting engine names from a cluster member ' + rpcAddress + '.');</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.info(LOG_PREFIX + 'Getting engine names from a cluster member ' + rpcAddress + '.');</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return Q.Promise((function(resolve, reject, notify) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (!rpcAddress)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> reject(new Error('no RPC address is given'));</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -168,13 +171,13 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">ConnectionPool.prototype = {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> ].join(' ');</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> exec(commandLine, (function(error, stdin, stdout) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (error) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.error('express-droonga-report-live-engine-hosts:');</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.error(stdin.trim());</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.error(LOG_PREFIX + 'express-droonga-report-live-engine-hosts:',</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ stdin.trim());</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return reject(error);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var result = JSON.parse(stdin.trim());</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.trace('express-droonga-report-live-engine-hosts:');</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.trace(result);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.trace(LOG_PREFIX + 'express-droonga-report-live-engine-hosts:',</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ result);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> resolve(result.liveEngineNodes);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }).bind(this));</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }).bind(this));</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -194,8 +197,8 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">ConnectionPool.prototype = {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> ].join(' ');</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> exec(commandLine, (function(error, stdin, stdout) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (error) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.error('express-droonga-join-to-cluster:');</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.error(stdin.trim());</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.error(LOG_PREFIX + 'express-droonga-join-to-cluster:',</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ stdin.trim());</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return reject(error);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> resolve();</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -207,7 +210,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">ConnectionPool.prototype = {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (this.updating)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return Q.Promise.resolve();</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.info('Starting to update host names.');</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.info(LOG_PREFIX + 'Starting to update host names.');</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this.updating = true;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return this.getEnginesFromCluster()</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> .then((function(engines) {</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -219,15 +222,15 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">ConnectionPool.prototype = {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> // Otherwise, old droonga-engine processes become zombie.</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this.closeAll();</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this.hostNames = hostNames;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.info('List of droonga-engine hosts is successfully initialized from the cluster.');</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.info('cluster id: '+this.clusterId);</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.info(hostNames);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.info(LOG_PREFIX + 'List of droonga-engine hosts is successfully initialized from the cluster.');</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.info(LOG_PREFIX + 'cluster id: '+this.clusterId);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.info(LOG_PREFIX + JSON.stringify(hostNames));</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this.updating = false;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return hostNames;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }).bind(this))</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> .catch(function(error) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.error('Failed to initialize the list of droonga-engine hosts from the cluster.');</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.error(error);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.error(LOG_PREFIX + 'Failed to initialize the list of droonga-engine hosts from the cluster.',</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ error);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this.updating = false;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> });</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> },</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -244,10 +247,10 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">ConnectionPool.prototype = {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> });</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this._serf.start()</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> .then((function() {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.info('Start to watch changes in the cluster.');</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.info(LOG_PREFIX + 'Start to watch changes in the cluster.');</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this._watching = true;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this._serf.on('member-change', (function() {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.info('Serf cluster member is changed.');</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.info(LOG_PREFIX + 'Serf cluster member is changed.');</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (this._updateHostNamesTimer)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this._updateHostNamesTimer = setTimeout((function() {</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -263,8 +266,8 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">ConnectionPool.prototype = {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> resolve();</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }).bind(this))</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> .catch(function(error) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.error('Failed to start watching of changes in the cluster.');</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.error(error);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.error(LOG_PREFIX + 'Failed to start watching of changes in the cluster.',</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ error);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> reject(error);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> });</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }).bind(this));</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -295,13 +298,13 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">ConnectionPool.prototype = {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> },</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> shutdown: function() {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.info('closing all connections...');</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.info(LOG_PREFIX + 'closing all connections...');</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this.closeAll();</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.info('done.');</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.info(LOG_PREFIX + 'done.');</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.info('stopping serf agent...');</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.info(LOG_PREFIX + 'stopping serf agent...');</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this.stopSyncHostNamesFromCluster();</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.info('done.');</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.info(LOG_PREFIX + 'done.');</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> };</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
</pre>
</td>
</tr>
</tbody>
</table>
<table style="border-collapse: collapse; border: 1px solid #aaa">
<thead>
<tr class="diff-header" style="border: 1px solid #aaa">
<td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: lib/droonga-protocol/connection.js (+15 -13)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
</td>
</tr>
</thead>
<tbody>
<tr>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L16">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L17">17</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L18">18</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L19">19</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L20">20</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L21">21</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L22">22</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L88">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L89">89</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L90">90</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L91">91</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L92">92</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L93">93</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L94">94</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L95">95</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L130">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L131">131</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L132">132</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L133">133</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L134">134</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L135">135</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L136">136</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L137">137</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L146">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L147">147</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L148">148</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L149">149</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L150">150</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L151">151</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L152">152</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L153">153</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L154">154</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L155">155</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L156">156</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L157">157</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L158">158</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L159">159</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L160">160</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L217">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L218">218</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L219">219</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L220">220</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L221">221</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L222">222</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L223">223</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L224">224</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L226">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L227">227</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L228">228</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L229">229</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L230">230</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L231">231</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L232">232</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L233">233</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L247">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L248">248</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L249">249</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L250">250</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L251">251</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L252">252</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L253">253</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L254">254</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L258">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L259">259</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L260">260</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L261">261</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L262">262</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L263">263</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L264">264</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L265">265</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L271">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L272">272</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L273">273</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L274">274</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L275">275</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L276">276</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L277">277</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L278">278</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L279">279</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L280">280</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L281">281</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L282">282</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L283">283</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L284">284</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L285">285</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L289">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L290">290</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L291">291</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L292">292</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L293">293</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L294">294</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L295">295</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L296">296</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L308">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L309">309</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L310">310</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L311">311</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L312">312</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L313">313</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L314">314</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L315">315</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L332">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L333">333</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L334">334</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L335">335</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L336">336</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L337">337</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L338">338</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4L339">339</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R16">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R17">17</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R18">18</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R19">19</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R20">20</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R21">21</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R22">22</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R23">23</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R24">24</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R90">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R91">91</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R92">92</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R93">93</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R94">94</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R95">95</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R96">96</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R97">97</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R132">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R133">133</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R134">134</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R135">135</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R136">136</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R137">137</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R138">138</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R139">139</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R148">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R149">149</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R150">150</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R151">151</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R152">152</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R153">153</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R154">154</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R155">155</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R156">156</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R157">157</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R158">158</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R159">159</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R160">160</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R161">161</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R162">162</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R219">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R220">220</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R221">221</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R222">222</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R223">223</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R224">224</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R225">225</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R226">226</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R228">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R229">229</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R230">230</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R231">231</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R232">232</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R233">233</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R234">234</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R235">235</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R249">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R250">250</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R251">251</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R252">252</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R253">253</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R254">254</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R255">255</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R256">256</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R260">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R261">261</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R262">262</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R263">263</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R264">264</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R265">265</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R266">266</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R267">267</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R273">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R274">274</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R275">275</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R276">276</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R277">277</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R278">278</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R279">279</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R280">280</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R281">281</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R282">282</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R283">283</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R284">284</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R285">285</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R286">286</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R287">287</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R291">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R292">292</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R293">293</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R294">294</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R295">295</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R296">296</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R297">297</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R298">298</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R310">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R311">311</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R312">312</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R313">313</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R314">314</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R315">315</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R316">316</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R317">317</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R334">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R335">335</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R336">336</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R337">337</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R338">338</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R339">339</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R340">340</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L4R341">341</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -17,6 +17,8 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">var FluentReceiver = require('./receiver').FluentReceiver;</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var ConsoleLogger = require('../console-logger').ConsoleLogger;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var NodeRole = require('../node-role');</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+var LOG_PREFIX = '[connection] ';</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var DEFAULT_FLUENT_TAG =</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> Connection.DEFAULT_FLUENT_TAG =</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> 'droonga';</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -89,7 +91,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">Connection.prototype._initSender = function(wait) {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> '[' + error.name + '] ' + error.message;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var ids = Object.keys(this._sendingMessages);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (ids.length == 0) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.error(errorMessage, error);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.error(LOG_PREFIX + errorMessage, error);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> } else {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> ids.forEach(function(id) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var sendingMessage = this._sendingMessages[id];</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -131,7 +133,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">Connection.prototype._initReceiver = function() {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }).bind(this));</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var tag = this.tag + '.message';</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.trace('Connection._initReceiver %d (%s): %d %d:',</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.trace(LOG_PREFIX + 'Connection._initReceiver %d (%s): %d %d:',</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this._id, this.hostAndPort,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> receiver._id, this.receivePort, tag);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this._receiver = receiver;</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -147,14 +149,14 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">Connection.prototype._handleMessage = function(envelope) {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var inReplyTo = envelope.inReplyTo;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (inReplyTo) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> delete this._sendingMessages[inReplyTo];</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.trace('Connection._handleMessage.reply %d (%s):',</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.trace(LOG_PREFIX + 'Connection._handleMessage.reply %d (%s):',</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this._id, this.hostAndPort, envelope);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var errorCode = envelope.statusCode;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (!errorCode || isSuccess(errorCode))</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> errorCode = null;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this.emit('reply:' + inReplyTo, errorCode, envelope);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> } else {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.trace('Connection._handleMessage.message %d (%s):',</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.trace(LOG_PREFIX + 'Connection._handleMessage.message %d (%s):',</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this._id, this.hostAndPort, envelope);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this.emit(envelope.type, envelope);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -218,7 +220,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">Connection.prototype.emitMessage = function(type, body, callback, options) {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (!this.receivePort) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.trace('Connection.emitMessage %d (%s): ' +</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.trace(LOG_PREFIX + 'Connection.emitMessage %d (%s): ' +</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> 'Receiver is not initialized yet. ' +</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> 'Given message will be sent later.',</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this._id, this.hostAndPort);</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -227,7 +229,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">Connection.prototype.emitMessage = function(type, body, callback, options) {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var id = createId();</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.trace('Connection.emitMessage %d (%s):',</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.trace(LOG_PREFIX + 'Connection.emitMessage %d (%s):',</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this._id, this.hostAndPort);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var from = this.getRouteToSelf(options);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var envelope = {</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -248,7 +250,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">Connection.prototype.emitMessage = function(type, body, callback, options) {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (typeof envelope.timeout == 'number')</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> envelope.timeout = toFloat(envelope.timeout);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.trace('emitMessage: trying to send message: ',</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.trace(LOG_PREFIX + 'emitMessage: trying to send message: ',</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> envelope);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var sendingMessages = { type: type };</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -259,7 +261,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">Connection.prototype.emitMessage = function(type, body, callback, options) {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var event = 'reply:' + id;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var timeoutId;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this.once(event, (function(errorCode, response) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.trace('Connection.emitMessage.reply %d (%s):',</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.trace(LOG_PREFIX + 'Connection.emitMessage.reply %d (%s):',</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this._id, this.hostAndPort, errorCode);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (timeoutId)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> clearTimeout(timeoutId);</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -272,14 +274,14 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">Connection.prototype.emitMessage = function(type, body, callback, options) {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> callback = null;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> catch(error) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.error(error);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.error(LOG_PREFIX, error);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }).bind(this));</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (envelope.timeout > -1) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var timeoutMilliseconds = envelope.timeout * ONE_SECOND_IN_MILLISECONDS;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> timeoutId = setTimeout((function() {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.trace('Connection timed out (message id: '+id+')');</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.trace(LOG_PREFIX + 'Connection timed out (message id: '+id+')');</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this.removeAllListeners(event);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (sendingMessages)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> sendingMessages.callback = null;</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -290,7 +292,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">Connection.prototype.emitMessage = function(type, body, callback, options) {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> callback = null;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> catch(error) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.error(error);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.error(LOG_PREFIX, error);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }).bind(this), timeoutMilliseconds);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -309,7 +311,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">Connection.prototype.thenableEmitMessage = function(type, body, options) {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> };</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> Connection.prototype._sendPendingMessages = function() {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.trace('Connection._sendPendingMessages %d (%s): ' +</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.trace(LOG_PREFIX + 'Connection._sendPendingMessages %d (%s): ' +</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> 'Send %d pending message(s).',</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this._id, this.hostAndPort,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this._pendingMessages.length);</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -333,7 +335,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">Connection.prototype.close = function() {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> message.callback = callback = null;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> catch(error) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.error(error)</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.error(LOG_PREFIX, error)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }, this);</span>
</pre>
</td>
</tr>
</tbody>
</table>
<table style="border-collapse: collapse; border: 1px solid #aaa">
<thead>
<tr class="diff-header" style="border: 1px solid #aaa">
<td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: lib/droonga-protocol/receiver.js (+9 -6)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
</td>
</tr>
</thead>
<tbody>
<tr>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5L4">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5L5">5</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5L6">6</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5L7">7</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5L8">8</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5L9">9</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5L10">10</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5L37">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5L38">38</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5L39">39</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5L40">40</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5L41">41</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5L42">42</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5L43">43</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5L44">44</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5L45">45</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5L46">46</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5L133">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5L134">134</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5L135">135</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5L136">136</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5L137">137</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5L138">138</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5L139">139</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5L140">140</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5L141">141</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5L142">142</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5L143">143</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5L144">144</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5L145">145</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5L146">146</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5L147">147</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5L148">148</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5L149">149</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5L150">150</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5L151">151</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5L152">152</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5L153">153</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5L154">154</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5R4">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5R5">5</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5R6">6</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5R7">7</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5R8">8</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5R9">9</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5R10">10</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5R11">11</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5R12">12</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5R13">13</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5R40">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5R41">41</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5R42">42</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5R43">43</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5R44">44</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5R45">45</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5R46">46</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5R47">47</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5R48">48</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5R49">49</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5R136">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5R137">137</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5R138">138</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5R139">139</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5R140">140</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5R141">141</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5R142">142</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5R143">143</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5R144">144</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5R145">145</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5R146">146</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5R147">147</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5R148">148</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5R149">149</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5R150">150</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5R151">151</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5R152">152</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5R153">153</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5R154">154</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5R155">155</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5R156">156</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L5R157">157</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -5,6 +5,9 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">var msgpack = require('msgpack');</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var Q = require('q');</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var ConsoleLogger = require('../console-logger').ConsoleLogger;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+var MSGPACK_PREFIX = '[msgpack-receiver] ';</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+var FLUENT_PREFIX = '[fluent-receiver] ';</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> function MsgPackReceiver(port, options) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> EventEmitter.call(this);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this.port = port || undefined;</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -38,9 +41,9 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">MsgPackReceiver.prototype._onConnect = function(socket) {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> };</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> MsgPackReceiver.prototype._onMessageReceive = function(data) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.trace('MsgPackReceiver._onMessageReceive %d: start', this._id);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.trace(MSGPACK_PREFIX + '_onMessageReceive %d: start', this._id);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this.emit('receive', data);</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.trace('MsgPackReceiver._onMessageReceive %d: done', this._id);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.trace(MSGPACK_PREFIX + '_onMessageReceive %d: done', this._id);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> };</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> MsgPackReceiver.prototype.listen = function(callback) {</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -134,21 +137,21 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">function FluentReceiver(port, options) {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> util.inherits(FluentReceiver, MsgPackReceiver);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> FluentReceiver.prototype._onMessageReceive = function(packet) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.trace('FluentReceiver._onMessageReceive %d: start', this._id);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.trace(FLUENT_PREFIX + '_onMessageReceive %d: start', this._id);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> MsgPackReceiver.prototype._onMessageReceive.call(this, packet);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (packet.length == 3) { // Message type</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var tag = packet[0];</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var response = packet[2];</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.trace('FluentReceiver._onMessageReceive.message %d', this._id, tag);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.trace(FLUENT_PREFIX + '_onMessageReceive.message %d', this._id, tag);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this.emit(tag, response);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> else { // Forward type</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.trace('FluentReceiver._onMessageReceive.forward %d', this._id, packet);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.trace(FLUENT_PREFIX + '_onMessageReceive.forward %d', this._id, packet);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> packet[1].forEach(function(entry) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this.emit(packet[0], entry[1]);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }, this);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.trace('FluentReceiver._onMessageReceive %d: done', this._id);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.trace(FLUENT_PREFIX + '_onMessageReceive %d: done', this._id);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> };</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> exports.FluentReceiver = FluentReceiver;</span>
</pre>
</td>
</tr>
</tbody>
</table>
<table style="border-collapse: collapse; border: 1px solid #aaa">
<thead>
<tr class="diff-header" style="border: 1px solid #aaa">
<td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: lib/middleware/cache/index.js (+3 -1)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
</td>
</tr>
</thead>
<tbody>
<tr>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L6L2">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L6L3">3</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L6L4">4</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L6L5">5</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L6L6">6</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L6L7">7</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L6L8">8</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L6L77">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L6L78">78</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L6L79">79</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L6L80">80</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L6L81">81</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L6L82">82</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L6L83">83</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L6L84">84</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L6R2">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L6R3">3</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L6R4">4</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L6R5">5</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L6R6">6</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L6R7">7</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L6R8">8</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L6R9">9</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L6R10">10</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L6R79">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L6R80">80</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L6R81">81</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L6R82">82</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L6R83">83</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L6R84">84</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L6R85">85</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L6R86">86</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -3,6 +3,8 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">var Rule = require('./rule');</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var defaultTTLInMilliSeconds = 60 * 1000;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+var LOG_PREFIX = '[middleware-cache] ';</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> function getNormalizedTTLInMilliSeconds(options) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var ttlInSeconds = options.ttlInSeconds || 0;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return options.ttl ||</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -78,7 +80,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">module.exports = function cacheMiddleware(cache, options) {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var cacheKey = generateKey(request);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> cache.get(cacheKey, function(error, cachedResponse) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (error) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- logger.error(error);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ logger.error(LOG_PREFIX, error);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
</pre>
</td>
</tr>
</tbody>
</table>
<table style="border-collapse: collapse; border: 1px solid #aaa">
<thead>
<tr class="diff-header" style="border: 1px solid #aaa">
<td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: lib/serf/agent.js (+14 -12)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
</td>
</tr>
</thead>
<tbody>
<tr>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L33">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L34">34</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L35">35</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L36">36</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L37">37</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L38">38</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L39">39</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L58">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L59">59</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L60">60</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L61">61</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L62">62</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L63">63</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L64">64</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L65">65</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L66">66</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L67">67</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L68">68</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L69">69</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L70">70</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L71">71</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L72">72</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L104">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L105">105</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L106">106</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L107">107</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L108">108</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L109">109</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L110">110</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L111">111</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L112">112</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L113">113</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L114">114</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L115">115</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L116">116</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L117">117</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L118">118</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L119">119</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L120">120</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L121">121</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L122">122</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L123">123</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L124">124</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L125">125</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L126">126</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L127">127</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L128">128</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L129">129</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L130">130</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L131">131</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L132">132</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L133">133</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L134">134</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L135">135</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L168">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L169">169</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L170">170</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L171">171</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L172">172</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L173">173</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L174">174</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L175">175</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L180">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L181">181</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L182">182</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L183">183</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L184">184</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L185">185</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L186">186</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L187">187</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7L188">188</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R33">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R34">34</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R35">35</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R36">36</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R37">37</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R38">38</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R39">39</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R40">40</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R41">41</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R60">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R61">61</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R62">62</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R63">63</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R64">64</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R65">65</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R66">66</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R67">67</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R68">68</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R69">69</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R70">70</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R71">71</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R72">72</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R73">73</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R74">74</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R106">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R107">107</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R108">108</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R109">109</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R110">110</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R111">111</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R112">112</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R113">113</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R114">114</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R115">115</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R116">116</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R117">117</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R118">118</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R119">119</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R120">120</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R121">121</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R122">122</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R123">123</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R124">124</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R125">125</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R126">126</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R127">127</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R128">128</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R129">129</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R130">130</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R131">131</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R132">132</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R133">133</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R134">134</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R135">135</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R136">136</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R137">137</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R170">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R171">171</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R172">172</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R173">173</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R174">174</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R175">175</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R176">176</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R177">177</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R182">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R183">183</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R184">184</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R185">185</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R186">186</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R187">187</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R188">188</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R189">189</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L7R190">190</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -34,6 +34,8 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">var DEFAULT_BIND_PORT = 7946;</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var BIND_PORT = 8946;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var RPC_PORT = 8373;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+var LOG_PREFIX = '[serf-agent] ';</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> function Agent(options) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> options = options || {};</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -59,14 +61,14 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">function Agent(options) {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> util.inherits(Agent, EventEmitter);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> Agent.prototype.start = function() {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.trace('Starting Serf agent (' + this._serf + ')');</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.trace(LOG_PREFIX + 'Starting Serf agent (' + this._serf + ')');</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return Q.Promise((function(resolve, reject, notify) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (this._agentProcess)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return resolve();</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (this._serf.charAt(0) == '/' &&</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> !fs.existsSync(this._serf)) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.info('Serf command is not found. Install Serf automatically.');</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.info(LOG_PREFIX + 'Serf command is not found. Install Serf automatically.');</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> new Downloader({ logger: this._logger })</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> .saveTo(path.dirname(this._serf))</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> .then((function() {</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -105,31 +107,31 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">Agent.prototype.tryStart = function() {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> agentArgs.push(address);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> });</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> try {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.info('Starting Serf agent: ' + this._serf + ' ' + agentArgs.join(' '));</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.info(LOG_PREFIX + 'Starting Serf agent: ' + this._serf + ' ' + agentArgs.join(' '));</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this._agentProcess = spawn(this._serf, agentArgs);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this._agentProcess.on('close', (function(exitStatusCode) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (exitStatusCode != 0)</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.error(new Error('Serf agent is closed with error: ' + exitStatusCode));</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.error(LOG_PREFIX, new Error('Serf agent is closed with error: ' + exitStatusCode));</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this._agentProcess = null;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }).bind(this));</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this._agentProcess.stdout.on('data', (function(data) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this._handleOutput(String(data));</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }).bind(this));</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> } catch(error) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.error('Failed to start Serf agent.');</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.error(error);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.error(LOG_PREFIX + 'Failed to start Serf agent.',</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ error);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> try {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this._agentProcess.kill();</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> } catch(error) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.error('Failed to stop Serf agent.');</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.error(error);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.error(LOG_PREFIX + 'Failed to stop Serf agent.',</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ error);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this._agentProcess = null;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> };</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> Agent.prototype._handleOutput = function(output) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.trace('Serf agent output: ' + output);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.trace(LOG_PREFIX + 'Serf agent output: ' + output);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var matched = output.match(EVENT_LOG_PATTERN);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (!matched)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return;</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -169,7 +171,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">Agent.prototype._handleOutput = function(output) {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> };</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> Agent.prototype.shutdown = function() {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.info('Shutting down Serf agent');</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.info(LOG_PREFIX + 'Shutting down Serf agent');</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return Q.Promise((function(resolve, reject, notify) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this.removeAllListeners();</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (!this._agentProcess)</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -181,8 +183,8 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">Agent.prototype.shutdown = function() {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this._agentProcess = null;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> resolve();</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> } catch(error) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.error('Failed to stop Serf agent.');</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.error(error);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.error(LOG_PREFIX + 'Failed to stop Serf agent.',</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ error);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> reject(error);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }).bind(this));</span>
</pre>
</td>
</tr>
</tbody>
</table>
<table style="border-collapse: collapse; border: 1px solid #aaa">
<thead>
<tr class="diff-header" style="border: 1px solid #aaa">
<td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: lib/serf/downloader.js (+7 -5)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
</td>
</tr>
</thead>
<tbody>
<tr>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8L18">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8L19">19</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8L20">20</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8L21">21</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8L22">22</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8L23">23</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8L24">24</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8L28">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8L29">29</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8L30">30</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8L31">31</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8L32">32</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8L33">33</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8L34">34</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8L35">35</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8L39">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8L40">40</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8L41">41</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8L42">42</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8L43">43</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8L44">44</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8L45">45</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8L46">46</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8L47">47</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8L48">48</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8L49">49</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8L50">50</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8L51">51</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8L52">52</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8L53">53</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8L58">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8L59">59</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8L60">60</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8L61">61</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8L62">62</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8L63">63</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8L64">64</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8L65">65</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8L66">66</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8L67">67</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8R18">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8R19">19</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8R20">20</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8R21">21</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8R22">22</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8R23">23</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8R24">24</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8R25">25</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8R26">26</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8R30">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8R31">31</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8R32">32</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8R33">33</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8R34">34</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8R35">35</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8R36">36</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8R37">37</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8R41">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8R42">42</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8R43">43</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8R44">44</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8R45">45</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8R46">46</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8R47">47</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8R48">48</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8R49">49</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8R50">50</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8R51">51</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8R52">52</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8R53">53</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8R54">54</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8R55">55</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8R60">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8R61">61</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8R62">62</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8R63">63</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8R64">64</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8R65">65</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8R66">66</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8R67">67</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8R68">68</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/5aab5849a8ba6810a4cf11731fe95f24d4adb1d7#L8R69">69</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -19,6 +19,8 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">var RETRY_INTERVAL = 10 * 1000;</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var VERSION = '0.6.3';</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var BASE_URL = 'https://dl.bintray.com/mitchellh/serf';</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+var LOG_PREFIX = '[serf-downloader] ';</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> function Downloader(options) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> options = options || {};</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this._logger = options.logger || new ConsoleLogger();</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -29,7 +31,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">Downloader.prototype = {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return Q.Promise((function(resolve, reject, notify) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (!fs.existsSync(dir)) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var error = new Error(dir + ' does not exist!');</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.error(error);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.error(LOG_PREFIX, error);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return reject(error);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -40,14 +42,14 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">Downloader.prototype = {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> .then(resolve)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> .catch(reject);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> } catch(error) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.error(error);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.error(LOG_PREFIX, error);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> reject(error);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }).bind(this));</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> },</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> _trySave: function(url, dir, retryCount) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.debug('Serf Downloader: Trying to download ' + url +</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.debug(LOG_PREFIX + 'Serf Downloader: Trying to download ' + url +</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> ' to ' + dir + ' (rest=' + retryCount + ')');</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return Q.Promise((function(resolve, reject, notify) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> try {</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -59,9 +61,9 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">Downloader.prototype = {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> download.run((function(error, files, stream) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (error) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (retryCount > 0) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.error(error);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.error(LOG_PREFIX, error);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> setTimeout((function() {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- this._logger.error('Serf Downloader: Retrying to download.');</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this._logger.error(LOG_PREFIX + 'Serf Downloader: Retrying to download.');</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this._trySave(url, dir, retryCount - 1)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> .then(resolve)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> .catch(reject);</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>