Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
brpc
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
brpc
Commits
a45df223
Commit
a45df223
authored
Nov 02, 2017
by
zhujiashun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unnecessary debug logs in rtmp
parent
8c82f342
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
4 deletions
+0
-4
rtmp_protocol.cpp
src/brpc/policy/rtmp_protocol.cpp
+0
-3
socket.cpp
src/brpc/socket.cpp
+0
-1
No files found.
src/brpc/policy/rtmp_protocol.cpp
View file @
a45df223
...
...
@@ -3537,7 +3537,6 @@ butil::Status
RtmpCreateStreamMessage
::
AppendAndDestroySelf
(
butil
::
IOBuf
*
out
,
Socket
*
s
)
{
std
::
unique_ptr
<
RtmpCreateStreamMessage
>
destroy_self
(
this
);
if
(
s
==
NULL
)
{
// abandoned
RPC_VLOG
<<
"[DEBUG] Socket=NULL"
;
return
butil
::
Status
::
OK
();
}
// Serialize createStream command
...
...
@@ -3597,8 +3596,6 @@ RtmpCreateStreamMessage::AppendAndDestroySelf(butil::IOBuf* out, Socket* s) {
socket
->
SetFailed
(
EINVAL
,
"Fail to serialize message"
);
return
butil
::
Status
(
EINVAL
,
"Fail to serialize message"
);
}
RPC_VLOG
<<
"[DEBUG] Succeed to call AppendAndDestroySelf, size="
<<
out
->
size
()
<<
" SocketId="
<<
s
->
id
();
return
butil
::
Status
::
OK
();
}
...
...
src/brpc/socket.cpp
View file @
a45df223
...
...
@@ -310,7 +310,6 @@ struct BAIDU_CACHELINE_ALIGNMENT Socket::WriteRequest {
if
(
msg
)
{
if
(
msg
!=
DUMMY_USER_MESSAGE
)
{
butil
::
IOBuf
dummy_buf
;
RPC_VLOG
<<
"reset_pipelined_count_and_user_message"
;
// We don't care about the return value since the request
// is already failed.
(
void
)
msg
->
AppendAndDestroySelf
(
&
dummy_buf
,
NULL
);
...
...
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