firebase / firebase/firebase-tools

firebase serve is serving http1.1 not http2

Open
#2,571 3 comments 1 reaction 0 assignees View on GitHub
api: hosting emulators: hosting type: feature request
Dominant language
TypeScript
Stars
4.5k
Forks
1.3k
Avg merge
1d 12h
Merged PRs (30d)
84

Description

### [REQUIRED] Environment info

**firebase-tools:** 8.9.0

**Platform:** macOS high sierra version 10.13.6

### [REQUIRED] Test case

```bash
firebase serve
```

### [REQUIRED] Steps to reproduce

Run `firebase init` to create a basic project using default settings and then run `firebase serve`. All resources are served as http1.1, however firebase hosting is supposed to use http2.

### [REQUIRED] Expected behavior

The local development server which is started by `firebase serve` uses http2.

### [REQUIRED] Actual behavior

The local development server which is started by `firebase serve` uses http1.1.

Contributor guide

Open the contributing guide

Research direction

Start by running `firebase init` with default settings and then `firebase serve` on the reported firebase-tools 8.9.0 environment, checking the protocol used by the local server. Trace the `firebase serve` entry point into the local hosting server; done means local resources are served over HTTP/2 rather than HTTP/1.1.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli, networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.