Skip to content

Commit eabbeba

Browse files
committed
Merge pull request brianc#963 from dorianj/cancellation
Fix byte representation of CancelRequest message
2 parents 93aa52d + eb7b15c commit eabbeba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/connection.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ Connection.prototype.cancel = function(processID, secretKey) {
159159
.addInt16(5678)
160160
.addInt32(processID)
161161
.addInt32(secretKey)
162-
.addCString('').flush();
162+
.flush();
163163

164164
var length = bodyBuffer.length + 4;
165165

0 commit comments

Comments
 (0)