alibaba / alibaba/anyproxy

使用将请求写入文件的方式启动服务,写入的文件tail -f时无法监控。

Open
#96 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.9k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Plese fill the template when you reporting a new issue, thanks!

#### Which platform are you running AnyProxy

platfrom:ubuntu 16.04
#### The version of the AnyProxy

version:3.10.3
#### Your expected behavior of AnyProxy

anyproxy --intercept --file /var/log/requests.txt --port 9999
期望在抓包写入文件的同时,tail -f可以实时监控到。
#### The actual behavior of AnyProxy

tail -f /var/log/requests.txt
现在在写入文件的过程中,tail -f 无法监控到文件内容的变化。
#### The log of the error

none

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue on Ubuntu 16.04 with AnyProxy 3.10.3 using `anyproxy --intercept --file /var/log/requests.txt --port 9999`, then monitor the file with `tail -f`. Trace the request-file writing entry point and verify that requests become visible while the service is running; done means the file updates are observable in real time.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
backend, cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.