Skip to content
This repository has been archived by the owner on Jul 30, 2022. It is now read-only.

Commit

Permalink
http://b/issue?id=1267355
Browse files Browse the repository at this point in the history
NJ-1090 : disable HEAD request for progressive streaming or download.
  • Loading branch information
Jianhong Jiang committed Jun 15, 2009
1 parent 219b2e5 commit 734bbb4
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions android/playerdriver.cpp
Expand Up @@ -648,14 +648,6 @@ int PlayerDriver::setupHttpStreamPost()
OSCL_TRY(error, mPlayerCapConfig->setParametersSync(NULL, &iKVPSetAsync, 1, iErrorKVP));
OSCL_FIRST_CATCH_ANY(error, return -1);

// enable or disable HEAD request
iKeyStringSetAsync=_STRLIT_CHAR("x-pvmf/net/http-header-request-disabled;valtype=bool");
iKVPSetAsync.key=iKeyStringSetAsync.get_str();
iKVPSetAsync.value.bool_value=false;
iErrorKVP=NULL;
OSCL_TRY(error, mPlayerCapConfig->setParametersSync(NULL, &iKVPSetAsync, 1, iErrorKVP));
OSCL_FIRST_CATCH_ANY(error, return -1);

iKeyStringSetAsync=_STRLIT_CHAR("x-pvmf/net/max-tcp-recv-buffer-size-download;valtype=uint32");
iKVPSetAsync.key=iKeyStringSetAsync.get_str();
iKVPSetAsync.value.uint32_value=64000;
Expand Down

0 comments on commit 734bbb4

Please sign in to comment.