Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infinite loop #7

Closed
KKKIIO opened this issue Apr 2, 2017 · 1 comment
Closed

Infinite loop #7

KKKIIO opened this issue Apr 2, 2017 · 1 comment

Comments

@KKKIIO
Copy link
Collaborator

KKKIIO commented Apr 2, 2017

test code:

# server side
from flask import Flask
app = Flask(__name__)
@app.route('/inf')
def test_inf():
    return "a" * 2048 + "bcd"

the log msg is:

root@VM-148-6-ubuntu:/home/ubuntu/code/python/web_test# tail worker.log 
[DEBUG][2017: 04: 02: 16:35:06] [pid: 24348]handle upstream
[DEBUG][2017: 04: 02: 16:35:06] [pid: 24348]handle response
[DEBUG][2017: 04: 02: 16:35:06] [pid: 24348]handle upstream
[DEBUG][2017: 04: 02: 16:35:06] [pid: 24348]handle response
[DEBUG][2017: 04: 02: 16:35:06] [pid: 24348]handle upstream
[DEBUG][2017: 04: 02: 16:35:06] [pid: 24348]handle response
[DEBUG][2017: 04: 02: 16:35:06] [pid: 24348]handle upstream
[DEBUG][2017: 04: 02: 16:35:06] [pid: 24348]handle response
[DEBUG][2017: 04: 02: 16:35:06] [pid: 24348]handle upstream
[DEBUG][2017: 04: 02: 16:35:06] [pid: 24348]handle response
root@VM-148-6-ubuntu:/home/ubuntu/code/python/web_test# tail worker.log 
[DEBUG][2017: 04: 02: 16:37:37] [pid: 24348]handle response
[DEBUG][2017: 04: 02: 16:37:37] [pid: 24348]handle upstream
[DEBUG][2017: 04: 02: 16:37:37] [pid: 24348]handle response
[DEBUG][2017: 04: 02: 16:37:37] [pid: 24348]handle upstream
[DEBUG][2017: 04: 02: 16:37:37] [pid: 24348]handle response
[DEBUG][2017: 04: 02: 16:37:37] [pid: 24348]handle upstream
[DEBUG][2017: 04: 02: 16:37:37] [pid: 24348]handle response
[DEBUG][2017: 04: 02: 16:37:37] [pid: 24348]handle upstream
[DEBUG][2017: 04: 02: 16:37:37] [pid: 24348]handle response

seems it fall in an infinite loop

@wgtdkp
Copy link
Owner

wgtdkp commented Apr 2, 2017

fixing for this bug.

@KKKIIO KKKIIO closed this as completed Apr 2, 2017
@KKKIIO KKKIIO reopened this Apr 2, 2017
@KKKIIO KKKIIO closed this as completed Apr 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants