Ringaccount: add support for DHT proxy and push notifications

* Bump restbed for OpenDHT, update patch and add patch to react
  to timeout and socket closed in restbed.
* Bump OpenDHT to support push notifications
* Add DRing APIs to support setting a client push notification token
  and to retransmit push notifications to dring
* Implement proxy support in RingAccount

Change-Id: I8d3a02cf54a9666a94ab992ee3fa2958e82aa7ad
This commit is contained in:
Adrien Béraud
2018-01-25 11:37:12 -05:00
committed by Andreas Traczyk
parent 9179735a64
commit c5e74abe53
23 changed files with 682 additions and 96 deletions

View File

@ -164,10 +164,14 @@ for arg in "$[]@"; do
*) args@<:@${#args[@]}@:>@="$arg" ;;
esac
done
dnl enable opendht proxy
dhtproxy_variables="-DOPENDHT_PROXY_CLIENT=true -DOPENDHT_PROXY_SERVER=true -DOPENDHT_PUSH_NOTIFICATIONS=true"
if $modeok && $tagok ; then
. ${top_builddir_slash}doltcompile "${args@<:@@@:>@}"
. ${top_builddir_slash}doltcompile "${args@<:@@@:>@}" ${dhtproxy_variables}
else
exec ${top_builddir_slash}libtool "$[]@"
exec ${top_builddir_slash}libtool "$[]@" $(proxydht_variables) ${dhtproxy_variables}
fi
__DOLTLIBTOOL__EOF__