Skip to content

requesting the HTTP-FLV using the HEAD method will cause a nullptr crash #4140

@retamia

Description

@retamia

!!! Before submitting a new bug report, please ensure you have searched for any existing bugs and utilized
the Ask AI feature at https://ossrs.io or https://ossrs.net (for users in China). Duplicate issues or
questions that are overly simple or already addressed in the documentation will be removed without any
response.

Describe the bug

When there is a pull stream, if the push stream is disconnected, the subsequent push will always fail

SrsHttpStreamServer::hijack

Version
release6.0

To Reproduce
Steps to reproduce the behavior:

  1. OBS推流,ffplay 播放拉流(ffplay不要关闭)
  2. OBS断开推流,马上重新推流,会有概率性出现 Failed to handle HTTP request for pattern duplicated 错误。
    之后重新推流就会一直出现这个错误:Stream already exists or busy。

Expected behavior

Screenshots
image

Additional context

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions