Skip to content

Instantly share code, notes, and snippets.

@spencergibb
Last active September 19, 2019 17:59
Show Gist options
  • Save spencergibb/1ed54d6723598423393b7c8cb3e9d9cf to your computer and use it in GitHub Desktop.
Save spencergibb/1ed54d6723598423393b7c8cb3e9d9cf to your computer and use it in GitHub Desktop.
Gateway form encoding issue
2019-09-19 13:58:17.809 TRACE 18390 --- [or-http-epoll-2] o.s.w.s.adapter.HttpWebHandlerAdapter : [4d1329b6] HTTP POST "/test/post", headers={masked}
2019-09-19 13:58:17.827 DEBUG 18390 --- [or-http-epoll-2] s.w.r.r.m.a.RequestMappingHandlerMapping : [4d1329b6] Mapped to public reactor.core.publisher.Mono<java.util.Map<java.lang.String, java.lang.Object>> com.example.demomicro.TestController.postFormData(reactor.core.publisher.Mono<org.springframework.util.MultiValueMap<java.lang.String, org.springframework.http.codec.multipart.Part>>)
2019-09-19 13:58:17.837 DEBUG 18390 --- [or-http-epoll-2] .s.w.r.r.m.a.RequestBodyArgumentResolver : [4d1329b6] Content-Type:multipart/form-data;boundary=6xmVKPs6jEMPmtVOhUsIphH57h62dXxcix0;charset=UTF-8
2019-09-19 13:58:17.837 DEBUG 18390 --- [or-http-epoll-2] .s.w.r.r.m.a.RequestBodyArgumentResolver : [4d1329b6] 0..1 [org.springframework.util.MultiValueMap<java.lang.String, org.springframework.http.codec.multipart.Part>]
2019-09-19 13:58:17.841 ERROR 18390 --- [or-http-epoll-2] com.example.demomicro.TestController : Here ====================================
2019-09-19 13:58:17.847 DEBUG 18390 --- [or-http-epoll-2] o.s.w.r.r.m.a.ResponseBodyResultHandler : Using 'application/json' given [*/*] and supported [application/json]
2019-09-19 13:58:17.847 DEBUG 18390 --- [or-http-epoll-2] o.s.w.r.r.m.a.ResponseBodyResultHandler : [4d1329b6] 0..1 [java.util.Map<java.lang.String, java.lang.Object>]
2019-09-19 13:58:17.857 ERROR 18390 --- [or-http-epoll-2] parts : | onSubscribe([Fuseable] FluxOnAssembly.OnAssemblySubscriber)
2019-09-19 13:58:17.858 ERROR 18390 --- [or-http-epoll-2] parts : | request(256)
2019-09-19 13:58:17.879 ERROR 18390 --- [or-http-epoll-2] parts : | cancel()
2019-09-18 17:11:57.998 DEBUG 10150 --- [or-http-epoll-2] r.n.http.server.HttpServerOperations : [id: 0x9b850443, L:/127.0.0.1:9080 - R:/127.0.0.1:59782] New http connection, requesting read
2019-09-18 17:11:57.999 DEBUG 10150 --- [or-http-epoll-2] reactor.netty.channel.BootstrapHandlers : [id: 0x9b850443, L:/127.0.0.1:9080 - R:/127.0.0.1:59782] Initialized pipeline DefaultChannelPipeline{(reactor.left.loggingHandler = io.netty.handler.logging.LoggingHandler), (BootstrapHandlers$BootstrapInitializerHandler#0 = reactor.netty.channel.BootstrapHandlers$BootstrapInitializerHandler), (reactor.left.httpCodec = io.netty.handler.codec.http.HttpServerCodec), (reactor.left.httpTrafficHandler = reactor.netty.http.server.HttpTrafficHandler), (reactor.right.reactiveBridge = reactor.netty.channel.ChannelOperationsHandler)}
2019-09-18 17:11:57.999 DEBUG 10150 --- [or-http-epoll-2] reactor.netty.http.server.HttpServer : [id: 0x9b850443, L:/127.0.0.1:9080 - R:/127.0.0.1:59782] REGISTERED
2019-09-18 17:11:57.999 DEBUG 10150 --- [or-http-epoll-2] reactor.netty.http.server.HttpServer : [id: 0x9b850443, L:/127.0.0.1:9080 - R:/127.0.0.1:59782] ACTIVE
2019-09-18 17:11:58.024 DEBUG 10150 --- [or-http-epoll-2] reactor.netty.http.server.HttpServer : [id: 0x9b850443, L:/127.0.0.1:9080 - R:/127.0.0.1:59782] READ: 251B
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 50 4f 53 54 20 2f 67 77 2f 74 65 73 74 2f 70 6f |POST /gw/test/po|
|00000010| 73 74 20 48 54 54 50 2f 31 2e 31 0d 0a 61 63 63 |st HTTP/1.1..acc|
|00000020| 65 70 74 2d 65 6e 63 6f 64 69 6e 67 3a 20 67 7a |ept-encoding: gz|
|00000030| 69 70 0d 0a 75 73 65 72 2d 61 67 65 6e 74 3a 20 |ip..user-agent: |
|00000040| 52 65 61 63 74 6f 72 4e 65 74 74 79 2f 30 2e 38 |ReactorNetty/0.8|
|00000050| 2e 31 31 2e 52 45 4c 45 41 53 45 0d 0a 68 6f 73 |.11.RELEASE..hos|
|00000060| 74 3a 20 6c 6f 63 61 6c 68 6f 73 74 3a 39 30 38 |t: localhost:908|
|00000070| 30 0d 0a 61 63 63 65 70 74 3a 20 2a 2f 2a 0d 0a |0..accept: */*..|
|00000080| 74 72 61 6e 73 66 65 72 2d 65 6e 63 6f 64 69 6e |transfer-encodin|
|00000090| 67 3a 20 63 68 75 6e 6b 65 64 0d 0a 43 6f 6e 74 |g: chunked..Cont|
|000000a0| 65 6e 74 2d 54 79 70 65 3a 20 6d 75 6c 74 69 70 |ent-Type: multip|
|000000b0| 61 72 74 2f 66 6f 72 6d 2d 64 61 74 61 3b 62 6f |art/form-data;bo|
|000000c0| 75 6e 64 61 72 79 3d 6d 52 49 6d 2d 37 4b 37 4b |undary=mRIm-7K7K|
|000000d0| 6f 33 49 4a 2d 52 6f 68 75 76 42 69 33 48 59 73 |o3IJ-RohuvBi3HYs|
|000000e0| 68 39 30 71 36 67 38 46 6a 3b 63 68 61 72 73 65 |h90q6g8Fj;charse|
|000000f0| 74 3d 55 54 46 2d 38 0d 0a 0d 0a |t=UTF-8.... |
+--------+-------------------------------------------------+----------------+
2019-09-18 17:11:58.029 DEBUG 10150 --- [or-http-epoll-2] r.n.http.server.HttpServerOperations : [id: 0x9b850443, L:/127.0.0.1:9080 - R:/127.0.0.1:59782] Increasing pending responses, now 1
2019-09-18 17:11:58.033 DEBUG 10150 --- [or-http-epoll-2] reactor.netty.http.server.HttpServer : [id: 0x9b850443, L:/127.0.0.1:9080 - R:/127.0.0.1:59782] Handler is being applied: org.springframework.http.server.reactive.ReactorHttpHandlerAdapter@4bc69b6d
2019-09-18 17:11:58.059 TRACE 10150 --- [or-http-epoll-2] o.s.c.g.f.WeightCalculatorWebFilter : Weights attr: {}
2019-09-18 17:11:58.127 DEBUG 10150 --- [or-http-epoll-2] o.s.c.g.r.RouteDefinitionRouteLocator : RouteDefinition test applying {_genkey_0=/gw/**} to Path
2019-09-18 17:11:58.128 DEBUG 10150 --- [or-http-epoll-2] o.s.c.g.r.RouteDefinitionRouteLocator : RouteDefinition test applying filter {_genkey_0=1} to StripPrefix
2019-09-18 17:11:58.128 DEBUG 10150 --- [or-http-epoll-2] o.s.c.g.r.RouteDefinitionRouteLocator : RouteDefinition matched: test
2019-09-18 17:11:58.130 TRACE 10150 --- [or-http-epoll-2] o.s.c.g.h.p.RoutePredicateFactory : Pattern "/gw/**" matches against value "/gw/test/post"
2019-09-18 17:11:58.131 DEBUG 10150 --- [or-http-epoll-2] o.s.c.g.h.RoutePredicateHandlerMapping : Route matched: test
2019-09-18 17:11:58.132 DEBUG 10150 --- [or-http-epoll-2] o.s.c.g.h.RoutePredicateHandlerMapping : Mapping [Exchange: POST http://localhost:9080/gw/test/post] to Route{id='test', uri=http://localhost:8082, order=0, predicate=Paths: [/gw/**], match trailing slash: true, gatewayFilters=[[[StripPrefix parts = 1], order = 1]]}
2019-09-18 17:11:58.133 DEBUG 10150 --- [or-http-epoll-2] o.s.c.g.h.RoutePredicateHandlerMapping : [9b850443] Mapped to org.springframework.cloud.gateway.handler.FilteringWebHandler@41416348
2019-09-18 17:11:58.133 DEBUG 10150 --- [or-http-epoll-2] o.s.c.g.handler.FilteringWebHandler : Sorted gatewayFilterFactories: [[GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.RemoveCachedBodyFilter@30404dba}, order = -2147483648], [GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.AdaptCachedBodyGlobalFilter@c4c0b41}, order = -2147482648], [GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.NettyWriteResponseFilter@340b7ef6}, order = -1], [GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.ForwardPathFilter@231baf51}, order = 0], [[StripPrefix parts = 1], order = 1], [GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.RouteToRequestUrlFilter@6050462a}, order = 10000], [GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.config.GatewayNoLoadBalancerClientAutoConfiguration$NoLoadBalancerClientFilter@73877e19}, order = 10100], [GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.WebsocketRoutingFilter@11841b15}, order = 2147483646], [GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.NettyRoutingFilter@11a7ba62}, order = 2147483647], [GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.ForwardRoutingFilter@4c0884e8}, order = 2147483647]]
2019-09-18 17:11:58.141 TRACE 10150 --- [or-http-epoll-2] o.s.c.g.filter.RouteToRequestUrlFilter : RouteToRequestUrlFilter start
2019-09-18 17:11:58.165 DEBUG 10150 --- [or-http-epoll-2] r.n.resources.PooledConnectionProvider : Creating new client pool [proxy] for localhost:8082
2019-09-18 17:11:58.166 DEBUG 10150 --- [or-http-epoll-6] r.n.resources.PooledConnectionProvider : [id: 0xe9bfaba5] Created new pooled channel, now 0 active connections and 1 inactive connections
2019-09-18 17:11:58.167 DEBUG 10150 --- [or-http-epoll-2] reactor.netty.http.server.HttpServer : [id: 0x9b850443, L:/127.0.0.1:9080 - R:/127.0.0.1:59782] READ COMPLETE
2019-09-18 17:11:58.169 DEBUG 10150 --- [or-http-epoll-6] reactor.netty.channel.BootstrapHandlers : [id: 0xe9bfaba5] Initialized pipeline DefaultChannelPipeline{(reactor.left.loggingHandler = io.netty.handler.logging.LoggingHandler), (BootstrapHandlers$BootstrapInitializerHandler#0 = reactor.netty.channel.BootstrapHandlers$BootstrapInitializerHandler), (SimpleChannelPool$1#0 = io.netty.channel.pool.SimpleChannelPool$1), (reactor.left.httpCodec = io.netty.handler.codec.http.HttpClientCodec), (reactor.right.reactiveBridge = reactor.netty.channel.ChannelOperationsHandler)}
2019-09-18 17:11:58.171 DEBUG 10150 --- [or-http-epoll-6] reactor.netty.http.client.HttpClient : [id: 0xe9bfaba5] REGISTERED
2019-09-18 17:11:58.171 DEBUG 10150 --- [or-http-epoll-6] reactor.netty.http.client.HttpClient : [id: 0xe9bfaba5] CONNECT: localhost/127.0.0.1:8082
2019-09-18 17:11:58.173 DEBUG 10150 --- [or-http-epoll-6] reactor.netty.http.client.HttpClient : [id: 0xe9bfaba5, L:/127.0.0.1:40514 - R:localhost/127.0.0.1:8082] ACTIVE
2019-09-18 17:11:58.173 DEBUG 10150 --- [or-http-epoll-6] r.n.resources.PooledConnectionProvider : [id: 0xe9bfaba5, L:/127.0.0.1:40514 - R:localhost/127.0.0.1:8082] onStateChange(PooledConnection{channel=[id: 0xe9bfaba5, L:/127.0.0.1:40514 - R:localhost/127.0.0.1:8082]}, [connected])
2019-09-18 17:11:58.174 DEBUG 10150 --- [or-http-epoll-6] r.n.resources.PooledConnectionProvider : [id: 0xe9bfaba5, L:/127.0.0.1:40514 - R:localhost/127.0.0.1:8082] onStateChange(GET{uri=/, connection=PooledConnection{channel=[id: 0xe9bfaba5, L:/127.0.0.1:40514 - R:localhost/127.0.0.1:8082]}}, [configured])
2019-09-18 17:11:58.175 DEBUG 10150 --- [or-http-epoll-6] r.n.resources.PooledConnectionProvider : [id: 0xe9bfaba5, L:/127.0.0.1:40514 - R:localhost/127.0.0.1:8082] Registering pool release on close event for channel
2019-09-18 17:11:58.176 DEBUG 10150 --- [or-http-epoll-6] r.netty.http.client.HttpClientConnect : [id: 0xe9bfaba5, L:/127.0.0.1:40514 - R:localhost/127.0.0.1:8082] Handler is being applied: {uri=http://localhost:8082/test/post, method=POST}
2019-09-18 17:11:58.176 TRACE 10150 --- [or-http-epoll-6] o.s.c.gateway.filter.NettyRoutingFilter : outbound route: e9bfaba5, inbound: [9b850443]
2019-09-18 17:11:58.181 DEBUG 10150 --- [or-http-epoll-6] reactor.netty.http.client.HttpClient : [id: 0xe9bfaba5, L:/127.0.0.1:40514 - R:localhost/127.0.0.1:8082] WRITE: 423B
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 50 4f 53 54 20 2f 74 65 73 74 2f 70 6f 73 74 20 |POST /test/post |
|00000010| 48 54 54 50 2f 31 2e 31 0d 0a 75 73 65 72 2d 61 |HTTP/1.1..user-a|
|00000020| 67 65 6e 74 3a 20 52 65 61 63 74 6f 72 4e 65 74 |gent: ReactorNet|
|00000030| 74 79 2f 30 2e 38 2e 31 31 2e 52 45 4c 45 41 53 |ty/0.8.11.RELEAS|
|00000040| 45 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a |E..Content-Type:|
|00000050| 20 6d 75 6c 74 69 70 61 72 74 2f 66 6f 72 6d 2d | multipart/form-|
|00000060| 64 61 74 61 3b 62 6f 75 6e 64 61 72 79 3d 6d 52 |data;boundary=mR|
|00000070| 49 6d 2d 37 4b 37 4b 6f 33 49 4a 2d 52 6f 68 75 |Im-7K7Ko3IJ-Rohu|
|00000080| 76 42 69 33 48 59 73 68 39 30 71 36 67 38 46 6a |vBi3HYsh90q6g8Fj|
|00000090| 3b 63 68 61 72 73 65 74 3d 55 54 46 2d 38 0d 0a |;charset=UTF-8..|
|000000a0| 61 63 63 65 70 74 2d 65 6e 63 6f 64 69 6e 67 3a |accept-encoding:|
|000000b0| 20 67 7a 69 70 0d 0a 61 63 63 65 70 74 3a 20 2a | gzip..accept: *|
|000000c0| 2f 2a 0d 0a 46 6f 72 77 61 72 64 65 64 3a 20 70 |/*..Forwarded: p|
|000000d0| 72 6f 74 6f 3d 68 74 74 70 3b 68 6f 73 74 3d 22 |roto=http;host="|
|000000e0| 6c 6f 63 61 6c 68 6f 73 74 3a 39 30 38 30 22 3b |localhost:9080";|
|000000f0| 66 6f 72 3d 22 31 32 37 2e 30 2e 30 2e 31 3a 35 |for="127.0.0.1:5|
|00000100| 39 37 38 32 22 0d 0a 58 2d 46 6f 72 77 61 72 64 |9782"..X-Forward|
|00000110| 65 64 2d 46 6f 72 3a 20 31 32 37 2e 30 2e 30 2e |ed-For: 127.0.0.|
|00000120| 31 0d 0a 58 2d 46 6f 72 77 61 72 64 65 64 2d 50 |1..X-Forwarded-P|
|00000130| 72 6f 74 6f 3a 20 68 74 74 70 0d 0a 58 2d 46 6f |roto: http..X-Fo|
|00000140| 72 77 61 72 64 65 64 2d 50 72 65 66 69 78 3a 20 |rwarded-Prefix: |
|00000150| 2f 67 77 0d 0a 58 2d 46 6f 72 77 61 72 64 65 64 |/gw..X-Forwarded|
|00000160| 2d 50 6f 72 74 3a 20 39 30 38 30 0d 0a 58 2d 46 |-Port: 9080..X-F|
|00000170| 6f 72 77 61 72 64 65 64 2d 48 6f 73 74 3a 20 6c |orwarded-Host: l|
|00000180| 6f 63 61 6c 68 6f 73 74 3a 39 30 38 30 0d 0a 68 |ocalhost:9080..h|
|00000190| 6f 73 74 3a 20 6c 6f 63 61 6c 68 6f 73 74 3a 38 |ost: localhost:8|
|000001a0| 30 38 32 0d 0a 0d 0a |082.... |
+--------+-------------------------------------------------+----------------+
2019-09-18 17:11:58.181 DEBUG 10150 --- [or-http-epoll-6] reactor.netty.http.client.HttpClient : [id: 0xe9bfaba5, L:/127.0.0.1:40514 - R:localhost/127.0.0.1:8082] FLUSH
2019-09-18 17:11:58.184 DEBUG 10150 --- [or-http-epoll-2] reactor.netty.channel.FluxReceive : [id: 0x9b850443, L:/127.0.0.1:9080 - R:/127.0.0.1:59782] Subscribing inbound receiver [pending: 0, cancelled:false, inboundDone: false]
2019-09-18 17:11:58.184 DEBUG 10150 --- [or-http-epoll-6] r.n.resources.PooledConnectionProvider : [id: 0xe9bfaba5, L:/127.0.0.1:40514 - R:localhost/127.0.0.1:8082] Channel connected, now 1 active connections and 0 inactive connections
2019-09-18 17:11:58.184 DEBUG 10150 --- [or-http-epoll-2] reactor.netty.http.server.HttpServer : [id: 0x9b850443, L:/127.0.0.1:9080 - R:/127.0.0.1:59782] READ: 964B
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 32 36 0d 0a 2d 2d 6d 52 49 6d 2d 37 4b 37 4b 6f |26..--mRIm-7K7Ko|
|00000010| 33 49 4a 2d 52 6f 68 75 76 42 69 33 48 59 73 68 |3IJ-RohuvBi3HYsh|
|00000020| 39 30 71 36 67 38 46 6a 0d 0a 0d 0a 37 33 0d 0a |90q6g8Fj....73..|
|00000030| 43 6f 6e 74 65 6e 74 2d 44 69 73 70 6f 73 69 74 |Content-Disposit|
|00000040| 69 6f 6e 3a 20 66 6f 72 6d 2d 64 61 74 61 3b 20 |ion: form-data; |
|00000050| 6e 61 6d 65 3d 22 66 69 6c 65 22 3b 20 66 69 6c |name="file"; fil|
|00000060| 65 6e 61 6d 65 3d 22 74 65 73 74 2e 74 78 74 22 |ename="test.txt"|
|00000070| 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 |..Content-Type: |
|00000080| 74 65 78 74 2f 70 6c 61 69 6e 0d 0a 43 6f 6e 74 |text/plain..Cont|
|00000090| 65 6e 74 2d 4c 65 6e 67 74 68 3a 20 37 33 34 0d |ent-Length: 734.|
|000000a0| 0a 0d 0a 0d 0a 32 64 65 0d 0a 54 65 73 74 46 69 |.....2de..TestFi|
|000000b0| 6c 65 20 63 6f 6e 74 65 6e 74 20 66 6f 72 20 6d |le content for m|
|000000c0| 75 6c 74 69 70 61 72 74 20 72 65 71 75 65 73 74 |ultipart request|
|000000d0| 20 74 65 73 74 2e 0a c2 bc 73 63 72 69 70 74 c2 | test....script.|
|000000e0| be 61 6c 65 72 74 28 c2 a2 58 53 53 c2 a2 29 c2 |.alert(..XSS..).|
|000000f0| bc 2f 73 63 72 69 70 74 c2 be 0a 27 20 55 4e 49 |./script...' UNI|
|00000100| 4f 4e 20 53 45 4c 45 43 54 20 31 2c 20 27 61 6e |ON SELECT 1, 'an|
|00000110| 6f 74 68 65 72 63 6f 6c 75 6d 6e 27 2c 20 27 64 |othercolumn', 'd|
|00000120| 6f 65 73 6e 74 20 6d 61 74 74 65 72 27 2c 20 31 |oesnt matter', 1|
|00000130| 2d 2d 0a 56 61 6c 75 65 4c 44 41 50 29 28 7c 28 |--.ValueLDAP)(|(|
|00000140| 63 6e 3d 2a 29 0a 3c 3f 78 6d 6c 20 76 65 72 73 |cn=*).<?xml vers|
|00000150| 69 6f 6e 3d 22 31 2e 30 22 20 65 6e 63 6f 64 69 |ion="1.0" encodi|
|00000160| 6e 67 3d 22 49 53 4f 2d 38 38 35 39 2d 31 22 3f |ng="ISO-8859-1"?|
|00000170| 3e 20 3c 21 44 4f 43 54 59 50 45 20 66 6f 6f 20 |> <!DOCTYPE foo |
|00000180| 5b 20 3c 21 45 4c 45 4d 45 4e 54 20 66 6f 6f 20 |[ <!ELEMENT foo |
|00000190| 41 4e 59 20 3e 20 3c 21 45 4e 54 49 54 59 20 78 |ANY > <!ENTITY x|
|000001a0| 78 65 20 53 59 53 54 45 4d 20 22 66 69 6c 65 3a |xe SYSTEM "file:|
|000001b0| 2f 2f 2f 65 74 63 2f 70 61 73 73 77 64 22 20 3e |///etc/passwd" >|
|000001c0| 5d 3e 3c 66 6f 6f 3e 26 78 78 65 3b 3c 2f 66 6f |]><foo>&xxe;</fo|
|000001d0| 6f 3e 20 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e |o> <?xml version|
|000001e0| 3d 22 31 2e 30 22 20 65 6e 63 6f 64 69 6e 67 3d |="1.0" encoding=|
|000001f0| 22 49 53 4f 2d 38 38 35 39 2d 31 22 3f 3e 20 3c |"ISO-8859-1"?> <|
|00000200| 21 44 4f 43 54 59 50 45 20 66 6f 6f 20 5b 20 3c |!DOCTYPE foo [ <|
|00000210| 21 45 4c 45 4d 45 4e 54 20 66 6f 6f 20 41 4e 59 |!ELEMENT foo ANY|
|00000220| 20 3e 20 3c 21 45 4e 54 49 54 59 20 78 78 65 20 | > <!ENTITY xxe |
|00000230| 53 59 53 54 45 4d 20 22 66 69 6c 65 3a 2f 2f 2f |SYSTEM "file:///|
|00000240| 65 74 63 2f 73 68 61 64 6f 77 22 20 3e 5d 3e 3c |etc/shadow" >]><|
|00000250| 66 6f 6f 3e 26 78 78 65 3b 3c 2f 66 6f 6f 3e 20 |foo>&xxe;</foo> |
|00000260| 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 |<?xml version="1|
|00000270| 2e 30 22 20 65 6e 63 6f 64 69 6e 67 3d 22 49 53 |.0" encoding="IS|
|00000280| 4f 2d 38 38 35 39 2d 31 22 3f 3e 20 3c 21 44 4f |O-8859-1"?> <!DO|
|00000290| 43 54 59 50 45 20 66 6f 6f 20 5b 20 3c 21 45 4c |CTYPE foo [ <!EL|
|000002a0| 45 4d 45 4e 54 20 66 6f 6f 20 41 4e 59 20 3e 20 |EMENT foo ANY > |
|000002b0| 3c 21 45 4e 54 49 54 59 20 78 78 65 20 53 59 53 |<!ENTITY xxe SYS|
|000002c0| 54 45 4d 20 22 66 69 6c 65 3a 2f 2f 2f 63 3a 2f |TEM "file:///c:/|
|000002d0| 62 6f 6f 74 2e 69 6e 69 22 20 3e 5d 3e 3c 66 6f |boot.ini" >]><fo|
|000002e0| 6f 3e 26 78 78 65 3b 3c 2f 66 6f 6f 3e 20 3c 3f |o>&xxe;</foo> <?|
|000002f0| 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 |xml version="1.0|
|00000300| 22 20 65 6e 63 6f 64 69 6e 67 3d 22 49 53 4f 2d |" encoding="ISO-|
|00000310| 38 38 35 39 2d 31 22 3f 3e 20 3c 21 44 4f 43 54 |8859-1"?> <!DOCT|
|00000320| 59 50 45 20 66 6f 6f 20 5b 20 3c 21 45 4c 45 4d |YPE foo [ <!ELEM|
|00000330| 45 4e 54 20 66 6f 6f 20 41 4e 59 20 3e 20 3c 21 |ENT foo ANY > <!|
|00000340| 45 4e 54 49 54 59 20 78 78 65 20 53 59 53 54 45 |ENTITY xxe SYSTE|
|00000350| 4d 20 22 68 74 74 70 3a 2f 2f 77 77 77 2e 61 74 |M "http://www.at|
|00000360| 74 61 63 6b 65 72 2e 63 6f 6d 2f 74 65 78 74 2e |tacker.com/text.|
|00000370| 74 78 74 22 20 3e 5d 3e 3c 66 6f 6f 3e 26 78 78 |txt" >]><foo>&xx|
|00000380| 65 3b 3c 2f 66 6f 6f 3e 0d 0a 32 0d 0a 0d 0a 0d |e;</foo>..2.....|
|00000390| 0a 32 38 0d 0a 2d 2d 6d 52 49 6d 2d 37 4b 37 4b |.28..--mRIm-7K7K|
|000003a0| 6f 33 49 4a 2d 52 6f 68 75 76 42 69 33 48 59 73 |o3IJ-RohuvBi3HYs|
|000003b0| 68 39 30 71 36 67 38 46 6a 2d 2d 0d 0a 0d 0a 30 |h90q6g8Fj--....0|
|000003c0| 0d 0a 0d 0a |.... |
+--------+-------------------------------------------------+----------------+
2019-09-18 17:11:58.187 DEBUG 10150 --- [or-http-epoll-6] reactor.netty.http.client.HttpClient : [id: 0xe9bfaba5, L:/127.0.0.1:40514 - R:localhost/127.0.0.1:8082] WRITE: 38B
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 2d 2d 6d 52 49 6d 2d 37 4b 37 4b 6f 33 49 4a 2d |--mRIm-7K7Ko3IJ-|
|00000010| 52 6f 68 75 76 42 69 33 48 59 73 68 39 30 71 36 |RohuvBi3HYsh90q6|
|00000020| 67 38 46 6a 0d 0a |g8Fj.. |
+--------+-------------------------------------------------+----------------+
2019-09-18 17:11:58.187 DEBUG 10150 --- [or-http-epoll-6] reactor.netty.http.client.HttpClient : [id: 0xe9bfaba5, L:/127.0.0.1:40514 - R:localhost/127.0.0.1:8082] WRITE: 115B
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 43 6f 6e 74 65 6e 74 2d 44 69 73 70 6f 73 69 74 |Content-Disposit|
|00000010| 69 6f 6e 3a 20 66 6f 72 6d 2d 64 61 74 61 3b 20 |ion: form-data; |
|00000020| 6e 61 6d 65 3d 22 66 69 6c 65 22 3b 20 66 69 6c |name="file"; fil|
|00000030| 65 6e 61 6d 65 3d 22 74 65 73 74 2e 74 78 74 22 |ename="test.txt"|
|00000040| 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 |..Content-Type: |
|00000050| 74 65 78 74 2f 70 6c 61 69 6e 0d 0a 43 6f 6e 74 |text/plain..Cont|
|00000060| 65 6e 74 2d 4c 65 6e 67 74 68 3a 20 37 33 34 0d |ent-Length: 734.|
|00000070| 0a 0d 0a |... |
+--------+-------------------------------------------------+----------------+
2019-09-18 17:11:58.187 DEBUG 10150 --- [or-http-epoll-2] reactor.netty.http.server.HttpServer : [id: 0x9b850443, L:/127.0.0.1:9080 - R:/127.0.0.1:59782] READ COMPLETE
2019-09-18 17:11:58.187 DEBUG 10150 --- [or-http-epoll-6] reactor.netty.http.client.HttpClient : [id: 0xe9bfaba5, L:/127.0.0.1:40514 - R:localhost/127.0.0.1:8082] WRITE: 734B
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 54 65 73 74 46 69 6c 65 20 63 6f 6e 74 65 6e 74 |TestFile content|
|00000010| 20 66 6f 72 20 6d 75 6c 74 69 70 61 72 74 20 72 | for multipart r|
|00000020| 65 71 75 65 73 74 20 74 65 73 74 2e 0a c2 bc 73 |equest test....s|
|00000030| 63 72 69 70 74 c2 be 61 6c 65 72 74 28 c2 a2 58 |cript..alert(..X|
|00000040| 53 53 c2 a2 29 c2 bc 2f 73 63 72 69 70 74 c2 be |SS..)../script..|
|00000050| 0a 27 20 55 4e 49 4f 4e 20 53 45 4c 45 43 54 20 |.' UNION SELECT |
|00000060| 31 2c 20 27 61 6e 6f 74 68 65 72 63 6f 6c 75 6d |1, 'anothercolum|
|00000070| 6e 27 2c 20 27 64 6f 65 73 6e 74 20 6d 61 74 74 |n', 'doesnt matt|
|00000080| 65 72 27 2c 20 31 2d 2d 0a 56 61 6c 75 65 4c 44 |er', 1--.ValueLD|
|00000090| 41 50 29 28 7c 28 63 6e 3d 2a 29 0a 3c 3f 78 6d |AP)(|(cn=*).<?xm|
|000000a0| 6c 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 20 |l version="1.0" |
|000000b0| 65 6e 63 6f 64 69 6e 67 3d 22 49 53 4f 2d 38 38 |encoding="ISO-88|
|000000c0| 35 39 2d 31 22 3f 3e 20 3c 21 44 4f 43 54 59 50 |59-1"?> <!DOCTYP|
|000000d0| 45 20 66 6f 6f 20 5b 20 3c 21 45 4c 45 4d 45 4e |E foo [ <!ELEMEN|
|000000e0| 54 20 66 6f 6f 20 41 4e 59 20 3e 20 3c 21 45 4e |T foo ANY > <!EN|
|000000f0| 54 49 54 59 20 78 78 65 20 53 59 53 54 45 4d 20 |TITY xxe SYSTEM |
|00000100| 22 66 69 6c 65 3a 2f 2f 2f 65 74 63 2f 70 61 73 |"file:///etc/pas|
|00000110| 73 77 64 22 20 3e 5d 3e 3c 66 6f 6f 3e 26 78 78 |swd" >]><foo>&xx|
|00000120| 65 3b 3c 2f 66 6f 6f 3e 20 3c 3f 78 6d 6c 20 76 |e;</foo> <?xml v|
|00000130| 65 72 73 69 6f 6e 3d 22 31 2e 30 22 20 65 6e 63 |ersion="1.0" enc|
|00000140| 6f 64 69 6e 67 3d 22 49 53 4f 2d 38 38 35 39 2d |oding="ISO-8859-|
|00000150| 31 22 3f 3e 20 3c 21 44 4f 43 54 59 50 45 20 66 |1"?> <!DOCTYPE f|
|00000160| 6f 6f 20 5b 20 3c 21 45 4c 45 4d 45 4e 54 20 66 |oo [ <!ELEMENT f|
|00000170| 6f 6f 20 41 4e 59 20 3e 20 3c 21 45 4e 54 49 54 |oo ANY > <!ENTIT|
|00000180| 59 20 78 78 65 20 53 59 53 54 45 4d 20 22 66 69 |Y xxe SYSTEM "fi|
|00000190| 6c 65 3a 2f 2f 2f 65 74 63 2f 73 68 61 64 6f 77 |le:///etc/shadow|
|000001a0| 22 20 3e 5d 3e 3c 66 6f 6f 3e 26 78 78 65 3b 3c |" >]><foo>&xxe;<|
|000001b0| 2f 66 6f 6f 3e 20 3c 3f 78 6d 6c 20 76 65 72 73 |/foo> <?xml vers|
|000001c0| 69 6f 6e 3d 22 31 2e 30 22 20 65 6e 63 6f 64 69 |ion="1.0" encodi|
|000001d0| 6e 67 3d 22 49 53 4f 2d 38 38 35 39 2d 31 22 3f |ng="ISO-8859-1"?|
|000001e0| 3e 20 3c 21 44 4f 43 54 59 50 45 20 66 6f 6f 20 |> <!DOCTYPE foo |
|000001f0| 5b 20 3c 21 45 4c 45 4d 45 4e 54 20 66 6f 6f 20 |[ <!ELEMENT foo |
|00000200| 41 4e 59 20 3e 20 3c 21 45 4e 54 49 54 59 20 78 |ANY > <!ENTITY x|
|00000210| 78 65 20 53 59 53 54 45 4d 20 22 66 69 6c 65 3a |xe SYSTEM "file:|
|00000220| 2f 2f 2f 63 3a 2f 62 6f 6f 74 2e 69 6e 69 22 20 |///c:/boot.ini" |
|00000230| 3e 5d 3e 3c 66 6f 6f 3e 26 78 78 65 3b 3c 2f 66 |>]><foo>&xxe;</f|
|00000240| 6f 6f 3e 20 3c 3f 78 6d 6c 20 76 65 72 73 69 6f |oo> <?xml versio|
|00000250| 6e 3d 22 31 2e 30 22 20 65 6e 63 6f 64 69 6e 67 |n="1.0" encoding|
|00000260| 3d 22 49 53 4f 2d 38 38 35 39 2d 31 22 3f 3e 20 |="ISO-8859-1"?> |
|00000270| 3c 21 44 4f 43 54 59 50 45 20 66 6f 6f 20 5b 20 |<!DOCTYPE foo [ |
|00000280| 3c 21 45 4c 45 4d 45 4e 54 20 66 6f 6f 20 41 4e |<!ELEMENT foo AN|
|00000290| 59 20 3e 20 3c 21 45 4e 54 49 54 59 20 78 78 65 |Y > <!ENTITY xxe|
|000002a0| 20 53 59 53 54 45 4d 20 22 68 74 74 70 3a 2f 2f | SYSTEM "http://|
|000002b0| 77 77 77 2e 61 74 74 61 63 6b 65 72 2e 63 6f 6d |www.attacker.com|
|000002c0| 2f 74 65 78 74 2e 74 78 74 22 20 3e 5d 3e 3c 66 |/text.txt" >]><f|
|000002d0| 6f 6f 3e 26 78 78 65 3b 3c 2f 66 6f 6f 3e |oo>&xxe;</foo> |
+--------+-------------------------------------------------+----------------+
2019-09-18 17:11:58.187 DEBUG 10150 --- [or-http-epoll-6] reactor.netty.http.client.HttpClient : [id: 0xe9bfaba5, L:/127.0.0.1:40514 - R:localhost/127.0.0.1:8082] WRITE: 2B
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 0d 0a |.. |
+--------+-------------------------------------------------+----------------+
2019-09-18 17:11:58.187 DEBUG 10150 --- [or-http-epoll-6] reactor.netty.http.client.HttpClient : [id: 0xe9bfaba5, L:/127.0.0.1:40514 - R:localhost/127.0.0.1:8082] WRITE: 40B
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 2d 2d 6d 52 49 6d 2d 37 4b 37 4b 6f 33 49 4a 2d |--mRIm-7K7Ko3IJ-|
|00000010| 52 6f 68 75 76 42 69 33 48 59 73 68 39 30 71 36 |RohuvBi3HYsh90q6|
|00000020| 67 38 46 6a 2d 2d 0d 0a |g8Fj--.. |
+--------+-------------------------------------------------+----------------+
2019-09-18 17:11:58.187 DEBUG 10150 --- [or-http-epoll-6] reactor.netty.http.client.HttpClient : [id: 0xe9bfaba5, L:/127.0.0.1:40514 - R:localhost/127.0.0.1:8082] FLUSH
2019-09-18 17:11:58.189 DEBUG 10150 --- [or-http-epoll-6] reactor.netty.http.client.HttpClient : [id: 0xe9bfaba5, L:/127.0.0.1:40514 - R:localhost/127.0.0.1:8082] WRITE: 0B
2019-09-18 17:11:58.189 DEBUG 10150 --- [or-http-epoll-6] reactor.netty.http.client.HttpClient : [id: 0xe9bfaba5, L:/127.0.0.1:40514 - R:localhost/127.0.0.1:8082] FLUSH
2019-09-18 17:11:58.189 DEBUG 10150 --- [or-http-epoll-6] r.n.resources.PooledConnectionProvider : [id: 0xe9bfaba5, L:/127.0.0.1:40514 - R:localhost/127.0.0.1:8082] onStateChange(POST{uri=/test/post, connection=PooledConnection{channel=[id: 0xe9bfaba5, L:/127.0.0.1:40514 - R:localhost/127.0.0.1:8082]}}, [request_sent])
2019-09-18 17:11:58.189 DEBUG 10150 --- [or-http-epoll-6] reactor.netty.http.client.HttpClient : [id: 0xe9bfaba5, L:/127.0.0.1:40514 - R:localhost/127.0.0.1:8082] READ: 66B
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 48 54 54 50 2f 31 2e 30 20 34 30 30 20 42 61 64 |HTTP/1.0 400 Bad|
|00000010| 20 52 65 71 75 65 73 74 0d 0a 63 6f 6e 74 65 6e | Request..conten|
|00000020| 74 2d 6c 65 6e 67 74 68 3a 20 30 0d 0a 63 6f 6e |t-length: 0..con|
|00000030| 6e 65 63 74 69 6f 6e 3a 20 63 6c 6f 73 65 0d 0a |nection: close..|
|00000040| 0d 0a |.. |
+--------+-------------------------------------------------+----------------+
2019-09-18 17:11:58.190 DEBUG 10150 --- [or-http-epoll-6] r.n.http.client.HttpClientOperations : [id: 0xe9bfaba5, L:/127.0.0.1:40514 - R:localhost/127.0.0.1:8082] Received response (auto-read:false) : [content-length=0, connection=close]
2019-09-18 17:11:58.190 DEBUG 10150 --- [or-http-epoll-6] r.n.resources.PooledConnectionProvider : [id: 0xe9bfaba5, L:/127.0.0.1:40514 - R:localhost/127.0.0.1:8082] onStateChange(POST{uri=/test/post, connection=PooledConnection{channel=[id: 0xe9bfaba5, L:/127.0.0.1:40514 - R:localhost/127.0.0.1:8082]}}, [response_received])
2019-09-18 17:11:58.191 TRACE 10150 --- [or-http-epoll-6] o.s.c.g.filter.NettyWriteResponseFilter : NettyWriteResponseFilter start inbound: e9bfaba5, outbound: [9b850443]
2019-09-18 17:11:58.193 DEBUG 10150 --- [or-http-epoll-6] reactor.netty.channel.FluxReceive : [id: 0xe9bfaba5, L:/127.0.0.1:40514 - R:localhost/127.0.0.1:8082] Subscribing inbound receiver [pending: 0, cancelled:false, inboundDone: false]
2019-09-18 17:11:58.194 DEBUG 10150 --- [or-http-epoll-6] r.n.http.client.HttpClientOperations : [id: 0xe9bfaba5, L:/127.0.0.1:40514 - R:localhost/127.0.0.1:8082] Received last HTTP packet
2019-09-18 17:11:58.195 TRACE 10150 --- [or-http-epoll-6] reactor.netty.channel.ChannelOperations : [id: 0xe9bfaba5, L:/127.0.0.1:40514 - R:localhost/127.0.0.1:8082] Disposing ChannelOperation from a channel
java.lang.Exception: ChannelOperation terminal stack
at reactor.netty.channel.ChannelOperations.terminate(ChannelOperations.java:406) [reactor-netty-0.8.11.RELEASE.jar:0.8.11.RELEASE]
at reactor.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations.java:555) [reactor-netty-0.8.11.RELEASE.jar:0.8.11.RELEASE]
at reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:91) [reactor-netty-0.8.11.RELEASE.jar:0.8.11.RELEASE]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:438) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:328) [netty-codec-4.1.39.Final.jar:4.1.39.Final]
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:302) [netty-codec-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:253) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.handler.logging.LoggingHandler.channelRead(LoggingHandler.java:241) [netty-handler-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1421) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:930) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:794) [netty-transport-native-epoll-4.1.39.Final-linux-x86_64.jar:4.1.39.Final]
at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:424) [netty-transport-native-epoll-4.1.39.Final-linux-x86_64.jar:4.1.39.Final]
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:326) [netty-transport-native-epoll-4.1.39.Final-linux-x86_64.jar:4.1.39.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:918) [netty-common-4.1.39.Final.jar:4.1.39.Final]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-common-4.1.39.Final.jar:4.1.39.Final]
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [netty-common-4.1.39.Final.jar:4.1.39.Final]
at java.lang.Thread.run(Thread.java:748) [na:1.8.0_191]
2019-09-18 17:11:58.198 DEBUG 10150 --- [or-http-epoll-6] r.n.resources.PooledConnectionProvider : [id: 0xe9bfaba5, L:/127.0.0.1:40514 - R:localhost/127.0.0.1:8082] onStateChange(POST{uri=/test/post, connection=PooledConnection{channel=[id: 0xe9bfaba5, L:/127.0.0.1:40514 - R:localhost/127.0.0.1:8082]}}, [disconnecting])
2019-09-18 17:11:58.198 DEBUG 10150 --- [or-http-epoll-6] reactor.netty.http.client.HttpClient : [id: 0xe9bfaba5, L:/127.0.0.1:40514 - R:localhost/127.0.0.1:8082] CLOSE
2019-09-18 17:11:58.198 DEBUG 10150 --- [or-http-epoll-6] r.n.resources.PooledConnectionProvider : [id: 0xe9bfaba5, L:/127.0.0.1:40514 ! R:localhost/127.0.0.1:8082] Channel cleaned, now 0 active connections and 1 inactive connections
2019-09-18 17:11:58.199 DEBUG 10150 --- [or-http-epoll-6] r.n.resources.PooledConnectionProvider : [id: 0xe9bfaba5, L:/127.0.0.1:40514 ! R:localhost/127.0.0.1:8082] Channel closed, now 0 active connections and 0 inactive connections
2019-09-18 17:11:58.199 DEBUG 10150 --- [or-http-epoll-2] reactor.netty.http.server.HttpServer : [id: 0x9b850443, L:/127.0.0.1:9080 - R:/127.0.0.1:59782] WRITE: 47B
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 48 54 54 50 2f 31 2e 31 20 34 30 30 20 42 61 64 |HTTP/1.1 400 Bad|
|00000010| 20 52 65 71 75 65 73 74 0d 0a 63 6f 6e 74 65 6e | Request..conten|
|00000020| 74 2d 6c 65 6e 67 74 68 3a 20 30 0d 0a 0d 0a |t-length: 0.... |
+--------+-------------------------------------------------+----------------+
2019-09-18 17:11:58.199 DEBUG 10150 --- [or-http-epoll-6] reactor.netty.http.client.HttpClient : [id: 0xe9bfaba5, L:/127.0.0.1:40514 ! R:localhost/127.0.0.1:8082] READ COMPLETE
2019-09-18 17:11:58.199 DEBUG 10150 --- [or-http-epoll-2] r.n.http.server.HttpServerOperations : [id: 0x9b850443, L:/127.0.0.1:9080 - R:/127.0.0.1:59782] Decreasing pending responses, now 0
2019-09-18 17:11:58.199 DEBUG 10150 --- [or-http-epoll-6] reactor.netty.http.client.HttpClient : [id: 0xe9bfaba5, L:/127.0.0.1:40514 ! R:localhost/127.0.0.1:8082] INACTIVE
2019-09-18 17:11:58.199 DEBUG 10150 --- [or-http-epoll-2] reactor.netty.http.server.HttpServer : [id: 0x9b850443, L:/127.0.0.1:9080 - R:/127.0.0.1:59782] FLUSH
2019-09-18 17:11:58.199 DEBUG 10150 --- [or-http-epoll-6] r.n.resources.PooledConnectionProvider : [id: 0xe9bfaba5, L:/127.0.0.1:40514 ! R:localhost/127.0.0.1:8082] onStateChange(PooledConnection{channel=[id: 0xe9bfaba5, L:/127.0.0.1:40514 ! R:localhost/127.0.0.1:8082]}, [disconnecting])
2019-09-18 17:11:58.199 DEBUG 10150 --- [or-http-epoll-6] reactor.netty.http.client.HttpClient : [id: 0xe9bfaba5, L:/127.0.0.1:40514 ! R:localhost/127.0.0.1:8082] UNREGISTERED
2019-09-18 17:11:58.201 DEBUG 10150 --- [or-http-epoll-2] r.n.http.server.HttpServerOperations : [id: 0x9b850443, L:/127.0.0.1:9080 - R:/127.0.0.1:59782] Last HTTP response frame
2019-09-18 17:11:58.201 DEBUG 10150 --- [or-http-epoll-2] r.n.http.server.HttpServerOperations : [id: 0x9b850443, L:/127.0.0.1:9080 - R:/127.0.0.1:59782] Last HTTP packet was sent, terminating the channel
2019-09-18 17:11:58.201 TRACE 10150 --- [or-http-epoll-2] reactor.netty.channel.ChannelOperations : [id: 0x9b850443, L:/127.0.0.1:9080 - R:/127.0.0.1:59782] Disposing ChannelOperation from a channel
java.lang.Exception: ChannelOperation terminal stack
at reactor.netty.channel.ChannelOperations.terminate(ChannelOperations.java:406) [reactor-netty-0.8.11.RELEASE.jar:0.8.11.RELEASE]
at reactor.netty.http.server.HttpServerOperations.cleanHandlerTerminate(HttpServerOperations.java:526) [reactor-netty-0.8.11.RELEASE.jar:0.8.11.RELEASE]
at reactor.netty.http.server.HttpTrafficHandler.operationComplete(HttpTrafficHandler.java:314) [reactor-netty-0.8.11.RELEASE.jar:0.8.11.RELEASE]
at reactor.netty.http.server.HttpTrafficHandler.operationComplete(HttpTrafficHandler.java:54) [reactor-netty-0.8.11.RELEASE.jar:0.8.11.RELEASE]
at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:500) [netty-common-4.1.39.Final.jar:4.1.39.Final]
at io.netty.util.concurrent.DefaultPromise.notifyListeners0(DefaultPromise.java:493) [netty-common-4.1.39.Final.jar:4.1.39.Final]
at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:472) [netty-common-4.1.39.Final.jar:4.1.39.Final]
at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:413) [netty-common-4.1.39.Final.jar:4.1.39.Final]
at io.netty.util.concurrent.DefaultPromise.setValue0(DefaultPromise.java:538) [netty-common-4.1.39.Final.jar:4.1.39.Final]
at io.netty.util.concurrent.DefaultPromise.setSuccess0(DefaultPromise.java:527) [netty-common-4.1.39.Final.jar:4.1.39.Final]
at io.netty.util.concurrent.DefaultPromise.trySuccess(DefaultPromise.java:98) [netty-common-4.1.39.Final.jar:4.1.39.Final]
at io.netty.util.internal.PromiseNotificationUtil.trySuccess(PromiseNotificationUtil.java:48) [netty-common-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.ChannelOutboundBuffer.safeSuccess(ChannelOutboundBuffer.java:715) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.ChannelOutboundBuffer.remove(ChannelOutboundBuffer.java:270) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.ChannelOutboundBuffer.removeBytes(ChannelOutboundBuffer.java:350) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.epoll.AbstractEpollChannel.doWriteBytes(AbstractEpollChannel.java:358) [netty-transport-native-epoll-4.1.39.Final-linux-x86_64.jar:4.1.39.Final]
at io.netty.channel.epoll.AbstractEpollStreamChannel.writeBytes(AbstractEpollStreamChannel.java:260) [netty-transport-native-epoll-4.1.39.Final-linux-x86_64.jar:4.1.39.Final]
at io.netty.channel.epoll.AbstractEpollStreamChannel.doWriteSingle(AbstractEpollStreamChannel.java:471) [netty-transport-native-epoll-4.1.39.Final-linux-x86_64.jar:4.1.39.Final]
at io.netty.channel.epoll.AbstractEpollStreamChannel.doWrite(AbstractEpollStreamChannel.java:429) [netty-transport-native-epoll-4.1.39.Final-linux-x86_64.jar:4.1.39.Final]
at io.netty.channel.AbstractChannel$AbstractUnsafe.flush0(AbstractChannel.java:928) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.flush0(AbstractEpollChannel.java:514) [netty-transport-native-epoll-4.1.39.Final-linux-x86_64.jar:4.1.39.Final]
at io.netty.channel.AbstractChannel$AbstractUnsafe.flush(AbstractChannel.java:895) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.DefaultChannelPipeline$HeadContext.flush(DefaultChannelPipeline.java:1383) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:749) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush(AbstractChannelHandlerContext.java:741) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.AbstractChannelHandlerContext.flush(AbstractChannelHandlerContext.java:727) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.handler.logging.LoggingHandler.flush(LoggingHandler.java:265) [netty-handler-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:749) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush(AbstractChannelHandlerContext.java:741) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.AbstractChannelHandlerContext.flush(AbstractChannelHandlerContext.java:727) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.flush(CombinedChannelDuplexHandler.java:533) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.ChannelOutboundHandlerAdapter.flush(ChannelOutboundHandlerAdapter.java:125) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.CombinedChannelDuplexHandler.flush(CombinedChannelDuplexHandler.java:358) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:749) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush(AbstractChannelHandlerContext.java:741) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.AbstractChannelHandlerContext.flush(AbstractChannelHandlerContext.java:727) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.ChannelDuplexHandler.flush(ChannelDuplexHandler.java:127) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:749) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush(AbstractChannelHandlerContext.java:741) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.AbstractChannelHandlerContext.access$2100(AbstractChannelHandlerContext.java:56) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.AbstractChannelHandlerContext$WriteAndFlushTask.write(AbstractChannelHandlerContext.java:1150) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTask.run(AbstractChannelHandlerContext.java:1073) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) [netty-common-4.1.39.Final.jar:4.1.39.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:416) [netty-common-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:331) [netty-transport-native-epoll-4.1.39.Final-linux-x86_64.jar:4.1.39.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:918) [netty-common-4.1.39.Final.jar:4.1.39.Final]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-common-4.1.39.Final.jar:4.1.39.Final]
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [netty-common-4.1.39.Final.jar:4.1.39.Final]
at java.lang.Thread.run(Thread.java:748) [na:1.8.0_191]
2019-09-18 17:11:58.600 DEBUG 10150 --- [or-http-epoll-2] reactor.netty.http.server.HttpServer : [id: 0x9b850443, L:/127.0.0.1:9080 - R:/127.0.0.1:59782] READ COMPLETE
2019-09-18 17:11:58.602 DEBUG 10150 --- [or-http-epoll-2] reactor.netty.http.server.HttpServer : [id: 0x9b850443, L:/127.0.0.1:9080 ! R:/127.0.0.1:59782] INACTIVE
2019-09-18 17:11:58.602 DEBUG 10150 --- [or-http-epoll-2] reactor.netty.http.server.HttpServer : [id: 0x9b850443, L:/127.0.0.1:9080 ! R:/127.0.0.1:59782] UNREGISTERED
2019-09-18 17:13:29.691 DEBUG 10150 --- [or-http-epoll-7] r.n.http.server.HttpServerOperations : [id: 0xe5cc0cd6, L:/127.0.0.1:9080 - R:/127.0.0.1:60124] New http connection, requesting read
2019-09-18 17:13:29.691 DEBUG 10150 --- [or-http-epoll-7] reactor.netty.channel.BootstrapHandlers : [id: 0xe5cc0cd6, L:/127.0.0.1:9080 - R:/127.0.0.1:60124] Initialized pipeline DefaultChannelPipeline{(reactor.left.loggingHandler = io.netty.handler.logging.LoggingHandler), (BootstrapHandlers$BootstrapInitializerHandler#0 = reactor.netty.channel.BootstrapHandlers$BootstrapInitializerHandler), (reactor.left.httpCodec = io.netty.handler.codec.http.HttpServerCodec), (reactor.left.httpTrafficHandler = reactor.netty.http.server.HttpTrafficHandler), (reactor.right.reactiveBridge = reactor.netty.channel.ChannelOperationsHandler)}
2019-09-18 17:13:29.691 DEBUG 10150 --- [or-http-epoll-7] reactor.netty.http.server.HttpServer : [id: 0xe5cc0cd6, L:/127.0.0.1:9080 - R:/127.0.0.1:60124] REGISTERED
2019-09-18 17:13:29.691 DEBUG 10150 --- [or-http-epoll-7] reactor.netty.http.server.HttpServer : [id: 0xe5cc0cd6, L:/127.0.0.1:9080 - R:/127.0.0.1:60124] ACTIVE
2019-09-18 17:13:29.692 DEBUG 10150 --- [or-http-epoll-7] reactor.netty.http.server.HttpServer : [id: 0xe5cc0cd6, L:/127.0.0.1:9080 - R:/127.0.0.1:60124] READ: 1024B
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 50 4f 53 54 20 2f 67 77 2f 74 65 73 74 2f 70 6f |POST /gw/test/po|
|00000010| 73 74 20 48 54 54 50 2f 31 2e 31 0d 0a 41 63 63 |st HTTP/1.1..Acc|
|00000020| 65 70 74 3a 20 74 65 78 74 2f 70 6c 61 69 6e 2c |ept: text/plain,|
|00000030| 20 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f | application/jso|
|00000040| 6e 2c 20 61 70 70 6c 69 63 61 74 69 6f 6e 2f 2a |n, application/*|
|00000050| 2b 6a 73 6f 6e 2c 20 2a 2f 2a 0d 0a 43 6f 6e 74 |+json, */*..Cont|
|00000060| 65 6e 74 2d 54 79 70 65 3a 20 6d 75 6c 74 69 70 |ent-Type: multip|
|00000070| 61 72 74 2f 66 6f 72 6d 2d 64 61 74 61 3b 63 68 |art/form-data;ch|
|00000080| 61 72 73 65 74 3d 55 54 46 2d 38 3b 62 6f 75 6e |arset=UTF-8;boun|
|00000090| 64 61 72 79 3d 77 4b 6a 6f 6b 5a 77 6d 46 75 44 |dary=wKjokZwmFuD|
|000000a0| 58 38 64 7a 63 4c 6d 6d 54 6f 78 71 4b 32 4f 62 |X8dzcLmmToxqK2Ob|
|000000b0| 35 6b 59 43 74 36 6a 4f 6f 58 2d 72 79 0d 0a 55 |5kYCt6jOoX-ry..U|
|000000c0| 73 65 72 2d 41 67 65 6e 74 3a 20 4a 61 76 61 2f |ser-Agent: Java/|
|000000d0| 31 2e 38 2e 30 5f 31 39 31 0d 0a 48 6f 73 74 3a |1.8.0_191..Host:|
|000000e0| 20 6c 6f 63 61 6c 68 6f 73 74 3a 39 30 38 30 0d | localhost:9080.|
|000000f0| 0a 43 6f 6e 6e 65 63 74 69 6f 6e 3a 20 6b 65 65 |.Connection: kee|
|00000100| 70 2d 61 6c 69 76 65 0d 0a 43 6f 6e 74 65 6e 74 |p-alive..Content|
|00000110| 2d 4c 65 6e 67 74 68 3a 20 39 34 31 0d 0a 0d 0a |-Length: 941....|
|00000120| 2d 2d 77 4b 6a 6f 6b 5a 77 6d 46 75 44 58 38 64 |--wKjokZwmFuDX8d|
|00000130| 7a 63 4c 6d 6d 54 6f 78 71 4b 32 4f 62 35 6b 59 |zcLmmToxqK2Ob5kY|
|00000140| 43 74 36 6a 4f 6f 58 2d 72 79 0d 0a 43 6f 6e 74 |Ct6jOoX-ry..Cont|
|00000150| 65 6e 74 2d 44 69 73 70 6f 73 69 74 69 6f 6e 3a |ent-Disposition:|
|00000160| 20 66 6f 72 6d 2d 64 61 74 61 3b 20 6e 61 6d 65 | form-data; name|
|00000170| 3d 22 66 69 6c 65 22 3b 20 66 69 6c 65 6e 61 6d |="file"; filenam|
|00000180| 65 3d 22 74 65 73 74 2e 74 78 74 22 0d 0a 43 6f |e="test.txt"..Co|
|00000190| 6e 74 65 6e 74 2d 54 79 70 65 3a 20 74 65 78 74 |ntent-Type: text|
|000001a0| 2f 70 6c 61 69 6e 0d 0a 43 6f 6e 74 65 6e 74 2d |/plain..Content-|
|000001b0| 4c 65 6e 67 74 68 3a 20 37 33 34 0d 0a 0d 0a 54 |Length: 734....T|
|000001c0| 65 73 74 46 69 6c 65 20 63 6f 6e 74 65 6e 74 20 |estFile content |
|000001d0| 66 6f 72 20 6d 75 6c 74 69 70 61 72 74 20 72 65 |for multipart re|
|000001e0| 71 75 65 73 74 20 74 65 73 74 2e 0a c2 bc 73 63 |quest test....sc|
|000001f0| 72 69 70 74 c2 be 61 6c 65 72 74 28 c2 a2 58 53 |ript..alert(..XS|
|00000200| 53 c2 a2 29 c2 bc 2f 73 63 72 69 70 74 c2 be 0a |S..)../script...|
|00000210| 27 20 55 4e 49 4f 4e 20 53 45 4c 45 43 54 20 31 |' UNION SELECT 1|
|00000220| 2c 20 27 61 6e 6f 74 68 65 72 63 6f 6c 75 6d 6e |, 'anothercolumn|
|00000230| 27 2c 20 27 64 6f 65 73 6e 74 20 6d 61 74 74 65 |', 'doesnt matte|
|00000240| 72 27 2c 20 31 2d 2d 0a 56 61 6c 75 65 4c 44 41 |r', 1--.ValueLDA|
|00000250| 50 29 28 7c 28 63 6e 3d 2a 29 0a 3c 3f 78 6d 6c |P)(|(cn=*).<?xml|
|00000260| 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 20 65 | version="1.0" e|
|00000270| 6e 63 6f 64 69 6e 67 3d 22 49 53 4f 2d 38 38 35 |ncoding="ISO-885|
|00000280| 39 2d 31 22 3f 3e 20 3c 21 44 4f 43 54 59 50 45 |9-1"?> <!DOCTYPE|
|00000290| 20 66 6f 6f 20 5b 20 3c 21 45 4c 45 4d 45 4e 54 | foo [ <!ELEMENT|
|000002a0| 20 66 6f 6f 20 41 4e 59 20 3e 20 3c 21 45 4e 54 | foo ANY > <!ENT|
|000002b0| 49 54 59 20 78 78 65 20 53 59 53 54 45 4d 20 22 |ITY xxe SYSTEM "|
|000002c0| 66 69 6c 65 3a 2f 2f 2f 65 74 63 2f 70 61 73 73 |file:///etc/pass|
|000002d0| 77 64 22 20 3e 5d 3e 3c 66 6f 6f 3e 26 78 78 65 |wd" >]><foo>&xxe|
|000002e0| 3b 3c 2f 66 6f 6f 3e 20 3c 3f 78 6d 6c 20 76 65 |;</foo> <?xml ve|
|000002f0| 72 73 69 6f 6e 3d 22 31 2e 30 22 20 65 6e 63 6f |rsion="1.0" enco|
|00000300| 64 69 6e 67 3d 22 49 53 4f 2d 38 38 35 39 2d 31 |ding="ISO-8859-1|
|00000310| 22 3f 3e 20 3c 21 44 4f 43 54 59 50 45 20 66 6f |"?> <!DOCTYPE fo|
|00000320| 6f 20 5b 20 3c 21 45 4c 45 4d 45 4e 54 20 66 6f |o [ <!ELEMENT fo|
|00000330| 6f 20 41 4e 59 20 3e 20 3c 21 45 4e 54 49 54 59 |o ANY > <!ENTITY|
|00000340| 20 78 78 65 20 53 59 53 54 45 4d 20 22 66 69 6c | xxe SYSTEM "fil|
|00000350| 65 3a 2f 2f 2f 65 74 63 2f 73 68 61 64 6f 77 22 |e:///etc/shadow"|
|00000360| 20 3e 5d 3e 3c 66 6f 6f 3e 26 78 78 65 3b 3c 2f | >]><foo>&xxe;</|
|00000370| 66 6f 6f 3e 20 3c 3f 78 6d 6c 20 76 65 72 73 69 |foo> <?xml versi|
|00000380| 6f 6e 3d 22 31 2e 30 22 20 65 6e 63 6f 64 69 6e |on="1.0" encodin|
|00000390| 67 3d 22 49 53 4f 2d 38 38 35 39 2d 31 22 3f 3e |g="ISO-8859-1"?>|
|000003a0| 20 3c 21 44 4f 43 54 59 50 45 20 66 6f 6f 20 5b | <!DOCTYPE foo [|
|000003b0| 20 3c 21 45 4c 45 4d 45 4e 54 20 66 6f 6f 20 41 | <!ELEMENT foo A|
|000003c0| 4e 59 20 3e 20 3c 21 45 4e 54 49 54 59 20 78 78 |NY > <!ENTITY xx|
|000003d0| 65 20 53 59 53 54 45 4d 20 22 66 69 6c 65 3a 2f |e SYSTEM "file:/|
|000003e0| 2f 2f 63 3a 2f 62 6f 6f 74 2e 69 6e 69 22 20 3e |//c:/boot.ini" >|
|000003f0| 5d 3e 3c 66 6f 6f 3e 26 78 78 65 3b 3c 2f 66 6f |]><foo>&xxe;</fo|
+--------+-------------------------------------------------+----------------+
2019-09-18 17:13:29.692 DEBUG 10150 --- [or-http-epoll-7] r.n.http.server.HttpServerOperations : [id: 0xe5cc0cd6, L:/127.0.0.1:9080 - R:/127.0.0.1:60124] Increasing pending responses, now 1
2019-09-18 17:13:29.692 DEBUG 10150 --- [or-http-epoll-7] reactor.netty.http.server.HttpServer : [id: 0xe5cc0cd6, L:/127.0.0.1:9080 - R:/127.0.0.1:60124] Handler is being applied: org.springframework.http.server.reactive.ReactorHttpHandlerAdapter@4bc69b6d
2019-09-18 17:13:29.692 TRACE 10150 --- [or-http-epoll-7] o.s.c.g.f.WeightCalculatorWebFilter : Weights attr: {}
2019-09-18 17:13:29.693 TRACE 10150 --- [or-http-epoll-7] o.s.c.g.h.p.RoutePredicateFactory : Pattern "/gw/**" matches against value "/gw/test/post"
2019-09-18 17:13:29.693 DEBUG 10150 --- [or-http-epoll-7] o.s.c.g.h.RoutePredicateHandlerMapping : Route matched: test
2019-09-18 17:13:29.693 DEBUG 10150 --- [or-http-epoll-7] o.s.c.g.h.RoutePredicateHandlerMapping : Mapping [Exchange: POST http://localhost:9080/gw/test/post] to Route{id='test', uri=http://localhost:8082, order=0, predicate=Paths: [/gw/**], match trailing slash: true, gatewayFilters=[[[StripPrefix parts = 1], order = 1]]}
2019-09-18 17:13:29.693 DEBUG 10150 --- [or-http-epoll-7] o.s.c.g.h.RoutePredicateHandlerMapping : [e5cc0cd6] Mapped to org.springframework.cloud.gateway.handler.FilteringWebHandler@41416348
2019-09-18 17:13:29.693 DEBUG 10150 --- [or-http-epoll-7] o.s.c.g.handler.FilteringWebHandler : Sorted gatewayFilterFactories: [[GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.RemoveCachedBodyFilter@30404dba}, order = -2147483648], [GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.AdaptCachedBodyGlobalFilter@c4c0b41}, order = -2147482648], [GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.NettyWriteResponseFilter@340b7ef6}, order = -1], [GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.ForwardPathFilter@231baf51}, order = 0], [[StripPrefix parts = 1], order = 1], [GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.RouteToRequestUrlFilter@6050462a}, order = 10000], [GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.config.GatewayNoLoadBalancerClientAutoConfiguration$NoLoadBalancerClientFilter@73877e19}, order = 10100], [GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.WebsocketRoutingFilter@11841b15}, order = 2147483646], [GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.NettyRoutingFilter@11a7ba62}, order = 2147483647], [GatewayFilterAdapter{delegate=org.springframework.cloud.gateway.filter.ForwardRoutingFilter@4c0884e8}, order = 2147483647]]
2019-09-18 17:13:29.694 TRACE 10150 --- [or-http-epoll-7] o.s.c.g.filter.RouteToRequestUrlFilter : RouteToRequestUrlFilter start
2019-09-18 17:13:29.695 DEBUG 10150 --- [or-http-epoll-7] r.n.resources.PooledConnectionProvider : [id: 0x071f9375] Created new pooled channel, now 0 active connections and 1 inactive connections
2019-09-18 17:13:29.695 DEBUG 10150 --- [or-http-epoll-7] reactor.netty.channel.BootstrapHandlers : [id: 0x071f9375] Initialized pipeline DefaultChannelPipeline{(reactor.left.loggingHandler = io.netty.handler.logging.LoggingHandler), (BootstrapHandlers$BootstrapInitializerHandler#0 = reactor.netty.channel.BootstrapHandlers$BootstrapInitializerHandler), (SimpleChannelPool$1#0 = io.netty.channel.pool.SimpleChannelPool$1), (reactor.left.httpCodec = io.netty.handler.codec.http.HttpClientCodec), (reactor.right.reactiveBridge = reactor.netty.channel.ChannelOperationsHandler)}
2019-09-18 17:13:29.695 DEBUG 10150 --- [or-http-epoll-7] reactor.netty.http.client.HttpClient : [id: 0x071f9375] REGISTERED
2019-09-18 17:13:29.695 DEBUG 10150 --- [or-http-epoll-7] reactor.netty.http.server.HttpServer : [id: 0xe5cc0cd6, L:/127.0.0.1:9080 - R:/127.0.0.1:60124] READ COMPLETE
2019-09-18 17:13:29.695 DEBUG 10150 --- [or-http-epoll-7] reactor.netty.http.client.HttpClient : [id: 0x071f9375] CONNECT: localhost/127.0.0.1:8082
2019-09-18 17:13:29.696 DEBUG 10150 --- [or-http-epoll-7] r.n.resources.PooledConnectionProvider : [id: 0x071f9375, L:/127.0.0.1:40856 - R:localhost/127.0.0.1:8082] Registering pool release on close event for channel
2019-09-18 17:13:29.696 DEBUG 10150 --- [or-http-epoll-7] r.n.resources.PooledConnectionProvider : [id: 0x071f9375, L:/127.0.0.1:40856 - R:localhost/127.0.0.1:8082] Channel connected, now 1 active connections and 0 inactive connections
2019-09-18 17:13:29.696 DEBUG 10150 --- [or-http-epoll-7] reactor.netty.http.client.HttpClient : [id: 0x071f9375, L:/127.0.0.1:40856 - R:localhost/127.0.0.1:8082] ACTIVE
2019-09-18 17:13:29.696 DEBUG 10150 --- [or-http-epoll-7] r.n.resources.PooledConnectionProvider : [id: 0x071f9375, L:/127.0.0.1:40856 - R:localhost/127.0.0.1:8082] onStateChange(PooledConnection{channel=[id: 0x071f9375, L:/127.0.0.1:40856 - R:localhost/127.0.0.1:8082]}, [connected])
2019-09-18 17:13:29.696 DEBUG 10150 --- [or-http-epoll-7] r.n.resources.PooledConnectionProvider : [id: 0x071f9375, L:/127.0.0.1:40856 - R:localhost/127.0.0.1:8082] onStateChange(GET{uri=/, connection=PooledConnection{channel=[id: 0x071f9375, L:/127.0.0.1:40856 - R:localhost/127.0.0.1:8082]}}, [configured])
2019-09-18 17:13:29.696 DEBUG 10150 --- [or-http-epoll-7] r.netty.http.client.HttpClientConnect : [id: 0x071f9375, L:/127.0.0.1:40856 - R:localhost/127.0.0.1:8082] Handler is being applied: {uri=http://localhost:8082/test/post, method=POST}
2019-09-18 17:13:29.696 TRACE 10150 --- [or-http-epoll-7] o.s.c.gateway.filter.NettyRoutingFilter : outbound route: 071f9375, inbound: [e5cc0cd6]
2019-09-18 17:13:29.697 DEBUG 10150 --- [or-http-epoll-7] reactor.netty.http.client.HttpClient : [id: 0x071f9375, L:/127.0.0.1:40856 - R:localhost/127.0.0.1:8082] WRITE: 464B
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 50 4f 53 54 20 2f 74 65 73 74 2f 70 6f 73 74 20 |POST /test/post |
|00000010| 48 54 54 50 2f 31 2e 31 0d 0a 55 73 65 72 2d 41 |HTTP/1.1..User-A|
|00000020| 67 65 6e 74 3a 20 4a 61 76 61 2f 31 2e 38 2e 30 |gent: Java/1.8.0|
|00000030| 5f 31 39 31 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 |_191..Content-Ty|
|00000040| 70 65 3a 20 6d 75 6c 74 69 70 61 72 74 2f 66 6f |pe: multipart/fo|
|00000050| 72 6d 2d 64 61 74 61 3b 63 68 61 72 73 65 74 3d |rm-data;charset=|
|00000060| 55 54 46 2d 38 3b 62 6f 75 6e 64 61 72 79 3d 77 |UTF-8;boundary=w|
|00000070| 4b 6a 6f 6b 5a 77 6d 46 75 44 58 38 64 7a 63 4c |KjokZwmFuDX8dzcL|
|00000080| 6d 6d 54 6f 78 71 4b 32 4f 62 35 6b 59 43 74 36 |mmToxqK2Ob5kYCt6|
|00000090| 6a 4f 6f 58 2d 72 79 0d 0a 41 63 63 65 70 74 3a |jOoX-ry..Accept:|
|000000a0| 20 74 65 78 74 2f 70 6c 61 69 6e 2c 20 61 70 70 | text/plain, app|
|000000b0| 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 2c 20 61 |lication/json, a|
|000000c0| 70 70 6c 69 63 61 74 69 6f 6e 2f 2a 2b 6a 73 6f |pplication/*+jso|
|000000d0| 6e 2c 20 2a 2f 2a 0d 0a 43 6f 6e 74 65 6e 74 2d |n, */*..Content-|
|000000e0| 4c 65 6e 67 74 68 3a 20 39 34 31 0d 0a 46 6f 72 |Length: 941..For|
|000000f0| 77 61 72 64 65 64 3a 20 70 72 6f 74 6f 3d 68 74 |warded: proto=ht|
|00000100| 74 70 3b 68 6f 73 74 3d 22 6c 6f 63 61 6c 68 6f |tp;host="localho|
|00000110| 73 74 3a 39 30 38 30 22 3b 66 6f 72 3d 22 31 32 |st:9080";for="12|
|00000120| 37 2e 30 2e 30 2e 31 3a 36 30 31 32 34 22 0d 0a |7.0.0.1:60124"..|
|00000130| 58 2d 46 6f 72 77 61 72 64 65 64 2d 46 6f 72 3a |X-Forwarded-For:|
|00000140| 20 31 32 37 2e 30 2e 30 2e 31 0d 0a 58 2d 46 6f | 127.0.0.1..X-Fo|
|00000150| 72 77 61 72 64 65 64 2d 50 72 6f 74 6f 3a 20 68 |rwarded-Proto: h|
|00000160| 74 74 70 0d 0a 58 2d 46 6f 72 77 61 72 64 65 64 |ttp..X-Forwarded|
|00000170| 2d 50 72 65 66 69 78 3a 20 2f 67 77 0d 0a 58 2d |-Prefix: /gw..X-|
|00000180| 46 6f 72 77 61 72 64 65 64 2d 50 6f 72 74 3a 20 |Forwarded-Port: |
|00000190| 39 30 38 30 0d 0a 58 2d 46 6f 72 77 61 72 64 65 |9080..X-Forwarde|
|000001a0| 64 2d 48 6f 73 74 3a 20 6c 6f 63 61 6c 68 6f 73 |d-Host: localhos|
|000001b0| 74 3a 39 30 38 30 0d 0a 68 6f 73 74 3a 20 6c 6f |t:9080..host: lo|
/|000001c0| 63 61 6c 68 6f 73 74 3a 38 30 38 32 0d 0a 0d 0a |calhost:8082....|
+--------+-------------------------------------------------+----------------+
2019-09-18 17:13:29.697 DEBUG 10150 --- [or-http-epoll-7] reactor.netty.http.client.HttpClient : [id: 0x071f9375, L:/127.0.0.1:40856 - R:localhost/127.0.0.1:8082] FLUSH
2019-09-18 17:13:29.697 DEBUG 10150 --- [or-http-epoll-7] reactor.netty.channel.FluxReceive : [id: 0xe5cc0cd6, L:/127.0.0.1:9080 - R:/127.0.0.1:60124] Subscribing inbound receiver [pending: 1, cancelled:false, inboundDone: false]
2019-09-18 17:13:29.697 DEBUG 10150 --- [or-http-epoll-7] reactor.netty.http.client.HttpClient : [id: 0x071f9375, L:/127.0.0.1:40856 - R:localhost/127.0.0.1:8082] WRITE: 736B
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 2d 2d 77 4b 6a 6f 6b 5a 77 6d 46 75 44 58 38 64 |--wKjokZwmFuDX8d|
|00000010| 7a 63 4c 6d 6d 54 6f 78 71 4b 32 4f 62 35 6b 59 |zcLmmToxqK2Ob5kY|
|00000020| 43 74 36 6a 4f 6f 58 2d 72 79 0d 0a 43 6f 6e 74 |Ct6jOoX-ry..Cont|
|00000030| 65 6e 74 2d 44 69 73 70 6f 73 69 74 69 6f 6e 3a |ent-Disposition:|
|00000040| 20 66 6f 72 6d 2d 64 61 74 61 3b 20 6e 61 6d 65 | form-data; name|
|00000050| 3d 22 66 69 6c 65 22 3b 20 66 69 6c 65 6e 61 6d |="file"; filenam|
|00000060| 65 3d 22 74 65 73 74 2e 74 78 74 22 0d 0a 43 6f |e="test.txt"..Co|
|00000070| 6e 74 65 6e 74 2d 54 79 70 65 3a 20 74 65 78 74 |ntent-Type: text|
|00000080| 2f 70 6c 61 69 6e 0d 0a 43 6f 6e 74 65 6e 74 2d |/plain..Content-|
|00000090| 4c 65 6e 67 74 68 3a 20 37 33 34 0d 0a 0d 0a 54 |Length: 734....T|
|000000a0| 65 73 74 46 69 6c 65 20 63 6f 6e 74 65 6e 74 20 |estFile content |
|000000b0| 66 6f 72 20 6d 75 6c 74 69 70 61 72 74 20 72 65 |for multipart re|
|000000c0| 71 75 65 73 74 20 74 65 73 74 2e 0a c2 bc 73 63 |quest test....sc|
|000000d0| 72 69 70 74 c2 be 61 6c 65 72 74 28 c2 a2 58 53 |ript..alert(..XS|
|000000e0| 53 c2 a2 29 c2 bc 2f 73 63 72 69 70 74 c2 be 0a |S..)../script...|
|000000f0| 27 20 55 4e 49 4f 4e 20 53 45 4c 45 43 54 20 31 |' UNION SELECT 1|
|00000100| 2c 20 27 61 6e 6f 74 68 65 72 63 6f 6c 75 6d 6e |, 'anothercolumn|
|00000110| 27 2c 20 27 64 6f 65 73 6e 74 20 6d 61 74 74 65 |', 'doesnt matte|
|00000120| 72 27 2c 20 31 2d 2d 0a 56 61 6c 75 65 4c 44 41 |r', 1--.ValueLDA|
|00000130| 50 29 28 7c 28 63 6e 3d 2a 29 0a 3c 3f 78 6d 6c |P)(|(cn=*).<?xml|
|00000140| 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 20 65 | version="1.0" e|
|00000150| 6e 63 6f 64 69 6e 67 3d 22 49 53 4f 2d 38 38 35 |ncoding="ISO-885|
|00000160| 39 2d 31 22 3f 3e 20 3c 21 44 4f 43 54 59 50 45 |9-1"?> <!DOCTYPE|
|00000170| 20 66 6f 6f 20 5b 20 3c 21 45 4c 45 4d 45 4e 54 | foo [ <!ELEMENT|
|00000180| 20 66 6f 6f 20 41 4e 59 20 3e 20 3c 21 45 4e 54 | foo ANY > <!ENT|
|00000190| 49 54 59 20 78 78 65 20 53 59 53 54 45 4d 20 22 |ITY xxe SYSTEM "|
|000001a0| 66 69 6c 65 3a 2f 2f 2f 65 74 63 2f 70 61 73 73 |file:///etc/pass|
|000001b0| 77 64 22 20 3e 5d 3e 3c 66 6f 6f 3e 26 78 78 65 |wd" >]><foo>&xxe|
|000001c0| 3b 3c 2f 66 6f 6f 3e 20 3c 3f 78 6d 6c 20 76 65 |;</foo> <?xml ve|
|000001d0| 72 73 69 6f 6e 3d 22 31 2e 30 22 20 65 6e 63 6f |rsion="1.0" enco|
|000001e0| 64 69 6e 67 3d 22 49 53 4f 2d 38 38 35 39 2d 31 |ding="ISO-8859-1|
|000001f0| 22 3f 3e 20 3c 21 44 4f 43 54 59 50 45 20 66 6f |"?> <!DOCTYPE fo|
|00000200| 6f 20 5b 20 3c 21 45 4c 45 4d 45 4e 54 20 66 6f |o [ <!ELEMENT fo|
|00000210| 6f 20 41 4e 59 20 3e 20 3c 21 45 4e 54 49 54 59 |o ANY > <!ENTITY|
|00000220| 20 78 78 65 20 53 59 53 54 45 4d 20 22 66 69 6c | xxe SYSTEM "fil|
|00000230| 65 3a 2f 2f 2f 65 74 63 2f 73 68 61 64 6f 77 22 |e:///etc/shadow"|
|00000240| 20 3e 5d 3e 3c 66 6f 6f 3e 26 78 78 65 3b 3c 2f | >]><foo>&xxe;</|
|00000250| 66 6f 6f 3e 20 3c 3f 78 6d 6c 20 76 65 72 73 69 |foo> <?xml versi|
|00000260| 6f 6e 3d 22 31 2e 30 22 20 65 6e 63 6f 64 69 6e |on="1.0" encodin|
|00000270| 67 3d 22 49 53 4f 2d 38 38 35 39 2d 31 22 3f 3e |g="ISO-8859-1"?>|
|00000280| 20 3c 21 44 4f 43 54 59 50 45 20 66 6f 6f 20 5b | <!DOCTYPE foo [|
|00000290| 20 3c 21 45 4c 45 4d 45 4e 54 20 66 6f 6f 20 41 | <!ELEMENT foo A|
|000002a0| 4e 59 20 3e 20 3c 21 45 4e 54 49 54 59 20 78 78 |NY > <!ENTITY xx|
|000002b0| 65 20 53 59 53 54 45 4d 20 22 66 69 6c 65 3a 2f |e SYSTEM "file:/|
|000002c0| 2f 2f 63 3a 2f 62 6f 6f 74 2e 69 6e 69 22 20 3e |//c:/boot.ini" >|
|000002d0| 5d 3e 3c 66 6f 6f 3e 26 78 78 65 3b 3c 2f 66 6f |]><foo>&xxe;</fo|
+--------+-------------------------------------------------+----------------+
2019-09-18 17:13:29.697 DEBUG 10150 --- [or-http-epoll-7] reactor.netty.http.client.HttpClient : [id: 0x071f9375, L:/127.0.0.1:40856 - R:localhost/127.0.0.1:8082] FLUSH
2019-09-18 17:13:29.697 DEBUG 10150 --- [or-http-epoll-7] reactor.netty.http.server.HttpServer : [id: 0xe5cc0cd6, L:/127.0.0.1:9080 - R:/127.0.0.1:60124] READ: 205B
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 6f 3e 20 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e |o> <?xml version|
|00000010| 3d 22 31 2e 30 22 20 65 6e 63 6f 64 69 6e 67 3d |="1.0" encoding=|
|00000020| 22 49 53 4f 2d 38 38 35 39 2d 31 22 3f 3e 20 3c |"ISO-8859-1"?> <|
|00000030| 21 44 4f 43 54 59 50 45 20 66 6f 6f 20 5b 20 3c |!DOCTYPE foo [ <|
|00000040| 21 45 4c 45 4d 45 4e 54 20 66 6f 6f 20 41 4e 59 |!ELEMENT foo ANY|
|00000050| 20 3e 20 3c 21 45 4e 54 49 54 59 20 78 78 65 20 | > <!ENTITY xxe |
|00000060| 53 59 53 54 45 4d 20 22 68 74 74 70 3a 2f 2f 77 |SYSTEM "http://w|
|00000070| 77 77 2e 61 74 74 61 63 6b 65 72 2e 63 6f 6d 2f |ww.attacker.com/|
|00000080| 74 65 78 74 2e 74 78 74 22 20 3e 5d 3e 3c 66 6f |text.txt" >]><fo|
|00000090| 6f 3e 26 78 78 65 3b 3c 2f 66 6f 6f 3e 0d 0a 2d |o>&xxe;</foo>..-|
|000000a0| 2d 77 4b 6a 6f 6b 5a 77 6d 46 75 44 58 38 64 7a |-wKjokZwmFuDX8dz|
|000000b0| 63 4c 6d 6d 54 6f 78 71 4b 32 4f 62 35 6b 59 43 |cLmmToxqK2Ob5kYC|
|000000c0| 74 36 6a 4f 6f 58 2d 72 79 2d 2d 0d 0a |t6jOoX-ry--.. |
+--------+-------------------------------------------------+----------------+
2019-09-18 17:13:29.699 DEBUG 10150 --- [or-http-epoll-7] reactor.netty.http.client.HttpClient : [id: 0x071f9375, L:/127.0.0.1:40856 - R:localhost/127.0.0.1:8082] WRITE: 205B
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 6f 3e 20 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e |o> <?xml version|
|00000010| 3d 22 31 2e 30 22 20 65 6e 63 6f 64 69 6e 67 3d |="1.0" encoding=|
|00000020| 22 49 53 4f 2d 38 38 35 39 2d 31 22 3f 3e 20 3c |"ISO-8859-1"?> <|
|00000030| 21 44 4f 43 54 59 50 45 20 66 6f 6f 20 5b 20 3c |!DOCTYPE foo [ <|
|00000040| 21 45 4c 45 4d 45 4e 54 20 66 6f 6f 20 41 4e 59 |!ELEMENT foo ANY|
|00000050| 20 3e 20 3c 21 45 4e 54 49 54 59 20 78 78 65 20 | > <!ENTITY xxe |
|00000060| 53 59 53 54 45 4d 20 22 68 74 74 70 3a 2f 2f 77 |SYSTEM "http://w|
|00000070| 77 77 2e 61 74 74 61 63 6b 65 72 2e 63 6f 6d 2f |ww.attacker.com/|
|00000080| 74 65 78 74 2e 74 78 74 22 20 3e 5d 3e 3c 66 6f |text.txt" >]><fo|
|00000090| 6f 3e 26 78 78 65 3b 3c 2f 66 6f 6f 3e 0d 0a 2d |o>&xxe;</foo>..-|
|000000a0| 2d 77 4b 6a 6f 6b 5a 77 6d 46 75 44 58 38 64 7a |-wKjokZwmFuDX8dz|
|000000b0| 63 4c 6d 6d 54 6f 78 71 4b 32 4f 62 35 6b 59 43 |cLmmToxqK2Ob5kYC|
|000000c0| 74 36 6a 4f 6f 58 2d 72 79 2d 2d 0d 0a |t6jOoX-ry--.. |
+--------+-------------------------------------------------+----------------+
2019-09-18 17:13:29.699 DEBUG 10150 --- [or-http-epoll-7] reactor.netty.http.server.HttpServer : [id: 0xe5cc0cd6, L:/127.0.0.1:9080 - R:/127.0.0.1:60124] READ COMPLETE
2019-09-18 17:13:29.699 DEBUG 10150 --- [or-http-epoll-7] reactor.netty.http.client.HttpClient : [id: 0x071f9375, L:/127.0.0.1:40856 - R:localhost/127.0.0.1:8082] FLUSH
2019-09-18 17:13:29.699 DEBUG 10150 --- [or-http-epoll-7] reactor.netty.http.client.HttpClient : [id: 0x071f9375, L:/127.0.0.1:40856 - R:localhost/127.0.0.1:8082] WRITE: 0B
2019-09-18 17:13:29.699 DEBUG 10150 --- [or-http-epoll-7] reactor.netty.http.client.HttpClient : [id: 0x071f9375, L:/127.0.0.1:40856 - R:localhost/127.0.0.1:8082] FLUSH
2019-09-18 17:13:29.699 DEBUG 10150 --- [or-http-epoll-7] r.n.resources.PooledConnectionProvider : [id: 0x071f9375, L:/127.0.0.1:40856 - R:localhost/127.0.0.1:8082] onStateChange(POST{uri=/test/post, connection=PooledConnection{channel=[id: 0x071f9375, L:/127.0.0.1:40856 - R:localhost/127.0.0.1:8082]}}, [request_sent])
2019-09-18 17:13:29.720 DEBUG 10150 --- [or-http-epoll-7] reactor.netty.http.client.HttpClient : [id: 0x071f9375, L:/127.0.0.1:40856 - R:localhost/127.0.0.1:8082] READ: 132B
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 48 54 54 50 2f 31 2e 31 20 32 30 30 20 4f 4b 0d |HTTP/1.1 200 OK.|
|00000010| 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 61 |.Content-Type: a|
|00000020| 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 3b |pplication/json;|
|00000030| 63 68 61 72 73 65 74 3d 55 54 46 2d 38 0d 0a 43 |charset=UTF-8..C|
|00000040| 6f 6e 74 65 6e 74 2d 4c 65 6e 67 74 68 3a 20 34 |ontent-Length: 4|
|00000050| 37 0d 0a 0d 0a 7b 22 66 69 6c 65 73 22 3a 7b 22 |7....{"files":{"|
|00000060| 66 69 6c 65 22 3a 22 64 61 74 61 3a 74 65 78 74 |file":"data:text|
|00000070| 2f 70 6c 61 69 6e 3b 62 61 73 65 36 34 2c 37 33 |/plain;base64,73|
|00000080| 34 22 7d 7d |4"}} |
+--------+-------------------------------------------------+----------------+
2019-09-18 17:13:29.720 DEBUG 10150 --- [or-http-epoll-7] r.n.http.client.HttpClientOperations : [id: 0x071f9375, L:/127.0.0.1:40856 - R:localhost/127.0.0.1:8082] Received response (auto-read:false) : [Content-Type=application/json;charset=UTF-8, Content-Length=47]
2019-09-18 17:13:29.720 DEBUG 10150 --- [or-http-epoll-7] r.n.resources.PooledConnectionProvider : [id: 0x071f9375, L:/127.0.0.1:40856 - R:localhost/127.0.0.1:8082] onStateChange(POST{uri=/test/post, connection=PooledConnection{channel=[id: 0x071f9375, L:/127.0.0.1:40856 - R:localhost/127.0.0.1:8082]}}, [response_received])
2019-09-18 17:13:29.720 TRACE 10150 --- [or-http-epoll-7] o.s.c.g.filter.NettyWriteResponseFilter : NettyWriteResponseFilter start inbound: 071f9375, outbound: [e5cc0cd6]
2019-09-18 17:13:29.721 DEBUG 10150 --- [or-http-epoll-7] reactor.netty.channel.FluxReceive : [id: 0x071f9375, L:/127.0.0.1:40856 - R:localhost/127.0.0.1:8082] Subscribing inbound receiver [pending: 0, cancelled:false, inboundDone: false]
2019-09-18 17:13:29.721 DEBUG 10150 --- [or-http-epoll-7] r.n.http.client.HttpClientOperations : [id: 0x071f9375, L:/127.0.0.1:40856 - R:localhost/127.0.0.1:8082] Received last HTTP packet
2019-09-18 17:13:29.721 DEBUG 10150 --- [or-http-epoll-7] reactor.netty.http.server.HttpServer : [id: 0xe5cc0cd6, L:/127.0.0.1:9080 - R:/127.0.0.1:60124] WRITE: 85B
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 48 54 54 50 2f 31 2e 31 20 32 30 30 20 4f 4b 0d |HTTP/1.1 200 OK.|
|00000010| 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 61 |.Content-Type: a|
|00000020| 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 3b |pplication/json;|
|00000030| 63 68 61 72 73 65 74 3d 55 54 46 2d 38 0d 0a 43 |charset=UTF-8..C|
|00000040| 6f 6e 74 65 6e 74 2d 4c 65 6e 67 74 68 3a 20 34 |ontent-Length: 4|
|00000050| 37 0d 0a 0d 0a |7.... |
+--------+-------------------------------------------------+----------------+
2019-09-18 17:13:29.721 DEBUG 10150 --- [or-http-epoll-7] reactor.netty.http.server.HttpServer : [id: 0xe5cc0cd6, L:/127.0.0.1:9080 - R:/127.0.0.1:60124] FLUSH
2019-09-18 17:13:29.721 DEBUG 10150 --- [or-http-epoll-7] reactor.netty.http.server.HttpServer : [id: 0xe5cc0cd6, L:/127.0.0.1:9080 - R:/127.0.0.1:60124] WRITE: 47B
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 22 66 69 6c 65 73 22 3a 7b 22 66 69 6c 65 22 |{"files":{"file"|
|00000010| 3a 22 64 61 74 61 3a 74 65 78 74 2f 70 6c 61 69 |:"data:text/plai|
|00000020| 6e 3b 62 61 73 65 36 34 2c 37 33 34 22 7d 7d |n;base64,734"}} |
+--------+-------------------------------------------------+----------------+
2019-09-18 17:13:29.722 TRACE 10150 --- [or-http-epoll-7] reactor.netty.channel.ChannelOperations : [id: 0x071f9375, L:/127.0.0.1:40856 - R:localhost/127.0.0.1:8082] Disposing ChannelOperation from a channel
java.lang.Exception: ChannelOperation terminal stack
at reactor.netty.channel.ChannelOperations.terminate(ChannelOperations.java:406) [reactor-netty-0.8.11.RELEASE.jar:0.8.11.RELEASE]
at reactor.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations.java:555) [reactor-netty-0.8.11.RELEASE.jar:0.8.11.RELEASE]
at reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:91) [reactor-netty-0.8.11.RELEASE.jar:0.8.11.RELEASE]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:438) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:328) [netty-codec-4.1.39.Final.jar:4.1.39.Final]
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:302) [netty-codec-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:253) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.handler.logging.LoggingHandler.channelRead(LoggingHandler.java:241) [netty-handler-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1421) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:930) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:794) [netty-transport-native-epoll-4.1.39.Final-linux-x86_64.jar:4.1.39.Final]
at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:424) [netty-transport-native-epoll-4.1.39.Final-linux-x86_64.jar:4.1.39.Final]
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:326) [netty-transport-native-epoll-4.1.39.Final-linux-x86_64.jar:4.1.39.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:918) [netty-common-4.1.39.Final.jar:4.1.39.Final]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-common-4.1.39.Final.jar:4.1.39.Final]
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [netty-common-4.1.39.Final.jar:4.1.39.Final]
at java.lang.Thread.run(Thread.java:748) [na:1.8.0_191]
2019-09-18 17:13:29.722 DEBUG 10150 --- [or-http-epoll-7] r.n.resources.PooledConnectionProvider : [id: 0x071f9375, L:/127.0.0.1:40856 - R:localhost/127.0.0.1:8082] onStateChange(POST{uri=/test/post, connection=PooledConnection{channel=[id: 0x071f9375, L:/127.0.0.1:40856 - R:localhost/127.0.0.1:8082]}}, [disconnecting])
2019-09-18 17:13:29.722 DEBUG 10150 --- [or-http-epoll-7] r.n.resources.PooledConnectionProvider : [id: 0x071f9375, L:/127.0.0.1:40856 - R:localhost/127.0.0.1:8082] Releasing channel
2019-09-18 17:13:29.722 DEBUG 10150 --- [or-http-epoll-7] r.n.resources.PooledConnectionProvider : [id: 0x071f9375, L:/127.0.0.1:40856 - R:localhost/127.0.0.1:8082] Channel cleaned, now 0 active connections and 1 inactive connections
2019-09-18 17:13:29.722 DEBUG 10150 --- [or-http-epoll-7] reactor.netty.http.client.HttpClient : [id: 0x071f9375, L:/127.0.0.1:40856 - R:localhost/127.0.0.1:8082] READ COMPLETE
2019-09-18 17:13:29.722 DEBUG 10150 --- [or-http-epoll-7] reactor.netty.http.server.HttpServer : [id: 0xe5cc0cd6, L:/127.0.0.1:9080 - R:/127.0.0.1:60124] FLUSH
2019-09-18 17:13:29.722 DEBUG 10150 --- [or-http-epoll-7] r.n.http.server.HttpServerOperations : [id: 0xe5cc0cd6, L:/127.0.0.1:9080 - R:/127.0.0.1:60124] Last HTTP response frame
2019-09-18 17:13:29.722 DEBUG 10150 --- [or-http-epoll-7] reactor.netty.http.server.HttpServer : [id: 0xe5cc0cd6, L:/127.0.0.1:9080 - R:/127.0.0.1:60124] WRITE: 0B
2019-09-18 17:13:29.722 DEBUG 10150 --- [or-http-epoll-7] r.n.http.server.HttpServerOperations : [id: 0xe5cc0cd6, L:/127.0.0.1:9080 - R:/127.0.0.1:60124] Decreasing pending responses, now 0
2019-09-18 17:13:29.722 DEBUG 10150 --- [or-http-epoll-7] reactor.netty.http.server.HttpServer : [id: 0xe5cc0cd6, L:/127.0.0.1:9080 - R:/127.0.0.1:60124] FLUSH
2019-09-18 17:13:29.723 DEBUG 10150 --- [or-http-epoll-7] r.n.http.server.HttpServerOperations : [id: 0xe5cc0cd6, L:/127.0.0.1:9080 - R:/127.0.0.1:60124] Last HTTP packet was sent, terminating the channel
2019-09-18 17:13:29.723 TRACE 10150 --- [or-http-epoll-7] reactor.netty.channel.ChannelOperations : [id: 0xe5cc0cd6, L:/127.0.0.1:9080 - R:/127.0.0.1:60124] Disposing ChannelOperation from a channel
java.lang.Exception: ChannelOperation terminal stack
at reactor.netty.channel.ChannelOperations.terminate(ChannelOperations.java:406) [reactor-netty-0.8.11.RELEASE.jar:0.8.11.RELEASE]
at reactor.netty.http.server.HttpServerOperations.cleanHandlerTerminate(HttpServerOperations.java:526) [reactor-netty-0.8.11.RELEASE.jar:0.8.11.RELEASE]
at reactor.netty.http.server.HttpTrafficHandler.operationComplete(HttpTrafficHandler.java:314) [reactor-netty-0.8.11.RELEASE.jar:0.8.11.RELEASE]
at reactor.netty.http.server.HttpTrafficHandler.operationComplete(HttpTrafficHandler.java:54) [reactor-netty-0.8.11.RELEASE.jar:0.8.11.RELEASE]
at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:500) [netty-common-4.1.39.Final.jar:4.1.39.Final]
at io.netty.util.concurrent.DefaultPromise.notifyListeners0(DefaultPromise.java:493) [netty-common-4.1.39.Final.jar:4.1.39.Final]
at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:472) [netty-common-4.1.39.Final.jar:4.1.39.Final]
at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:413) [netty-common-4.1.39.Final.jar:4.1.39.Final]
at io.netty.util.concurrent.DefaultPromise.setValue0(DefaultPromise.java:538) [netty-common-4.1.39.Final.jar:4.1.39.Final]
at io.netty.util.concurrent.DefaultPromise.setSuccess0(DefaultPromise.java:527) [netty-common-4.1.39.Final.jar:4.1.39.Final]
at io.netty.util.concurrent.DefaultPromise.trySuccess(DefaultPromise.java:98) [netty-common-4.1.39.Final.jar:4.1.39.Final]
at io.netty.util.internal.PromiseNotificationUtil.trySuccess(PromiseNotificationUtil.java:48) [netty-common-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.ChannelOutboundBuffer.safeSuccess(ChannelOutboundBuffer.java:715) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.ChannelOutboundBuffer.remove(ChannelOutboundBuffer.java:270) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.ChannelOutboundBuffer.removeBytes(ChannelOutboundBuffer.java:350) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.epoll.AbstractEpollChannel.doWriteBytes(AbstractEpollChannel.java:358) [netty-transport-native-epoll-4.1.39.Final-linux-x86_64.jar:4.1.39.Final]
at io.netty.channel.epoll.AbstractEpollStreamChannel.writeBytes(AbstractEpollStreamChannel.java:260) [netty-transport-native-epoll-4.1.39.Final-linux-x86_64.jar:4.1.39.Final]
at io.netty.channel.epoll.AbstractEpollStreamChannel.doWriteSingle(AbstractEpollStreamChannel.java:471) [netty-transport-native-epoll-4.1.39.Final-linux-x86_64.jar:4.1.39.Final]
at io.netty.channel.epoll.AbstractEpollStreamChannel.doWrite(AbstractEpollStreamChannel.java:429) [netty-transport-native-epoll-4.1.39.Final-linux-x86_64.jar:4.1.39.Final]
at io.netty.channel.AbstractChannel$AbstractUnsafe.flush0(AbstractChannel.java:928) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.flush0(AbstractEpollChannel.java:514) [netty-transport-native-epoll-4.1.39.Final-linux-x86_64.jar:4.1.39.Final]
at io.netty.channel.AbstractChannel$AbstractUnsafe.flush(AbstractChannel.java:895) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.DefaultChannelPipeline$HeadContext.flush(DefaultChannelPipeline.java:1383) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:749) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush(AbstractChannelHandlerContext.java:741) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.AbstractChannelHandlerContext.flush(AbstractChannelHandlerContext.java:727) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.handler.logging.LoggingHandler.flush(LoggingHandler.java:265) [netty-handler-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:749) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush(AbstractChannelHandlerContext.java:741) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.AbstractChannelHandlerContext.flush(AbstractChannelHandlerContext.java:727) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.flush(CombinedChannelDuplexHandler.java:533) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.ChannelOutboundHandlerAdapter.flush(ChannelOutboundHandlerAdapter.java:125) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.CombinedChannelDuplexHandler.flush(CombinedChannelDuplexHandler.java:358) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:749) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush(AbstractChannelHandlerContext.java:741) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.AbstractChannelHandlerContext.flush(AbstractChannelHandlerContext.java:727) [netty-transport-4.1.39.Final.jar:4.1.39.Final]
at reactor.netty.channel.MonoSendMany$SendManyInner$AsyncFlush.run(MonoSendMany.java:607) [reactor-netty-0.8.11.RELEASE.jar:0.8.11.RELEASE]
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) [netty-common-4.1.39.Final.jar:4.1.39.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:416) [netty-common-4.1.39.Final.jar:4.1.39.Final]
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:331) [netty-transport-native-epoll-4.1.39.Final-linux-x86_64.jar:4.1.39.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:918) [netty-common-4.1.39.Final.jar:4.1.39.Final]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-common-4.1.39.Final.jar:4.1.39.Final]
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [netty-common-4.1.39.Final.jar:4.1.39.Final]
at java.lang.Thread.run(Thread.java:748) [na:1.8.0_191]
2019-09-18 17:13:30.103 DEBUG 10150 --- [or-http-epoll-7] reactor.netty.http.server.HttpServer : [id: 0xe5cc0cd6, L:/127.0.0.1:9080 - R:/127.0.0.1:60124] READ COMPLETE
2019-09-18 17:13:30.103 DEBUG 10150 --- [or-http-epoll-7] reactor.netty.http.server.HttpServer : [id: 0xe5cc0cd6, L:/127.0.0.1:9080 ! R:/127.0.0.1:60124] INACTIVE
2019-09-18 17:13:30.103 DEBUG 10150 --- [or-http-epoll-7] reactor.netty.http.server.HttpServer : [id: 0xe5cc0cd6, L:/127.0.0.1:9080 ! R:/127.0.0.1:60124] UNREGISTERED
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment