Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jacobsa-fuse
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
jacobsa-fuse
Commits
9b9a86cf
Commit
9b9a86cf
authored
Jul 27, 2015
by
Aaron Jacobs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed Connection.Reply.
parent
612735d5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
connection.go
connection.go
+3
-5
No files found.
connection.go
View file @
9b9a86cf
...
...
@@ -478,13 +478,11 @@ func (c *Connection) Reply(ctx context.Context, opErr error) {
}
// Send the reply to the kernel.
err
=
c
.
writeMessage
(
replyMsg
)
if
err
!=
nil
{
err
=
fmt
.
Error
f
(
"writeMessage: %v"
,
err
)
replyMsg
:=
kernelResponse
(
m
.
Header
()
.
Unique
,
op
,
opErr
,
c
.
protocol
)
if
err
:=
c
.
writeMessage
(
replyMsg
);
err
!=
nil
{
log
.
Fatal
f
(
"writeMessage: %v"
,
err
)
return
}
return
}
// Close the connection. Must not be called until operations that were read
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment