BUrlRequest: fix issues found while documenting

- Remove Pause/Resume functions. They are not possible to implement (the
  server would time out)
- Fix SetContext(NULL) to do the right thing.

Change-Id: I25ba09bb01ea0fe8a85d774611b33be7dc192028
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4245
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Niels Sascha Reedijk <[email protected]>
This commit is contained in:
Adrien Destugues
2021-07-26 06:28:08 +00:00
committed by Jérôme Duval
parent e9946b675c
commit a94ee3f35a
2 changed files with 5 additions and 19 deletions
-2
View File
@@ -40,8 +40,6 @@ public:
// URL protocol thread management
virtual thread_id Run();
virtual status_t Pause();
virtual status_t Resume();
virtual status_t Stop();
virtual void SetTimeout(bigtime_t timeout) {}