Skip to content

Commit

Permalink
Add TODO.
Browse files Browse the repository at this point in the history
  • Loading branch information
rakyll committed May 22, 2014
1 parent e54e666 commit e56f837
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/common/connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ Connection.prototype.connect = function(callback) {
Connection.prototype.req = function(reqOpts, opt_callback) {
var that = this;
if (!this.isConnected()) {
// TODO(jbd): Disallow multiple connection requests are done.
this.connect(function(err) {
if (err) {
return opt_callback && opt_callback(err);
Expand Down

0 comments on commit e56f837

Please sign in to comment.