microsoft / microsoft/markitdown

Timeout needed

Open
#2,000 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
186k
Forks
13.7k
Avg merge
1d 4h
Merged PRs (30d)
49

Description

The convert_uri() method in MarkItDown makes a requests.get() call with stream=True but no timeout. This means a request to a slow or malicious server can hang indefinitely, blocking the process.

I already have a fix :)

https://github.com/microsoft/markitdown/pull/1999

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the convert_uri() method in MarkItDown and inspect its requests.get() call with stream=True; no file or test path is named. The referenced pull request #1999 contains the existing fix, so compare it with the issue to verify that slow requests no longer hang indefinitely.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
networking
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.