diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-02-06 19:47:29 -0500 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-04-14 12:31:31 +0200 |
commit | 11a4ab0982caa3a4c22a08a72a134e2c402430ec (patch) | |
tree | df8f3a33c0360fe4be68108d91b516d1a1ce0232 /netwerk/base | |
parent | 8c41fcd24048154e3526e506157d337a2ab434e8 (diff) | |
download | UXP-11a4ab0982caa3a4c22a08a72a134e2c402430ec.tar UXP-11a4ab0982caa3a4c22a08a72a134e2c402430ec.tar.gz UXP-11a4ab0982caa3a4c22a08a72a134e2c402430ec.tar.lz UXP-11a4ab0982caa3a4c22a08a72a134e2c402430ec.tar.xz UXP-11a4ab0982caa3a4c22a08a72a134e2c402430ec.zip |
Issue #1395 - Remove FlyWeb Service
Diffstat (limited to 'netwerk/base')
-rw-r--r-- | netwerk/base/nsSocketTransportService2.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/netwerk/base/nsSocketTransportService2.cpp b/netwerk/base/nsSocketTransportService2.cpp index af5742564..4a8d80eed 100644 --- a/netwerk/base/nsSocketTransportService2.cpp +++ b/netwerk/base/nsSocketTransportService2.cpp @@ -25,7 +25,6 @@ #include "nsThreadUtils.h" #include "nsIFile.h" #include "nsIWidget.h" -#include "mozilla/dom/FlyWebService.h" namespace mozilla { namespace net { @@ -681,20 +680,6 @@ nsSocketTransportService::CreateRoutedTransport(const char **types, nsIProxyInfo *proxyInfo, nsISocketTransport **result) { - // Check FlyWeb table for host mappings. If one exists, then use that. - RefPtr<mozilla::dom::FlyWebService> fws = - mozilla::dom::FlyWebService::GetExisting(); - if (fws) { - nsresult rv = fws->CreateTransportForHost(types, typeCount, host, port, - hostRoute, portRoute, - proxyInfo, result); - NS_ENSURE_SUCCESS(rv, rv); - - if (*result) { - return NS_OK; - } - } - NS_ENSURE_TRUE(mInitialized, NS_ERROR_NOT_INITIALIZED); NS_ENSURE_TRUE(port >= 0 && port <= 0xFFFF, NS_ERROR_ILLEGAL_VALUE); |