mostlyserious / riak-js

Riak client for Javascript
http://riak-js.org
476 stars 102 forks source link

Saving meta with an arobase in a 2i key throws an error #217

Open sonnyp opened 10 years ago

sonnyp commented 10 years ago

Error is: { [Error: socket hang up] code: 'ECONNRESET' }

    var meta = {
      index: {
        'foo@bar': 'foobar'
      }
    };

    db.save('test', 'test', 'hello', meta, function(err) {
      console.log(err);
    });