Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

FirebaseHttpClient: add forceReuse#260

Merged
proppy merged 3 commits intomasterfromforce-reuse
Oct 27, 2017
Merged

FirebaseHttpClient: add forceReuse#260

proppy merged 3 commits intomasterfromforce-reuse
Oct 27, 2017

Conversation

proppy
Copy link
Contributor

@proppyproppy commentedApr 10, 2017
edited
Loading

skhaz and numpapickmaker reacted with thumbs up emoji
@proppyproppy requested a review fromed7coyneApril 10, 2017 09:02
class FirebaseHttpClientEsp8266 : public FirebaseHttpClient {
public:
FirebaseHttpClientEsp8266() {}

void setReuseConnection(bool reuse) override {
void setReuseConnection(bool reuse) override {
Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

trailing space

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Done.

Copy link
Collaborator

@ed7coyneed7coyne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

It feels a little dirty to just keep the client open but the end result is a pretty clean integration so LGTM.

class ForceReuseHTTPClient : public HTTPClient {
public:
void end() {
if(connected()) {
Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

another possibility is to call HTTPClient::end here with _canReuse set to true before it?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I like that better only because it deviates less from the base so as the base changes we can merge with impunity.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Done

@skhaz
Copy link

It worked for me

@proppy
Copy link
ContributorAuthor

Merging: sorry all for the delay.

@proppyproppy merged commitc73ca0e intomasterOct 27, 2017
@proppyproppy mentioned this pull requestOct 27, 2017
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@ed7coyneed7coyneed7coyne approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@proppy@skhaz@ed7coyne

[8]ページ先頭

©2009-2025 Movatter.jp