Patrick McManus
b13558cf34
Bug 1361495 - trigger winsock init early on STS to avoid main thread jank r=nwgh
...
MozReview-Commit-ID: 9HhHWBwF47Z
2017-05-02 17:22:53 -04:00
Nathan Froyd
a3cd9ee75a
Bug 1360236 - make gSocketThread an internal implementation detail of nsSocketTransportService; r=mcmanus
...
This change makes the code a little cleaner and reduces the number of
places we call PR_GetCurrentThread, which is important for Quantum DOM
scheduling work.
The conversion was largely automatic, via:
find netwerk/ -name \*.cpp | \
xargs sed -i -e 's/MOZ_ASSERT(PR_GetCurrentThread() == gSocketThread[^;]*/MOZ_ASSERT(OnSocketThread(), "not on socket thread")/'
and related invocations, with a few manual tweaks at the end.
2017-04-27 14:34:42 -04:00
Tom Tromey
a4b717ab39
Bug 1060419 - make log_print use Printf.h, r=froydnj
...
MozReview-Commit-ID: BIZ1GQEZ1vs
2016-12-15 20:16:31 -07:00
Chris Peterson
0a27c5aa63
Bug 1329916 - Part 1: Remove netwerk checks for Windows XP. r=mcmanus
...
MozReview-Commit-ID: FBB3xll6wUx
2016-12-17 00:05:34 -08:00
Markus Stange
dab24ced3d
Bug 1323100 - Stop double-registering the Socket Transport thread. r=froydnj
...
MozReview-Commit-ID: 7YEC79PwUGg
2016-12-21 17:57:07 +01:00
Thinker K.F. Li
b11f188442
Bug 1319669 - Handle TaskTracer at STS thread and Cache thread. r=honzab
2016-12-09 14:09:00 -05:00
Shih-Chiang Chien
3701156f55
Bug 1320289 - register STS thread to gecko profiler. r=cyu,mayhemer
...
MozReview-Commit-ID: IzDNHDYAgsT
2016-11-25 18:07:06 +08:00
Andi-Bogdan Postelnicu
c2eea2fd98
Bug 1311669 - use auto type specifier for variable declarations to improve code readability and maintainability. r=valentin
...
MozReview-Commit-ID: F5YO9pVK5O8
2016-11-01 14:44:09 +02:00
Andrew Osmond
068f53bff3
Bug 1275464 - Part 2. Move socket transport service thread shutdown to xpcom-shutdown-threads. r=dragana
2016-09-19 13:29:59 -04:00
Dragana Damjanovic
2816859bcc
Bug 1294032 - Fix poll hang - on shutdown hang in poll post event multiple times. r=mcmanus
2016-09-13 04:43:00 -04:00
Julian Seward
e6e3017770
Bug 1296716 - Uninitialised value uses somehow relating to nsSocketTransportService::AnalyzeConnection. [email protected] .
2016-09-10 08:16:14 +02:00
Jinank Jain
552fc0bf70
Bug 712936 - Convert users of PR_STATIC_ASSERT to C++11 static_assert(). r=Ms2ger
2016-08-26 11:40:16 -04:00
Dragana Damjanovic
05a4451739
Bug 1292181 - Let each dispatch event sends data to the socket. r=mcmanus yolo CLOSED TREE
2016-08-11 16:30:23 -07:00
Alexandre Lissy
b2834a3543
Bug 1284674 - Remove NUWA r=cyu
...
MozReview-Commit-ID: GyMRNzOBKw6
2016-08-02 14:54:00 +02:00
Nicholas Nethercote
279eafd66f
Bug 1278452 - Avoid a possible null deref in netwerk/base/. r=valentin.
2016-06-07 15:07:54 +10:00
Patrick McManus
49c015a2f1
Bug 1277943 - atomic fix to sockettransport::debugautomutex r=hurley
2016-06-03 15:56:26 -04:00
Kannan Vijayan
6edb80b6d6
Bug 1272099, Bug 1272101 - FlyWeb core implementation, DOM and Network changes. r=baku r=hurley
2016-06-02 02:47:00 -04:00
Xidorn Quan
4843f879c0
Bug 1276549 - Remove rvalue reference mark for already_AddRefed params of nsIEventTarget::Dispatch and related methods. r=froydnj
...
MozReview-Commit-ID: J5RAfGW3X7T
2016-06-01 10:04:54 +10:00
Patrick McManus
b5a9ab0c78
Bug 1202468 - remove mPendingQ lock r=dragana
2016-05-23 12:20:58 -04:00
Patrick McManus
847a03fe09
Bug 1275054 - Remove expired NETWORK_SESSION_AT_256FD telemetry r=dragana
2016-05-23 13:48:18 -04:00
Patrick McManus
e01f1d0309
Bug 1274376 - more mozilla::net namespaces r=dragana
2016-05-18 22:02:57 -04:00
Patrick McManus
9d865638fb
Bug 1135104 - increase send window on modern windows r=dragana
2016-05-11 05:31:01 -04:00
Patrick McManus
b65a962481
Bug 1236969 - remove autodialer r=valentin
2016-02-19 14:33:59 -05:00
Kyle Huey
fd4a780de1
Bug 1269056: Part 1 - Implement a rough PostDelayedTask equivalent on nsThread. r=froydnj
2016-05-12 15:15:43 -07:00
Randell Jesup
f8c8048eb0
Bug 1271402: name and cleanup DataStorage thread when running XPCshell r=froyd,dkeeler
...
MozReview-Commit-ID: 2brXgEcp91J
2016-05-11 00:11:40 -04:00
Kyle Huey
b972c94d0f
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-05-05 01:45:00 -07:00
Carsten "Tomcat" Book
aadd508ffe
Backed out changeset 85ce8cb0639a (bug 1268313)
2016-04-29 14:21:16 +02:00
Kyle Huey
e62a0823c9
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-04-28 14:08:25 -07:00
Nils Ohlmeier [:drno]
bf62a882a2
Bug 1244926: added TCP socket filter to only allow outgoing STUN. r=jesup
...
MozReview-Commit-ID: 8PpL6Z0za71
2016-02-11 01:18:46 -08:00
Patrick McManus
2da5bfab32
Bug 1260764 - Creation of PollableEvent needs a lock r=dragana a=kwierso
...
MozReview-Commit-ID: 2R0ydTeLPqr
2016-03-30 11:16:03 -04:00
Patrick McManus
70f8c01aef
Bug 1260218 - SocketTransportService socket expansion r=dragana
2016-03-23 20:44:28 -04:00
Patrick McManus
d1e5396343
Bug 698882 - mozilla::net::PollableEvent r=dragana r=mayhemer
2016-03-22 11:02:39 -04:00
Dragana Damjanovic
fa8031ea15
Bug 1257809 - "Improve telemetry for PR_Connect". r=mcmanus
2016-03-19 04:25:00 +01:00
Patrick McManus
fe03a14da2
Bug 698882 - backout 34046c232ee1 r=backout
2016-03-23 13:06:02 -04:00
Patrick McManus
98daa85580
Bug 698882 - mozilla::net::PollableEvent r=dragana r=mayhemer
2016-03-22 11:02:39 -04:00
Phil Ringnalda
cb131da50b
Back out changeset 06e41d2080a2 (bug 698882) for (at least) 10.6 leaks including PollableEvent
...
CLOSED TREE
2016-03-20 17:24:48 -07:00
Patrick McManus
6f9cb5886d
Bug 698882 - mozilla::net::PollableEvent r=dragana r=mayhemer
2016-02-11 15:00:22 -05:00
Eric Rahm
a166a3c211
Bug 1251493 - Remove remaining references to MOZILLA_XPCOMRT_API from netwerk. r=mcmanus
2016-02-29 11:16:30 -08:00
Bogdan Postelnicu
4c4c3ad9b7
Bug 1250115 - initialized pollInterval with 0 in order to prevent garbage value if Poll(..) doesn't get called. r=dragana
...
MozReview-Commit-ID: HoMv3sBg74W
2016-02-24 13:47:18 +02:00
Carsten "Tomcat" Book
fefe9088b9
Backed out changeset 3955642fc8a9 (bug 1250115) for bustage
2016-02-24 12:17:39 +01:00
Bogdan Postelnicu
a9dc918224
Bug 1250115 - initialized pollInterval with 0 in order to prevent garbage value if Poll(..) doesn't get called. r=dragana
...
MozReview-Commit-ID: HoMv3sBg74W
2016-02-24 11:59:07 +02:00
Patrick McManus
ab7c6ebead
Bug 698882 - backout threadevent changes due to crashes with McAfee Firefox Hook r=backout
2016-02-21 17:41:21 -05:00
Patrick McManus
8bcce717c3
Bug 698882 - mozilla::net::PollableEvent r=dragana r=mayhemer
2016-02-11 15:00:22 -05:00
Bogdan Postelnicu
faaaf4874d
Bug 1242452 - only if PR_GetIdentitiesLayer return valid pointer continue and pass it's result to PR_GetIdentitiesLayer. r=mcmanus
2016-01-25 15:44:59 +02:00
Dragana Damjanovic
47e63d77cd
Bug 1240481 - Limit PR_Close calls during shutdown. r=mcmanus
2016-01-18 08:20:00 +01:00
Dragana Damjanovic
0b3b42c086
Bug 1239961 - Minimize amount of PR_Poll and PR_Read calls during shutdown. r=mcmanus
2016-01-15 08:21:00 +01:00
Nathan Froyd
638feef71b
Bug 1219910 - make gSocketThread a relaxed atomic variable; r=mcmanus
...
Many places that (re-)declared gSocketThread already included
nsSocketTransportService2.h; we can delete the declaration for those
places. For all the other places, we need to include
nsSocketTransportService2.h.
2015-11-06 12:00:37 -05:00
Patrick McManus
050f902acb
bug 1219466 - convert netwerk to LazyLogModule r=valentin.gosu
2015-11-02 23:35:29 -05:00
Carsten "Tomcat" Book
324de9933c
Backed out changeset 2a233dadfc49 (bug 1219910) for bustage on a CLOSED TREE
2015-10-30 16:09:19 +01:00
Nathan Froyd
649ed26763
Bug 1219910 - make gSocketThread a relaxed atomic variable; r=mcmanus
...
All the places that (re-)declared gSocketThread already included
nsSocketTransportService2.h, so we can safely delete them.
2015-10-29 16:47:23 -04:00