foudfou
096b0d2aae
Bug 785542 - Convert usages of PR_MIN and PR_MAX to NS_MIN and NS_MAX; r=ehsan
...
Occurences of PR_MAX in layout/style/nsCSSProps.cpp and xpcom/glue/nsTArray.h
can not be converted without C++11 support (constexpr).
2012-09-27 23:44:47 +02:00
Valentin Gosu
18e0dfc3f1
Bug 791088 - Add telemetry for Connection Manager transaction time. r=mcmanus
2012-09-19 20:24:58 -04:00
Adam Dane [:hobophobe]
9053439fd6
Bug 87717 - Allow offline mode to connect to loopback r=mcmanus sr=cbiesinger
2012-09-17 18:45:10 -05:00
Randell Jesup
3b4961b603
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Valentin Gosu
c2124622b0
Bug 745296 - Enable FAIL_ON_WARNINGS in more of /netwerk r=jduell
2012-08-25 11:19:00 -07:00
Ehsan Akhgari
243c878d26
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Aryeh Gregor
eb91209ce0
Bug 782252 - Change named constants to correct types; r=ehsan
2012-08-07 18:11:35 +03:00
Patrick McManus
4039e940a7
bug 780522 - stack overflow port out of range part 2/2 r=honzab
2012-08-09 20:38:36 -04:00
Patrick McManus
5abc75bf98
bug 780522 - stack overflow port out of range part 1/2 r=honzab
2012-08-09 20:38:36 -04:00
Aryeh Gregor
8e5b3ea226
Bug 778680 part 2 - Fix incorrect nsresult usage in netwerk/; r=jduell
2012-08-01 11:17:09 +03:00
Aryeh Gregor
cb8c7eb3ef
Bug 778680 part 1 - Make netwerk status codes actually nsresult; r=jduell
2012-08-01 11:17:09 +03:00
Aryeh Gregor
8b4a23fc4c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Patrick McManus
3218227df0
bug 775813 - rename http connection mgr ReadTimeoutTick to just TimeoutTick r=honzab
2012-07-23 19:10:02 -04:00
Patrick McManus
9f6bae93c5
bug 762162 - network.http.timeout-connection r=honzab
2012-07-23 19:10:00 -04:00
Patrick McManus
dd8f917b06
bug 775515 nshttpconnectionmgr::restrictconnections() for half opens only if they never connected r=honzab
2012-07-20 08:50:18 -04:00
Patrick McManus
4a23d4fa91
bug 770331 - always try and negotiate HTTP Keep-Alive r=biesi
2012-07-20 08:40:13 -04:00
Jason Duell
2c5ffa438c
Bug 767512 - Fix connection pressure for non-SSL CONNECT. r=mcmanus
2012-06-22 12:01:00 -07:00
Patrick McManus
3667fb9589
bug 769264 pipeline logging cleanups r=honzab
2012-07-02 18:10:04 -04:00
Ed Morley
e09bcb0e4f
Backout d45ca69b67a3 (bug 767516), 4ff98d3e4d8d (bug 767512), 70cc47076115 (bug 767505), 4eca26d02c84 (bug 766929) for mochitest-plain-5 failures
2012-06-25 21:38:10 +01:00
Jason Duell
8ca8a69bd2
Bug 767512 - Fix connection pressure for non-SSL CONNECT. r=mcmanus
2012-06-25 12:48:49 -07:00
Jason Duell
b89875384b
Bug 713026 - websockets bootstrap via proxy should always CONNECT. r=mcmanus
2012-06-18 22:50:20 -07:00
Patrick McManus
7f855825a7
bug 760608 alternatve 1 preconnect problem with SSL r=honzab
2012-06-06 15:47:45 -04:00
Patrick McManus
56a0c93679
bug 757882 replace 250+ lines of redundant nsAHttpConnection implementations with macros r=jduell
2012-05-25 17:56:41 -04:00
Patrick McManus
cfdfcf2602
bug 737470 patch 1 use ASpdySession to generically dispatch current version of spdy r=honzab
2012-05-25 17:37:01 -04:00
Josh Matthews
65aa9270f6
Bug 722845 - Part 1: Add private browsing information to HTTP channels. r=jduell,mayhemer
2012-05-24 16:31:53 +01:00
Honza Bambas
b31b80feda
Bug 749209 - Happy Eyeballs implementation still not quite right, r=mcmanus
2012-05-22 22:12:40 +02:00
Patrick McManus
792a19a516
bug 756551 spdy stream index integrity checks r=honzab
2012-05-21 17:09:25 -04:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Patrick McManus
917c871ea5
Bug 755467 SpdySession::RestrictConnections() should use conn->EverUsedSpdy() r=honzab
2012-05-15 16:31:29 -04:00
Patrick McManus
824395da39
bug 726366 - support tunneling spdy through proxies r=honzab
2012-05-07 10:27:25 -04:00
Patrick McManus
00010827ca
bug 751647 - speculative connect needs to check spdy ip pooling table r=honzab
2012-05-07 09:43:46 -04:00
Patrick McManus
e6f6626450
bug 739522 allow parallelism for hosts that exhibit mixed spdy/http r=honzab
2012-05-03 20:32:12 -04:00
Patrick McManus
4a1bdd64df
bug 738914 - orange websocket pipeline::isdone from main thread r=jduell
2012-04-25 22:02:12 -04:00
Patrick McManus
7b89aa5681
bug 729133 - internal necko speculative connections r=honzab
...
race cache I/O events against TCP/SSL connections. Also drive
unused TCP connections to the completion of their SSL handshakes is
apropos.
2012-04-25 08:54:42 -04:00
Patrick McManus
5741cab032
bug 744788 - add httpconnmgrtick setTarget() in case of offline/online r=honzab
2012-04-13 15:47:43 -04:00
Patrick McManus
71faee5cd6
bug 738812 timer serviced after thread exit nsHttpConnectionMgr::ReadTimeoutTick r=honzab
2012-04-11 13:11:09 -04:00
Patrick McManus
e497a1bfb1
bug 742935: fix landing problem with 717759 r=honzab
2012-04-09 10:22:07 -04:00
Patrick McManus
ee29e5e26d
bug 717759 - negative pipeline feedback on img decode problem r=bz r=jdrew r=honzab
2012-03-22 19:39:32 -04:00
Patrick McManus
ce937da0ed
bug 603514 - http stalled read detection r=honzab
...
When a connection that involves a pipelined transaction has been stalled (i.e.
idle with an open transaction, not an idle persistent connection) for a
second move any transactions that are pipelined after the current one onto
different connections (and implicitly close this connection when done with the
current transaction).
when it has been stalled for 10 seconds (pref configurable), cancel the current
transaction itself too - depending on its state it can hopefully be restarted
on a clean connection.
2012-03-22 19:39:31 -04:00
Patrick McManus
4187cc4bd6
bug 603512 - large objects block pipelines r=honzab
...
the type and state patch tries hard not to form pipelines behind resources that
could become head of line blockers. But of course that requires the ability to
predict the future, and won't be perfect.
This patch reacts to a transaction that has a large response body (defined by
either a large content-length header or actually reading a large number of
chunked bytes) by cancelling any transactions that have been pipelined down the
same connection and rescheduling them elsewhere. It also changes the type of
the connection to "solo", which prevents new transactions from being pipelined
onto this one and provides class-specific negative feedback to the pipeline
manager so that near-future requests to the same host of the same type (e.g.
general) will not be pipelined but other types (e.g. img or js/css) can still
do that.
Content-Length is ideal, because it allows us to identify the problem so early.
But even actually reading the document for a fairly long time gives it a fairly
high probability of not ending soon. (i.e. long document sizes are spread over
a larger range than small ones. duh.)
The pref network.http.pipelining.maxsize controls the threshold. I set the
default at 300KB, which is roughly the bandwidth delay product of a 2mbit 120ms
rtt connection and 1 rtt is mostly what you are giving up by canceling it on
one connection and sending it on another. (modulo maybe needing a handshake).
2012-03-22 19:39:31 -04:00
Patrick McManus
333b186401
bug 737155 - httpconnectionmgr::processPendingQ allow more than 1 with pipeline r=honzab
2012-03-22 19:39:31 -04:00
Patrick McManus
fe31432cfb
bug 599164 pipeline with type and state r=honzab
2012-03-22 19:39:31 -04:00
Patrick McManus
048047f5f0
bug 447866 http pipelining is bursty r=honzab
2012-03-22 19:39:31 -04:00
Patrick McManus
5734156895
bug 735552 - wrong assert on shutdown in nsHttpConnectionMgr::ReportSpdyConnection r=honzab
2012-03-15 00:03:04 -04:00
Nathan Froyd
7a3c24a83d
Bug 700659 - Slay nsHashSets in netwerk/protocol. r=mcmanus
2012-02-27 11:20:29 -05:00
Geoff Lankow
be16664e3c
Backed out changeset f65247c7647a (bug 729133)
2012-02-26 13:50:34 +13:00
Patrick McManus
bfa62e0c95
bug 729133 speculative connections do full ssl and happen before cache lookup
2012-02-25 17:07:52 -05:00
Patrick McManus
580a444309
bug 728113 spdy ping to keepalive nat timeouts 2/2 spdy ping r=honzab
2012-02-23 20:58:43 -05:00
Patrick McManus
050f48ec49
bug 728113 - spdy ping to keepalive nat timeouts 1/2 tick infrastructure r=honzab
2012-02-23 20:56:57 -05:00
Patrick McManus
49f121ed9b
bug 708415 spdy code review of nshttp* r=honzab
2012-01-26 00:15:26 -05:00