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

When using --input-file the program should exit when all the requests have been completed #856

Open
jordangarrison opened this issue Nov 18, 2020 · 1 comment
Labels
bug Something isn't working help wanted

Comments

@jordangarrison
Copy link

Hi GoReplay team,

Love this project!

When running ./gor --input-file 1.gor --http-original-host --output-http='https://mysite.com' --output-http-track-response the process hangs once all the requests are complete with the following message: FileInput: end of file './1.gor'. The 1.gor file is a simple 2 request file I was using for testing when I was encountering this.

gor --input-file=./1.gor --http-original-host --output-http='https://mysite.com' --output-http-track-response

# Output
2020/11/17 15:50:37 [PPID 5386 and PID 24294] Version:1.2.0
2020/11/17 15:50:37 FileInput: end of file './1.gor'

Currently waiting for the process to match that line then sending a SIGHUP to conclude the process.

Steps to reproduce:

  1. Run gor with --input-file [filename.gor] specified as the input source

This is a continuation of the following issue: #456

@anatoly71
Copy link

are there plans to fix this anytime soon?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted
Projects
None yet
Development

No branches or pull requests

3 participants