Commit 5caf037ee9a79d1f41fe57c7fd047bcd39a54132

Authored by don ago
1 parent 2f66b0f287
Exists in master

안되는거수정

Showing 1 changed file with 1 additions and 5 deletions Side-by-side Diff

app/SendLog.scala View file @ 5caf037
... ... @@ -51,10 +51,6 @@
51 51  
52 52 if (cur_line == rand_val) {
53 53  
54   -
55   - val in = httpcon.getInputStream
56   - val s = scala.io.Source.fromInputStream(in)("UTF8")
57   - val r_text = s.mkString
58 54 //println(r_text)
59 55 out.close()
60 56 httpcon.disconnect()
... ... @@ -62,7 +58,7 @@
62 58 url = new java.net.URL("http://localhost:8081/log")
63 59 httpcon = url.openConnection.asInstanceOf[java.net.HttpURLConnection]
64 60 httpcon.setRequestMethod("PUT")
65   - httpcon.setRequestProperty("Content-Encoding", "gzip");
  61 + httpcon.setRequestProperty("Content-Encoding", "gzip")
66 62  
67 63 httpcon.setDoOutput(true)
68 64 httpcon.setDoInput(true)