<!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 &lt;shimo****@clear*****&gt;</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
      <dd style="margin-left: 8.5em">2014-06-25 14:26:30 +0900 (Wed, 25 Jun 2014)</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/0910ece3f432b32a34028bde619348deb004c0f2">0910ece3f432b32a34028bde619348deb004c0f2</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, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">Use &quot;cookie&quot; module to parse cookie.

parseCookie is removed from connect 2.3.3.</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/0910ece3f432b32a34028bde619348deb004c0f2#diff-0">lib/adapter/socket.io.js</a></li>
          <li><a href="https://github.com/droonga/express-droonga/commit/0910ece3f432b32a34028bde619348deb004c0f2#diff-1">package.json</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, &quot;Liberation Mono&quot;, 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/socket.io.js (+2 -2)</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, &quot;Liberation Mono&quot;, 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/0910ece3f432b32a34028bde619348deb004c0f2#L0L0">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/0910ece3f432b32a34028bde619348deb004c0f2#L0L1">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/0910ece3f432b32a34028bde619348deb004c0f2#L0L2">2</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/0910ece3f432b32a34028bde619348deb004c0f2#L0L3">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/0910ece3f432b32a34028bde619348deb004c0f2#L0L4">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/0910ece3f432b32a34028bde619348deb004c0f2#L0L5">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/0910ece3f432b32a34028bde619348deb004c0f2#L0L163">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/0910ece3f432b32a34028bde619348deb004c0f2#L0L164">164</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/0910ece3f432b32a34028bde619348deb004c0f2#L0L165">165</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/0910ece3f432b32a34028bde619348deb004c0f2#L0L166">166</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/0910ece3f432b32a34028bde619348deb004c0f2#L0L167">167</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/0910ece3f432b32a34028bde619348deb004c0f2#L0L168">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/0910ece3f432b32a34028bde619348deb004c0f2#L0L169">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/0910ece3f432b32a34028bde619348deb004c0f2#L0L170">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/0910ece3f432b32a34028bde619348deb004c0f2#L0L171">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/0910ece3f432b32a34028bde619348deb004c0f2#L0L172">172</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/0910ece3f432b32a34028bde619348deb004c0f2#L0L173">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/0910ece3f432b32a34028bde619348deb004c0f2#L0L174">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/0910ece3f432b32a34028bde619348deb004c0f2#L0L175">175</a></span>
</pre>
            </th>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, 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/0910ece3f432b32a34028bde619348deb004c0f2#L0R0">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/0910ece3f432b32a34028bde619348deb004c0f2#L0R1">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/0910ece3f432b32a34028bde619348deb004c0f2#L0R2">2</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/0910ece3f432b32a34028bde619348deb004c0f2#L0R3">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/0910ece3f432b32a34028bde619348deb004c0f2#L0R4">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/0910ece3f432b32a34028bde619348deb004c0f2#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/0910ece3f432b32a34028bde619348deb004c0f2#L0R6">6</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/0910ece3f432b32a34028bde619348deb004c0f2#L0R164">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/0910ece3f432b32a34028bde619348deb004c0f2#L0R165">165</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/0910ece3f432b32a34028bde619348deb004c0f2#L0R166">166</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/0910ece3f432b32a34028bde619348deb004c0f2#L0R167">167</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/0910ece3f432b32a34028bde619348deb004c0f2#L0R168">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/0910ece3f432b32a34028bde619348deb004c0f2#L0R169">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/0910ece3f432b32a34028bde619348deb004c0f2#L0R170">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/0910ece3f432b32a34028bde619348deb004c0f2#L0R171">171</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</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/0910ece3f432b32a34028bde619348deb004c0f2#L0R172">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/0910ece3f432b32a34028bde619348deb004c0f2#L0R173">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/0910ece3f432b32a34028bde619348deb004c0f2#L0R174">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/0910ece3f432b32a34028bde619348deb004c0f2#L0R175">175</a></span>
</pre>
            </th>
            <td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, 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,5 +1,6 @@</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var socketIo = require('socket.io');</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var connect = require('connect');</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+var cookie = require('cookie');</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var command = require('./command');</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var wrapper = require('./wrapper');</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var api = require('./api');</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -164,12 +165,11 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">exports.register = function(application, server, params) {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">   // share session information with HTTP connections</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   var sessionStore = params.sessionStore;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   if (sessionStore) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-    var parseCookie = connect.utils.parseCookie;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     //io.configure(function() {</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       io.set('authorization', function(handshakeData, callback) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         if (handshakeData.headers.cookie) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre">           var cookie = handshakeData.headers.cookie;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-          var sessionID = parseCookie(cookie)['connect.sid'];</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+          var sessionID = cookie.parse(cookie)['connect.sid'];</span>
<span class="diff-not-changed" style="display: block; white-space: pre">           handshakeData.sessionID = sessionID;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">           sessionStore.get(sessionID, function(error, session) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre">             if (error) {</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, &quot;Liberation Mono&quot;, 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: package.json (+1 -0)</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, &quot;Liberation Mono&quot;, 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/0910ece3f432b32a34028bde619348deb004c0f2#L1L20">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/0910ece3f432b32a34028bde619348deb004c0f2#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/0910ece3f432b32a34028bde619348deb004c0f2#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/0910ece3f432b32a34028bde619348deb004c0f2#L1L23">23</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/0910ece3f432b32a34028bde619348deb004c0f2#L1L24">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/0910ece3f432b32a34028bde619348deb004c0f2#L1L25">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/0910ece3f432b32a34028bde619348deb004c0f2#L1L26">26</a></span>
</pre>
            </th>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, 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/0910ece3f432b32a34028bde619348deb004c0f2#L1R20">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/0910ece3f432b32a34028bde619348deb004c0f2#L1R21">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/0910ece3f432b32a34028bde619348deb004c0f2#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/0910ece3f432b32a34028bde619348deb004c0f2#L1R23">23</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/0910ece3f432b32a34028bde619348deb004c0f2#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/0910ece3f432b32a34028bde619348deb004c0f2#L1R25">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/0910ece3f432b32a34028bde619348deb004c0f2#L1R26">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/0910ece3f432b32a34028bde619348deb004c0f2#L1R27">27</a></span>
</pre>
            </th>
            <td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, 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">@@ -21,6 +21,7 @@</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   &quot;dependencies&quot;: {</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     &quot;body-parser&quot;: &quot;*&quot;,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     &quot;connect&quot;: &quot;*&quot;,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    &quot;cookie&quot;: &quot;*&quot;,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     &quot;errorhandler&quot;: &quot;*&quot;,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     &quot;fluent-logger&quot;: &quot;*&quot;,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     &quot;inflection&quot;: &quot;*&quot;,</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>