Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Institute of Technical Acoustics (ITA)
VANet
Commits
79ad52a9
Commit
79ad52a9
authored
Apr 10, 2017
by
Jonas Stienen
Browse files
Fixing message processing bug (was reading over current message size and destroying next buffer)
;
parent
62491c92
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/VANetServerImpl.cpp
View file @
79ad52a9
...
...
@@ -218,8 +218,11 @@ public:
m_mapConnections
[
nUpdateID
]
->
SetWaitForDescriptorEventSelectIsEnabled
(
true
);
}
}
catch
(
CVAException
&
)
catch
(
CVAException
&
e
)
{
#ifdef VANET_SERVER_VERBOSE
std
::
cerr
<<
"VA Server: caught exception and will disconnect now ("
<<
e
<<
")"
<<
std
::
endl
;
#endif
m_pParent
->
RemoveClient
(
m_mapConnections
[
nUpdateID
],
CVANetNetworkProtocol
::
VA_NET_SERVER_DISCONNECT
);
}
return
false
;
...
...
Write
Preview
Supports
Markdown
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