Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
6f0929b0
Commit
6f0929b0
authored
Jul 06, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
ac793829
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
go/zodb/storage/zeo/zeo.go
go/zodb/storage/zeo/zeo.go
+1
-1
go/zodb/storage/zeo/zrpc.go
go/zodb/storage/zeo/zrpc.go
+1
-1
No files found.
go/zodb/storage/zeo/zeo.go
View file @
6f0929b0
...
...
@@ -305,7 +305,7 @@ func (r rpc) ereplyf(format string, argv ...interface{}) *errorUnexpectedReply {
func
openByURL
(
ctx
context
.
Context
,
u
*
url
.
URL
,
opt
*
zodb
.
DriverOptions
)
(
_
zodb
.
IStorageDriver
,
at0
zodb
.
Tid
,
err
error
)
{
url
:=
u
.
String
()
defer
xerr
.
Contextf
(
&
err
,
"open %s
:
"
,
url
)
defer
xerr
.
Contextf
(
&
err
,
"open %s"
,
url
)
// zeo://host:port/path?storage=...&...
var
net
xnet
.
Networker
...
...
go/zodb/storage/zeo/zrpc.go
View file @
6f0929b0
...
...
@@ -290,7 +290,7 @@ func pktEncodeZ(m msg) *pktBuf {
// pktEncodeM encodes message into raw M (msgpack) packet.
func
pktEncodeM
(
m
msg
)
*
pktBuf
{
pkb
:=
allocPkb
()
data
,
err
:=
msgpack
.
Encode
StructAsArray
(
m
)
data
,
err
:=
msgpack
.
Encode
(
tuple
{
m
.
msgid
,
m
.
flags
,
m
.
method
,
m
.
arg
}
)
if
err
!=
nil
{
panic
(
err
)
// all our types are expected to be supported by msgpack
}
...
...
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