Commit Graph
35 Commits
Author SHA1 Message Date
Chris Peterson bd442bfa70 Bug 870698 - Part 6: Replace Append(NS_LITERAL_CSTRING("")) with AppendLiteral(""). r=erahm
The NS_LITERAL_CSTRING macro creates a temporary nsLiteralCString to encapsulate the string literal and its length, but AssignLiteral() can determine the string literal's length at compile-time without nsLiteralCString.

MozReview-Commit-ID: F750v6NN81s
2017-09-07 18:25:25 -07:00
Nathan Froyd 1a5e55cc6a Bug 1347963 - part 2 - make nsHttpRequestHead use RecursiveMutex; r=mcmanus
Making nsHttpRequestHead slightly faster with RecursiveMutex is a good thing.
2017-04-18 11:05:16 -04:00
Nicholas Nethercote 4ce1e9c11f Bug 1374580 (part 3) - Remove ns{,C}Substring typedefs. r=froydnj.
All the instances are converted as follows.

- nsSubstring  --> nsAString
- nsCSubstring --> nsACString
2017-06-20 19:19:52 +10:00
Wes Kocher af381f31ec Backed out changeset 0a25a0fa3b32 (bug 1362822) for osx debug devtools timeouts a=merge
MozReview-Commit-ID: 3LMChZJEBHp
2017-05-11 15:23:43 -07:00
Ehsan Akhgari 269253d660 Bug 1362822 - Avoid needlessly holding locks when setting headers during the initialization of HTTP channel objects; r=schien,dragana
The channel objects cannot be handed off to other threads before the creation
process has been finished, so there is no point in trying to hold these locks
while the initialization code is running.  These lockings have shown up in
profiles as being expensive.
2017-05-11 09:23:30 -04:00
Dragana Damjanovic 2392afc0e0 Bug 1334776 - Store header names into nsHttpHeaderArray. r=mcmanus 2017-04-27 16:48:36 +02:00
Wei-Cheng Pan 9f134bdbf1 Bug 1310127 - Part 3: Use MOZ_MUST_USE in netwerk/protocol/http r=mcmanus
Add assertions.

MozReview-Commit-ID: DPvgKzVr3ip
2017-01-12 17:48:45 +08:00
Ting-Yu Chou 0b640fb4bf Bug 1293501 - Back out the debug patch (changeset 2eebd44ff2e9). r=me 2016-12-13 02:00:25 +08:00
Ting-Yu Chou fab4e5f606 Bug 1293501 - Use VirtualProtect to track down a possible memory corruption. r=dragana
MozReview-Commit-ID: J4ZFzR1nE5n
2016-10-06 17:31:43 +08:00
Ting-Yu Chou 5549370eda Bug 1293501 - Remove debug code for not propagating to Aurora. r=me 2016-09-07 10:17:20 +08:00
Ting-Yu Chou f1163d5a95 Bug 1293501 - Add some more crash annotations to dianose bug 1145613. r=mcmanus
MozReview-Commit-ID: 4hsrKYlV0ER
2016-08-26 10:08:18 +08:00
Ting-Yu Chou 43f30cf653 Bug 1293501 - Add debug annotations to track down the crash of bug 1145613. r=jduell 2016-08-08 10:57:10 +08:00
Decky Coss f652fbf31f Bug 1277019 - Change header and status parsing methods to take nsACString instead of char array. r=mayhemer
MozReview-Commit-ID: 7ZNwvnTMCzo
2016-05-31 12:42:15 -04:00
61e3c455a0 Bug 1274509 - Use ReentrantMonitor for nsHttpRequestHead because VisitHeaders calls Visitor lock. r=mcmanus 2016-05-24 04:17:00 +02:00
Carsten "Tomcat" Book c21d4c6ffb Backed out changeset d34a99623615 (bug 1274509) for bustage on a CLOSED TREE 2016-05-24 11:22:23 +02:00
c6ea9e721c Bug 1274509 - Use ReentrantMonitor for nsHttpRequestHead because VisitHeaders calls Visitor lock. r=mcmanus 2016-05-23 00:24:00 +02:00
Dragana Damjanovic 77712d265b Bug 669259 - Expose original header received from a peer. r=mcmanus 2016-05-12 14:33:00 -04:00
Dragana Damjanovic 6662e3cb98 Bug 1269738 - Lock SetHeader. r=mcmanus 2016-05-03 06:47:00 -04:00
Dragana Damjanovic e743f08e91 Bug 1247982 - Lock request headers. r=mcmanus 2016-05-03 00:06:00 +02:00
Birunthan Mohanathas a29151dc87 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Patrick McManus 30e70bb8f9 bug 1003448 - HTTP/2 Alternate Service and Opportunistic Security [2/2 necko] r=hurley 2014-08-21 10:50:17 -04:00
Patrick McManus ed1caf1722 bug 378637 part 9 - https proxy info added to connection info and reqeuest head r=hurley 2014-04-16 09:23:20 -04:00
Patrick McManus bcb4311776 bug 378637 part 1 - add leak detection macros to http classes r=hurley 2014-04-21 08:54:07 -04:00
Ryan VanderMeulen 9ee7c1593b Backed out 11 changesets (bug 378637) for Android crashes.
Backed out changeset 2a607cddc4cb (bug 378637)
Backed out changeset e416503aea99 (bug 378637)
Backed out changeset b2257226899f (bug 378637)
Backed out changeset dafd618c3f52 (bug 378637)
Backed out changeset dfde9d47d8c4 (bug 378637)
Backed out changeset cf9de5c367a5 (bug 378637)
Backed out changeset 62aa68e8b499 (bug 378637)
Backed out changeset 38efa8f2e56e (bug 378637)
Backed out changeset 2b5753e09a92 (bug 378637)
Backed out changeset 7a73873e133d (bug 378637)
Backed out changeset f58ce7ac1c7f (bug 378637)
2014-05-09 15:25:55 -04:00
Patrick McManus 85890aeefd bug 378637 part 8 - https proxy info added to connection info and reqeuest head r=hurley 2014-04-16 09:23:20 -04:00
Patrick McManus a5c4f9f94a bug 378637 part 1 - add leak detection macros to http classes r=hurley 2014-04-21 08:54:07 -04:00
Patrick McManus 54d57b278b bug 477578 - http methods should be case sensitive r=hurley 2014-03-18 12:36:18 -04:00
Patrick McManus d93b7ba831 bug 957093 - namespace consistency for netwerk/protocol/http r=sworkman 2014-01-07 17:05:56 -05:00
Jason Duell 1c8005d335 Bug 558623 - Split out HTTP LOG macro definition from nsHttp.h r=jdm 2013-06-22 09:01:06 -07:00
Patrick McManus 8b9ed05d20 bug 871289 [2 of 2] fix trailing whitespace in netwerk/protocol/http/* r=jduell 2013-05-16 09:30:42 -04:00
Gervase Markham cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01: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
Kyle Huey 2117bd2cd0 Backout Bug 477578 because it causes us to refcount atoms off the main thread. 2011-09-22 10:43:11 -04:00
Michal Novotny ec7039d512 Bug 477578 - uppercase selected HTTP methods (CONNECT, DELETE, GET, HEAD, OPTIONS, POST, PUT, TRACE and TRACK) and make other methods case sensitive 2011-09-12 18:00:15 +02:00
Mitchell Field bc63774d7e Bug 542222 - Reduce recursion in netwerk makefiles. 2010-06-05 21:18:12 -04:00