Project

General

Profile

Actions

Bug #25192

closed

radosgw: civetweb: redirect_to_https_port: no chunk, no close, no size.

Added by Konstantin Shalygin over 5 years ago. Updated over 1 year ago.

Status:
Won't Fix
Priority:
Normal
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
rgw
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Behavior of 12.2.5

rgw frontends = civetweb port=0.0.0.0:80r+443s

curl:

[k0ste@WorkStation ~]$ curl -v http://s3.e2e4.ru/
*   Trying 193.150.124.9...
* TCP_NODELAY set
* Connected to s3.e2e4.ru (193.150.124.9) port 80 (#0)
> GET / HTTP/1.1
> Host: s3.e2e4.ru
> User-Agent: curl/7.61.0
> Accept: */*
> 
< HTTP/1.1 302 Found
< Location: https://s3.e2e4.ru:443/
* no chunk, no close, no size. Assume close to signal end
< 
* Closing connection 0

real    0m40.020s
user    0m0.006s
sys    0m0.006s

Firefox:
Civetweb 12.2.8

Client can't close connection and make new request to "Location". I think 40s is client timeout.
Also I don't think civetweb should send port ":443" in "Location" header.


Files

Selection_001.png (30.2 KB) Selection_001.png Konstantin Shalygin, 07/31/2018 10:03 AM
civetweb.pcap (991 Bytes) civetweb.pcap Civetweb 12.2.8 Konstantin Shalygin, 10/02/2018 04:17 AM
nginx.pcap (1.3 KB) nginx.pcap Nginx 1.15.1 Konstantin Shalygin, 10/02/2018 04:17 AM
Selection_002.png (225 KB) Selection_002.png Nginx 1.15.1 Konstantin Shalygin, 10/02/2018 04:47 AM
Selection_001.png (217 KB) Selection_001.png Civetweb 12.2.8 Konstantin Shalygin, 10/02/2018 04:47 AM
Actions

Also available in: Atom PDF