Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
belle-sip
Commits
1ffd8905
Commit
1ffd8905
authored
May 28, 2015
by
jehan
Browse files
add trace to display when belle_sip_handler_send_chunck return 0 bytes
parent
e617403e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/channel.c
View file @
1ffd8905
...
...
@@ -1073,6 +1073,8 @@ static void _send_message(belle_sip_channel_t *obj){
do
{
max_body_len
=
sizeof
(
buffer
)
-
1
-
len
;
ret
=
belle_sip_body_handler_send_chunk
(
bh
,
msg
,(
uint8_t
*
)
buffer
+
len
,
&
max_body_len
);
if
(
max_body_len
==
0
)
belle_sip_warning
(
"belle_sip_body_handler_send_chunk on channel [%p], 0 bytes read"
,
obj
);
len
+=
max_body_len
;
}
while
(
ret
==
BELLE_SIP_CONTINUE
);
belle_sip_body_handler_end_transfer
(
bh
);
...
...
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