diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-08-28 19:44:20 +0200 |
---|---|---|
committer | pespin <pespin@sysmocom.de> | 2019-09-05 09:59:52 +0000 |
commit | c94837c6a401bf0f80791b619a9b4cfbe9160afd (patch) | |
tree | 9bd500fae6a49a1678c4ec3067ea49e3bab0fc08 /osmo-ggsn.spec.in | |
parent | 68c5a745570fa097406a574550dc393be01cf56b (diff) |
gtp: Manage queue timers internally
Currently each user (application) of libgtp needs to manage its own
timers in order to call gtp_retrans_timeout() and gtp_retrans() and
maintain retransmit and duplicate queues working correctly. This adds
unnecesary complexity to applications since nowadays, as a libosmocore
user, libgtp can handle this internally in an easy way.
Furthermore, keeping the timers internal to the library allows for
easier extension of features as well as re-implementation of related
code in the future.
Last but not least, it was detected that existing known applications
(osmo-sgsn, osmo-ggsn, sgsnemu) are not using correctly the API, since
they should be updating their timers through gtp_retrans_timeout()
everytime a message is enqueued/transmitted, otherwise they may fire
gtp_retrans() for retransmition too late in some cases.
Related: OS#4178
Change-Id: Ife7cfd66d6356f413263fe5bda9e43091f5c9e98
Diffstat (limited to 'osmo-ggsn.spec.in')
0 files changed, 0 insertions, 0 deletions