Commit Graph

186 Commits

Author SHA1 Message Date
Josh Matthews
c88986c829 Bug 804655 - Part 2: Wrap up interface aggregator callbacks with a target thread on which they should be released. r=mayhemer 2012-11-14 16:00:44 +00:00
Josh Matthews
bb236b6062 Bug 804655 - Part 1: Make updating an nsHttpChannel's loadgroup/callbacks update those of its transaction and connection as well. r=mayhemer 2012-11-14 16:00:43 +00:00
Andrew Quartey
60612201d1 Bug 792581 - part 22: Replace LL_ZERO and LL_Zero() macros with 0. r=ehsan 2012-10-25 19:25:59 -04:00
Patrick McManus
4cc2eaf0e0 bug 805067 - remove redundant mozilla:: in netwerk/protocol/http r=jduell 2012-10-24 21:00:27 -04:00
Isaac Aggrey
990e90e88a Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
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
Ehsan Akhgari
57ec2ec569 Bug 792502 - Kill the FunctionTimer code; r=vlad 2012-09-19 16:59:38 -04:00
Patrick McManus
1fb3fc2608 bug 334700 - DEBUG null deref in LogHeaders r=biesi 2012-09-05 21:31:35 -04:00
Randell Jesup
3b4961b603 Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Jason Duell
49298666dd Bug 767516 - Rename: s/SSLConnect/ProxyConnect/ r=mcmanus 2012-06-22 12:06: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
Michal Novotny
0e135bcb08 Bug 475444 - HTTP standard violation, Content-length header appears to be ignored under some circumstances, r=bz sr=biesi 2012-08-16 12:37:52 +02:00
Honza Bambas
473edc0cbf Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking 2012-08-10 22:44:11 -04: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
3954e82e10 bug 763312 pipeline position 0 read time rescheduling fixes r=honzab 2012-06-29 14:24:29 -04:00
Patrick McManus
8e9a001d78 bug 764648 navigation timing responseEnd not recorded on EOF HTTP delimiter r=honzab 2012-06-26 10:47:46 -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
61c84183dc Bug 767516 - Rename: s/SSLConnect/ProxyConnect/g r=mcmanus 2012-06-25 12:48:50 -07:00
Jason Duell
b89875384b Bug 713026 - websockets bootstrap via proxy should always CONNECT. r=mcmanus 2012-06-18 22:50:20 -07:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Patrick McManus
c9e9cca669 bug 752648 - fix regression with restarting due to tls intolerance r=honzab 2012-05-14 13:25:28 -04:00
Patrick McManus
824395da39 bug 726366 - support tunneling spdy through proxies r=honzab 2012-05-07 10:27:25 -04:00
Patrick McManus
36d5f8f033 bug 742935: fix landing problem with 603512 r=honzab 2012-04-09 10:21:17 -04:00
Patrick McManus
4a1710a1f5 bug 742827 - fix problem with landing of bug 671591 r=honzab 2012-04-05 18:37:57 -04:00
Patrick McManus
01d69222f8 bug 739023 nightly crash in nshttpchannel::OnDataAvailable() from Restart r=honzab 2012-04-04 21:19:20 -04:00
Patrick McManus
14084d55e7 Bug 739023 - Disabling the Restart-in-progess logic temporarily since suspected of causing crashes, r=honzab 2012-03-30 00:40:42 +02:00
Patrick McManus
ebd884e9ae bug 671591 - restart partial http transaction (in progress) r=honzab 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
fe31432cfb bug 599164 pipeline with type and state r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus
850582271a bug 597684 Implement HTTP Assoc-req and Banned Pipelines on nsHttpConnectionInfo 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
b638de217c bug 447866 pre patch 0 - pipeline and spdy mix r=honzab 2012-02-15 16:41:18 -05:00
Patrick McManus
d800668388 bug 708415 spdysession review comments r=honzab 2012-01-26 00:15:26 -05:00
Nicholas Nethercote
285fff455c Bug 715770 - Remove necko buffer cache. r=biesi. 2012-01-09 19:43:52 -08:00
Patrick McManus
128aa03e76 bug 528288 - reland spdy after libxul weightloss a=khuey CLOSED TREE 2011-12-13 10:55:50 -05:00
Ed Morley
e1230df916 Backout SPDY to keep us under the MSVC virtual address space limit during win PGO builds (bug 709193)
Backs out 952d14a9e508 (bug 707173), c170c678c9ac (bug 708305), 0a5f66d5d8e4 (bug 707662), 3204b70435fe (bug 706236) and the main landing range 48807fde0339:0bd45ead1676 (bug 528288).
2011-12-10 22:36:26 +00:00
Patrick McManus
e79282c43d bug 707173 - spdy telemetry for connection management r=honzab 2011-12-08 12:09:46 -05:00
Patrick McManus
4ade0830ac bug 528222 Basic SPDY web transport support. r=honzab r=bsmith sr=biesi
patch 0
2011-12-02 10:28:56 -05:00
Ehsan Akhgari
478ad1a412 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Patrick McManus
fd7b28642d bug 423506 - 0 byte responses causing save-as dialogues r=bz 2011-09-03 08:42:06 -04:00
Honza Bambas
381ec8b6e5 Bug 662555 - Race condition when measuring responseEnd; r=jduell.mcbugs 2011-08-21 09:27:29 +01:00
arno renevier
0e3916d089 Bug 561042 - remove http headers size limit. r=bz 2011-07-24 13:46:33 +02:00
Ed Morley
e02f78569a Bug 661584 - Code cleanup, substitute more PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc,ted 2011-06-25 16:06:02 +02:00
Jason Duell
215b59d232 Bug 666502. DONTBUILD. Document how we make sure HTTP headers have been read by time OnStartRequest called. r=bz 2011-06-23 14:41:45 -07:00
f66af92088 Bug 538724 Firefox 3.6.x + winxp topcrash starting ~Dec 30 and increasing [@ nsHttpTransaction::DeleteSelfOnConsumerThread() ]
r=biesi
2011-06-11 16:56:36 +02:00
Dominic Fandrey
532ec73933 Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-06-02 14:56:50 +02:00
Patrick McManus
f869994105 bug 597706 - response header smuggling r=honzab
reject responses with multiple non identical or invalid
content-length headers
2011-05-31 19:51:51 -04:00
Christian Biesinger
16b80ec297 Bug 576006 - Implement timing interface for channels
r=jduell sr=bz
2011-05-21 03:03:36 -07:00