ããã¾ã§ HTTP/2 ã«å¯¾å¿ãã Apache httpd ãã¤ã³ã¹ãã¼ã«ããã«ã¯ãé¢é£ããã©ã¤ãã©ãªãå«ãã½ã¼ã¹ããã³ã³ãã¤ã«ããªããã°ãªããªãããããªããªãã®æéãããã£ã¦ãã¾ãããããã CentOS7.4 (1708) ãã OpenSSL1.0.2 ããµãã¼ãããããã¨ã«ãããCentOSã³ãã¥ããã£æ¿èªæ¸ã¿ã® IUSãªãã¸ããªãã yum ã§ç°¡åã«ã¤ã³ã¹ãã¼ã«ã§ããããã«ãªãã¾ãããããã§ä»åã¯ãIUSãªãã¸ããªã使ã£ã¦ HTTP/2 ã«å¯¾å¿ãã Apache httpd ãã¤ã³ã¹ãã¼ã«ããæé ãã¾ã¨ãã¦ã¿ã¾ããã ï¼åèè³æï¼CentOSã³ãã¥ããã£æ¿èªãªãã¸ããªä¸è¦§ AdditionalResources/Repositories - CentOS Wiki IUS ããã¸ã§ã¯ãã«ã¤ã㦠ãªãã¸ããªãå ¬éãã¦ããã¦ãã IUSããã¸ã§ã¯ãã®æ´å²ã¯å¤ããç±³ãã¹ãã£ã³ã°ãµã¼ã
Updated 2017.01.05 / Published 2017.01.05 CentOS7.3(1611)ã«yumã§Apache2.4ãã¤ã³ã¹ãã¼ã«ãããã¨ããå ´åã2017å¹´1æã®ç¾æç¹ã§ã¯Apache2.4.6ç³»ã®å¤ããã¼ã¸ã§ã³ãé常ã¤ã³ã¹ãã¼ã«ããã¦ãã¾ãã¾ããHTTP/2ã®å¦çãããmod_http2ã¯Apache2.4.17ã®ãã¼ã¸ã§ã³ããã®ãããHTTP/2ãå°å ¥ããã«ã¯ãã以éã®ãã¼ã¸ã§ã³ãå¿ è¦ã§ãã2017å¹´1æå·çæç¹ã§ã¯Apache2.4.25(mod_http2 ã®ãµã¼ãã¹éç¨å¦¨å®³ã®èå¼±æ§ - CVE-2016-8740ã«ã対å¿æ¸)ãææ°çã§ããApache2.4.25ãCentOS7ã«ã¤ã³ã¹ãã¼ã«ããæ¹æ³ãGoogleã§æ¤ç´¢ãã¦ããã½ã¼ã¹ã³ã¼ãããã¤ã³ã¹ãã¼ã«ããæé ãå ¬éãã¦ããã¨ããããè¦å½ãããªãã£ããããæ¬ç¨¿ã§ã¯ææ°ã®RPMããã±ã¼ã¸ãæãã¦ããIU
Androidã§éä¿¡ããã®ããã©ãããã§ããããã©ãããçç±ã2ã¤ããã¾ã ããããHttpClientã®ã³ã¼ãæ¸ãã®ãããã©ãããã éåæéä¿¡ãããã®ãããã©ãããã ï¼ã¤ç®ã¯åã®ä¸»è¦³ãããããªãã§ãããããã©ããããã ãããæ¯ååããããªã³ã¼ããªã®ã§åã¯ã³ããã§ãããããã³ãããããªãã©ã¤ãã©ãªã使ç¨ããã®ãã¹ãã¼ãã§ãããã ï¼ã¤ç®ã«ã¤ãã¦ã¯ãAndroidã§éä¿¡ããã¨ãã£ã¦ã¡ã¤ã³ã®ã¹ã¬ããã§ããã¨ãããã§æç»ã®å¦çãæ¢ã¾ã£ã¦ããªã¼ãºãã¦ããããã«è¦ããã®ã§å¥ã¹ã¬ããã§éåæã«éä¿¡ããã®ãä¸è¬çã§ãããã Honeycomb以éã ã¨æ¨æºã§StrictModeããNetworkOnMainThreadExceptionãæãããã¾ãããã¡ããä¾å¤ãæããããªãããã«è¨å®ããäºãå¯è½ã§ããããã£ã±ãéåæã®ã»ããã¦ã¼ã¶ã¼ã«åªããã§ãã ãããAsyncTask使ããï¼ã£ã¦ãªãã®ã§ã
Android SDK ã«ã¯ Apache Commons ã® HttpClient ãªã© HTTP éä¿¡ããããã®ã©ã¤ãã©ãªããããããæè¼ããã¦ããã®ã§ãããã«ããã¼ã POST ããããã®ã©ã¤ãã©ãªãããã¾ãããApache ã®ã©ã¤ãã©ãªãããã¸ã§ã¯ãã«èªåã§è¿½å ãã¦ãããã®ã§ããå¿ è¦ã®ãªãç©ã¾ã§å ¥ã£ã¦ãã¾ã£ã¦ã¢ããªã®å®¹éãã ãã«å¢ãã¦ãã¾ãã®ã§èªåã§ä½ã£ã¦ã¿ã¾ããã ãã«ããã¼ã POST ã£ã¦æ®æ®µãã¾ã使ããªãã®ã§ããç»åãã¼ã¿ã¨ã³ã¡ã³ãããµã¼ãã«ä¸ç·ã«éä¿¡ãããæãªããã«ããã¨ä¾¿å©ã§ãã ä½æããã«ããã£ã¦ãã¡ãã®ãµã¤ãã®ã½ã¼ã¹ã³ã¼ããåèã«ãã¾ããã import java.io.BufferedReader; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInput
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}