| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2006 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2003, 2006 Apple Computer, Inc. All rights reserved. |
| 3 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. | 3 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 519 m_resourceRequestUpdated = true; | 519 m_resourceRequestUpdated = true; |
| 520 } | 520 } |
| 521 | 521 |
| 522 if (!m_resourceRequestBodyUpdated && bodyPolicy == UpdateHTTPBody) { | 522 if (!m_resourceRequestBodyUpdated && bodyPolicy == UpdateHTTPBody) { |
| 523 ASSERT(m_platformRequestBodyUpdated); | 523 ASSERT(m_platformRequestBodyUpdated); |
| 524 const_cast<ResourceRequest&>(asResourceRequest()).doUpdateResourceHTTPBo
dy(); | 524 const_cast<ResourceRequest&>(asResourceRequest()).doUpdateResourceHTTPBo
dy(); |
| 525 m_resourceRequestBodyUpdated = true; | 525 m_resourceRequestBodyUpdated = true; |
| 526 } | 526 } |
| 527 } | 527 } |
| 528 | 528 |
| 529 #if !PLATFORM(MAC) && !USE(CFNETWORK) && !USE(SOUP) && !PLATFORM(CHROMIUM) && !P
LATFORM(QT) && !PLATFORM(BLACKBERRY) | 529 #if !PLATFORM(MAC) && !USE(CFNETWORK) && !USE(SOUP) && !PLATFORM(CHROMIUM) && !P
LATFORM(QT) |
| 530 unsigned initializeMaximumHTTPConnectionCountPerHost() | 530 unsigned initializeMaximumHTTPConnectionCountPerHost() |
| 531 { | 531 { |
| 532 // This is used by the loader to control the number of issued parallel load
requests. | 532 // This is used by the loader to control the number of issued parallel load
requests. |
| 533 // Four seems to be a common default in HTTP frameworks. | 533 // Four seems to be a common default in HTTP frameworks. |
| 534 return 4; | 534 return 4; |
| 535 } | 535 } |
| 536 #endif | 536 #endif |
| 537 | 537 |
| 538 } | 538 } |
| OLD | NEW |