Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
2e9954d9
Commit
2e9954d9
authored
Jun 06, 2004
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* udp: increase the mtu by *2 instead of 10%.
parent
d48e6bfe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
modules/access/udp.c
modules/access/udp.c
+4
-3
No files found.
modules/access/udp.c
View file @
2e9954d9
...
...
@@ -321,10 +321,11 @@ static block_t *BlockUDP( access_t *p_access )
return
NULL
;
}
if
(
p_block
->
i_buffer
>=
p_sys
->
i_mtu
&&
p_sys
->
b_auto_mtu
)
if
(
p_block
->
i_buffer
>=
p_sys
->
i_mtu
&&
p_sys
->
b_auto_mtu
&&
p_sys
->
i_mtu
<
32767
)
{
/* Increase by 10% */
p_sys
->
i_mtu
+=
(
p_sys
->
i_mtu
+
9
)
/
10
;
/* Increase by 10
0
% */
p_sys
->
i_mtu
*=
2
;
msg_Dbg
(
p_access
,
"increasing MTU to %d"
,
p_sys
->
i_mtu
);
}
...
...
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