[ 
https://issues.apache.org/jira/browse/HTTPCORE-266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13070025#comment-13070025
 ] 

Oleg Kalnichevski commented on HTTPCORE-266:
--------------------------------------------

> Is there a jar of 4.2-alpha1 available for download some where? 

You'll be better off building it from source:

http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/

> Would it be worth opening an issue with the Chromium folks to see why they're 
> doing this? 

Yes, it certainly would. 

Here's an SSL debug log of the session 

---
File /home/oleg/run/apache-tomcat-6.0.30/webapps/docs/favicon.ico not found
Padded plaintext before ENCRYPTION:  len = 224
0000: 48 54 54 50 2F 31 2E 31   20 34 30 34 20 4E 6F 74  HTTP/1.1 404 Not
0010: 20 46 6F 75 6E 64 0D 0A   44 61 74 65 3A 20 53 61   Found..Date: Sa
0020: 74 2C 20 32 33 20 4A 75   6C 20 32 30 31 31 20 31  t, 23 Jul 2011 1
0030: 38 3A 34 33 3A 30 34 20   47 4D 54 0D 0A 53 65 72  8:43:04 GMT..Ser
0040: 76 65 72 3A 20 4A 61 6B   61 72 74 61 2D 48 74 74  ver: Jakarta-Htt
0050: 70 43 6F 6D 70 6F 6E 65   6E 74 73 2D 4E 49 4F 2F  pComponents-NIO/
0060: 31 2E 31 0D 0A 43 6F 6E   74 65 6E 74 2D 4C 65 6E  1.1..Content-Len
0070: 67 74 68 3A 20 31 30 39   0D 0A 43 6F 6E 74 65 6E  gth: 109..Conten
0080: 74 2D 54 79 70 65 3A 20   74 65 78 74 2F 68 74 6D  t-Type: text/htm
0090: 6C 3B 20 63 68 61 72 73   65 74 3D 55 54 46 2D 38  l; charset=UTF-8
00A0: 0D 0A 43 6F 6E 6E 65 63   74 69 6F 6E 3A 20 6B 65  ..Connection: ke
00B0: 65 70 2D 61 6C 69 76 65   0D 0A 0D 0A 9A 78 72 CF  ep-alive.....xr.
00C0: 66 AB 30 33 7A 9A 9C 19   E0 87 79 DA B1 3E 85 9A  f.03z.....y..>..
00D0: 0F 0F 0F 0F 0F 0F 0F 0F   0F 0F 0F 0F 0F 0F 0F 0F  ................
I/O dispatcher 2, WRITE: TLSv1 Application Data, length = 188
[Raw write (bb)]: length = 229
0000: 17 03 01 00 E0 07 85 68   B9 EA 16 A4 84 60 AE 34  .......h.....`.4
0010: FD 20 67 FC 41 CC 12 CB   8B 67 96 F4 7D 53 6D 2F  . g.A....g...Sm/
0020: 9F 69 8E 2C EC BF 45 25   44 6C DE 80 78 7E F3 C0  .i.,..E%Dl..x...
0030: FA 64 1D 7A 15 EC DB 99   56 4C 51 63 6C 27 DF 3A  .d.z....VLQcl'.:
0040: AF 5E 7C 29 8E 73 3D E9   3B EB 11 DF FA 0D 4E 64  .^.).s=.;.....Nd
0050: 47 7A CE 98 80 9B D6 4F   08 B1 8B D8 59 6C 73 49  Gz.....O....YlsI
0060: 59 6C 09 A1 DD 29 1D A0   9A E4 AD 3C 6E 61 9A BC  Yl...).....<na..
0070: D9 DA E9 6A F8 0A 6E 14   2D 26 D9 EB 80 E9 10 87  ...j..n.-&......
0080: 19 4E 16 34 75 F3 F4 0E   3C 96 67 10 79 4C 1F DE  .N.4u...<.g.yL..
0090: 15 CB E0 53 95 D2 A4 01   B0 5B B5 BB 3D 86 C1 81  ...S.....[..=...
00A0: 1D C0 44 C5 39 A2 F1 77   E9 BD 40 2D 6C 0A 33 51  [email protected]
00B0: F9 C6 AC D9 D2 E5 A7 5D   13 B0 EE 67 8A BC 37 A9  .......]...g..7.
00C0: 93 F5 65 95 02 7E BB BA   B7 B7 E8 BE 5D D7 D0 33  ..e.........]..3
00D0: 30 A2 41 A6 38 8F 8A 88   60 AA 62 9A 48 3E 19 B4  0.A.8...`.b.H>..
00E0: 73 2E 26 5E 95                                     s.&^.
Padded plaintext before ENCRYPTION:  len = 144
0000: 3C 68 74 6D 6C 3E 3C 62   6F 64 79 3E 3C 68 31 3E  <html><body><h1>
0010: 46 69 6C 65 2F 68 6F 6D   65 2F 6F 6C 65 67 2F 72  File/home/oleg/r
0020: 75 6E 2F 61 70 61 63 68   65 2D 74 6F 6D 63 61 74  un/apache-tomcat
0030: 2D 36 2E 30 2E 33 30 2F   77 65 62 61 70 70 73 2F  -6.0.30/webapps/
0040: 64 6F 63 73 2F 66 61 76   69 63 6F 6E 2E 69 63 6F  docs/favicon.ico
0050: 20 6E 6F 74 20 66 6F 75   6E 64 3C 2F 68 31 3E 3C   not found</h1><
0060: 2F 62 6F 64 79 3E 3C 2F   68 74 6D 6C 3E 40 68 49  /body></html>@hI
0070: 96 34 A4 77 F0 E7 FD 7B   5F DD 1A B2 35 EE 85 70  .4.w...._...5..p
0080: 4B 0E 0E 0E 0E 0E 0E 0E   0E 0E 0E 0E 0E 0E 0E 0E  K...............
I/O dispatcher 2, WRITE: TLSv1 Application Data, length = 109
[Raw write (bb)]: length = 149
---

Chromium is closed at this point

---
0000: 17 03 01 00 90 5B BB BD   FD D8 EE 17 F8 A9 47 37  .....[........G7
0010: 10 9A C9 8B DB FC 51 CF   F4 2C 86 58 18 13 CE 43  ......Q..,.X...C
0020: E1 C9 4F DB 95 AB BE EA   4D 12 0E 7E 69 6C 07 20  ..O.....M...il. 
0030: 86 12 68 7B EF 48 6C 4F   85 6A 9E D9 FC 99 CF 2E  ..h..HlO.j......
0040: CB 0E 95 6E 2D FD F1 72   B9 41 EC FE 9D C4 47 22  ...n-..r.A....G"
0050: 96 20 82 CA FD B9 58 04   D1 63 F2 A8 DE 58 BD A0  . ....X..c...X..
0060: D1 21 4F 09 CE C7 7C B0   63 36 54 59 DE B6 36 84  .!O.....c6TY..6.
0070: D0 CA 83 59 96 B9 20 8C   7C 32 49 C4 1B F2 C4 00  ...Y.. ..2I.....
0080: 55 34 6C C2 4E CE EA 36   C5 82 65 0F 9E 15 8D 76  U4l.N..6..e....v
0090: 0D 22 F2 43 5D                                     .".C]
I/O dispatcher 1, called closeOutbound()
I/O dispatcher 1, closeOutboundInternal()
I/O dispatcher 1, SEND TLSv1 ALERT:  warning, description = close_notify
I/O dispatcher 2, called closeOutbound()
I/O dispatcher 2, closeOutboundInternal()
Padded plaintext before ENCRYPTION:  len = 32
I/O dispatcher 2, SEND TLSv1 ALERT:  warning, description = close_notify
0000: Padded plaintext before ENCRYPTION:  len = 32
0000: 01 00 AB A7 0C FA 14 70   48 84 AC 5F F9 6D 02 DB 01 00 B5 01 96 B7  
.......pH.._.m..
0010: D4 C9 C2 C2 E1 66 09 09   09 09 09 09 09 09 09 09  .....f..........
I/O dispatcher 2, WRITE: TLSv1 Alert, length = 32
[Raw write]: length = 37
0000: 15 03 01 00 20 7E 10 C3 9A   57 AB02   DD C3 67 A9 C3 E5 14 C3  .... 
.....g.....
0010: 08 33 A8 31 8F 25 7A A3   8C 8A B5 49 61 9B C3 80  .3.1.%z....Ia...
0020: 85 4F D4 4D C8                                     .O.M.
 E9 E7 83 EF 33 43  ........W.....3C
0010: 8D D9 39 D5 07 ED 09 09   09 09 09 09 09 09 09 09  ..9......I/O 
dispatcher 2, called closeOutbound()
I/O dispatcher 2, closeOutboundInternal()
.......
I/O dispatcher 2, SEND TLSv1 ALERT:  warning, description = close_notify
I/O dispatcher 1, WRITE: TLSv1 Alert, length = 32
Padded plaintext before ENCRYPTION:  len = 32
0000: 01 00 37 C5 9D 6D CB 95   FB 14 A4 69 19 6D 5E F7  ..7..m.[Raw write]: 
length = 37
....i.m^.
0010: 44 050 710 8E B1 C9 09 09   09 09 09 09 09 09 0900: 15 03 09 01 00 20 9D 
BF   D.q.............
2B   3A F8 5F 9A 47 78 3F I/O dispatcher 2, WRITE: TLSv1 Alert, length = 32
52  .... ..+:._.Gx?R
0010: 71 84 4B EC C4 E3 8C 56   32 48 19 5A C8 98 97 08  q.K....V2H.Z....
0020: 67 12 5C 1B 3C
                                     g.\.<
[Raw write]: length = 37
0000: 15 03 01 00 20 33 FB B6   72 1D C9 23 24 93 B4 B9  .... 3..r..#$...
001
0: E2 A6 6A 80 9E 9E 0D 6C   F9 F8 4E 6F 79 77 83 86  ..j....l..Noyw..
0020: 31 24 6B 86 DA                                     1$k..
---

Oleg

> Infinite Loop when Chrome closes SSL Socket
> -------------------------------------------
>
>                 Key: HTTPCORE-266
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-266
>             Project: HttpComponents HttpCore
>          Issue Type: Bug
>          Components: HttpCore NIO
>    Affects Versions: 4.1.2
>         Environment: Chromium 12.0.742.112 (90304) Ubuntu 11.04
>            Reporter: James Leigh
>            Priority: Critical
>              Labels: regression
>
> This is a regression since 4.1.1.
> Using the example org/apache/http/examples/nio/NHttpSSLServer.java server 
> from 4.1.2, when chrome exists the server get stuck in an infinite loop in 
> AbstractIOReactor.execute calling SSLServerIOEventDispatch.inputReady.
> Firefox 3.6.18 does not cause this behaviour. This behaviour is not observed 
> in 4.1.1.
> Below is the stdout in 4.1.2 before the JVM is aborted.
> Connection open: 127.0.0.1:46470->127.0.0.1:8080
> Connection open: 127.0.0.1:46471->127.0.0.1:8080
> Connection open: 127.0.0.1:46472->127.0.0.1:8080
> Connection open: 127.0.0.1:46473->127.0.0.1:8080
> Connection open: 127.0.0.1:46474->127.0.0.1:8080
> Connection open: 127.0.0.1:46475->127.0.0.1:8080
> Connection open: 127.0.0.1:46476->127.0.0.1:8080
> Serving file /tmp/index.html
> Connection timed out: 127.0.0.1:46476->127.0.0.1:8080
> Connection closed: 127.0.0.1:46476->127.0.0.1:8080
> ^C
> This issue maybe related (not sure):
> https://issues.apache.org/jira/browse/HTTPCORE-261

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to