Jarred Sumner
cd28c3ca83
Omit the Content-Encoding header when it was auto decompressed
2022-04-03 22:22:22 -07:00
Jarred Sumner
25533b9e08
Don't track gzip timing unless verbose mode
2022-04-03 22:21:34 -07:00
Jarred Sumner
bc85dd2330
the events, they loop
2022-03-20 04:38:04 -07:00
Jarred Sumner
74f4c8bcab
query_string_map -> url
2022-03-17 01:27:35 -07:00
Jarred Sumner
f4504292cf
[bun.js] Implement Blob
2022-03-13 06:08:10 -07:00
Jarred Sumner
701d6ec45d
rename _global -> bun
2022-03-08 18:54:54 -08:00
Jarred Sumner
a7181cb222
Update onThreadStart
2022-02-18 14:42:32 -08:00
Jarred Sumner
8325db48ab
MimeType from string
2022-02-14 04:28:13 -08:00
Jarred Sumner
2b45c8dffe
Implement keep-alive but disable it
2022-02-05 00:30:28 -08:00
Jarred SUmner
dabcac2e96
Several reliability improvements to HTTP
2022-02-04 20:50:21 -08:00
Jarred Sumner
baffe26dd1
Fix bug with http client
2022-02-03 21:01:14 -08:00
Jarred Sumner
1a4ccd3f5c
[http] Fixes to chunked transfer encoding reader
2022-02-02 18:07:05 -08:00
Jarred Sumner
213960a04a
Limit the number of pooled objects
2022-02-01 20:47:35 -08:00
Jarred Sumner
0a547304a7
Set thread name
2022-02-01 16:23:13 -08:00
Jarred Sumner
5d7c34093f
new boringSSL integration almost works with TLS 1.3
2022-02-01 14:45:47 -08:00
Jarred Sumner
9db4d195a7
Split http into files
2022-01-25 20:00:23 -08:00
Jarred SUmner
ecea12d206
No io_uring for Ubuntu 20.04
2022-01-24 19:12:58 -08:00
Jarred Sumner
de0cf42111
Use non-cancellable syscalls for HTTP & use errno for errors
2022-01-23 23:00:15 -08:00
Jarred Sumner
2b8893da53
Use a separate heap for HTTP
2022-01-23 21:12:59 -08:00
Jarred Sumner
4b717fe554
Fix crash that sometimes happens after 30 seconds
2022-01-05 16:41:58 -08:00
Jarred Sumner
5930ac09b7
noramlize some errors
2022-01-04 22:19:31 -08:00
luke miles
7f33846005
copy: replace Bun with bun ( #99 )
...
Most CLI tools have the style convention of referring to themselves in
lowercase. It is, after all, the name that users type in when using
the tool. This PR maintains that convention in bun.
"Drop the uppercase B, it's cleaner"
2022-01-02 03:09:51 -08:00
Jarred Sumner
7f1b5c09de
💅
2022-01-01 19:35:05 -08:00
Jarred SUmner
a17088363f
[bun dev] Improve filesystem watcher & HMR reliability (Linux + a little macOS)
...
Text editors like Replit save through atomic file updates. In an inotify filesystem watcher (Linux), that appears to be a delete followed by moving the file to the directory. Now when known files are moved into a directory, the watcher sends the file change notification to the browser(s). From there, the browser looks at it's files to determine whether or not
Additionally, if an existing HMR connection does not know about a file ID passed to it, it asks the browser to reply with the file path and then starts watching that file. This improves HMR reliabiality if Bun had been restarted but the page hadn't been restarted.
2022-01-01 01:53:50 -08:00
Jarred Sumner
aaf5c28c5b
[bun install] Slightly more reliable HTTP
2021-12-31 00:14:24 -08:00
Jarred Sumner
ac6a2bf2e5
fix occasional HTTP bug
2021-12-30 23:20:07 -08:00
Jarred Sumner
6f1c6fbc1a
- => .
2021-12-30 22:05:44 -08:00
Jarred Sumner
b1c3fce49b
[internal] Move network_thread into http package
2021-12-30 21:27:27 -08:00
Jarred Sumner
e75c711c68
Upgrade to latest Zig, remove dependency on patched version of Zig ( #96 )
...
* Prepare to upgrade zig
* zig fmt
* AllocGate
* Update data_url.zig
* wip
* few files
* just headers now?
* I think everything works?
* Update mimalloc
* Update hash_map.zig
* Perf improvements to compensate for Allocgate
* Bump
* 📷
* Update bun.lockb
* Less branching
* [js parser] Slightly reduce memory usage
* Update js_parser.zig
* WIP remove unused
* [JS parser] WIP support for `with` keyword
* Remove more dead code
* Fix all the build errors!
* cleanup
* Move `network_thread` up
* Bump peechy
* Update README.md
2021-12-30 21:12:32 -08:00
Jarred Sumner
0b640c785f
Update http_client_async.zig
2021-12-29 02:33:39 -08:00
Jarred Sumner
fe17d51b03
FIx bug in http client
2021-12-29 02:32:57 -08:00
Jarred Sumner
336a4b6ac2
Prepare to run unit tests & remove some dead code ( #92 )
...
* Remove some dead code
* 💀 code
* Fix the zig tests
* [JS Printer] Print integers faster & less scientific notation on decimals
* 💀 dead code
* skip
* Run all the unit tests
2021-12-27 18:06:31 -08:00
Jarred Sumner
0e52be8427
Don't send os.MSG_NOSIGNAL
2021-12-24 04:50:27 +00:00
Jarred Sumner
e1505d88b1
Prevent crash due to SIGPIPE
2021-12-23 00:43:34 -08:00
Jarred Sumner
eab99b3bae
Remove references to s2n
2021-12-18 21:06:15 -08:00
Jarred Sumner
e2d6c692c4
Use new http in bun upgrade
2021-12-18 20:03:00 -08:00
Jarred Sumner
8dcaaa9e09
packaging
2021-12-17 02:43:43 -08:00