Commit Graph
96 Commits
Author SHA1 Message Date
Dragana Damjanovic 0ce2aa990c Bug 1393804 - The nspr function PR_FileDesc2PlatformOverlappedIOHandle has change its name. r=mayhemer 2017-08-25 19:04:40 +02:00
7128df90c4 Bug 1390447 - Check for WSA_IO_INCOMPLETE error after GetOverlappedResult. r=mayhemer 2017-08-15 16:41:47 +02:00
Dragana Damjanovic 0dab63a969 Bug 1363372 - Wait until OVERLAPPED structure return a result before distroying a socket. r=mcmanus 2017-07-27 11:37:11 +02:00
Bill McCloskey ba4c30b16d Bug 1385413 - Remove thread parameter from onDispatchedEvent (r=erahm)
This parameter isn't used by any implementation of onDispatchedEvent,
and keeping the parameter makes later refactorings in this bug more difficult.

MozReview-Commit-ID: 90VY2vYtwCW
2017-07-28 13:09:06 -07:00
Sylvestre Ledru 9d4a84d778 Bug 1378712 - Remove all trailing whitespaces r=Ehsan
MozReview-Commit-ID: Kdz2xtTF9EG
2017-07-06 14:00:35 +02:00
Bill McCloskey ce42826bdf Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Carsten "Tomcat" Book 238bf154d5 Backed out changeset 4f6302a98ae4 (bug 1372405) 2017-06-21 13:59:26 +02:00
Bill McCloskey 67e8af4720 Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Carsten "Tomcat" Book bbe9441993 Backed out changeset 9846de3bd954 (bug 1372405) 2017-06-20 08:27:02 +02:00
Bill McCloskey f69608368b Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Bill McCloskey 04b1343a42 Bug 1361164 - Add infallible IsOnCurrentThread to nsIEventTarget (r=froydnj)
MozReview-Commit-ID: 12bk9hQ7Wnv
2017-06-12 20:20:08 -07:00
Ehsan Akhgari a854b47adf Bug 1370448 - Start poll watchdog timer off of a runnable from the main thread in order to avoid a false positive detected deadlock; r=dragana 2017-06-06 12:37:26 -04:00
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