profile
viewpoint
Vincent LE GOFF zekth Brest, France https://zekth.github.io/ I'm Vincent. I solve problems. Contributing on @denoland @denolib @reef-pi

pull request commentdenoland/deno_std

[http] add handling of bad request

I have changed the code because my handling was serving the data to the User code and we don't want it, it has to be handled on Deno side. Working on tests now.

zekth

comment created time in 10 hours

push eventzekth/deno_std

LE GOFF Vincent

commit sha 588844d92e2be5483c65e1a762f3b578564ba10b

fix error handling

view details

push time in 10 hours

issue openeddenoland/deno_std

[fs] MacOs : flaky copy test


test [fs] copy synchronously with preserve timestamps ... ‌FAILED‌
Error: 

    ‌[Diff]‌ ‌Left‌ / ‌Right‌


-   1558364063‌
+   1558364062‌

    at assertEquals (/Users/vsts/agent/2.150.3/work/1/s/testing/pretty.ts:66:11)
    at assertEquals (/Users/vsts/agent/2.150.3/work/1/s/testing/asserts.ts:64:5)
    at /Users/vsts/agent/2.150.3/work/1/s/fs/copy_test.ts:185:5
    at fn (/Users/vsts/agent/2.150.3/work/1/s/fs/copy_test.ts:32:13)
    at runTestsSerial (/Users/vsts/agent/2.150.3/work/1/s/testing/mod.ts:112:19)
    at async runTests (/Users/vsts/agent/2.150.3/work/1/s/testing/mod.ts:147:9)
    at async main (/Users/vsts/agent/2.150.3/work/1/s/testing/main.ts:5:5)

Sometimes it happens randomly on MacOs.

cc @axetroy

created time in 14 hours

pull request commentdenoland/deno_std

[http] add handling of bad request

Can you add a test?

added. The test of FS with timestamps is flaky on the CI even on my macbook i encounter this issue.

zekth

comment created time in 14 hours

push eventzekth/deno_std

Vincent LE GOFF

commit sha 829f65d43faa2c3d9bad58ac22202eabca38d146

fix raw result & tests

view details

push time in 14 hours

push eventzekth/deno_std

Vincent LE GOFF

commit sha cbf4fb484bafe87f6445b10aacd9514eb78fbf24

add missing test

view details

Vincent LE GOFF

commit sha 3ea3e008fa1a04a159398e058422ee1f20f2776a

fix imports

view details

push time in 15 hours

PR opened denoland/deno_std

Rename //multipart/multipart.ts to //mime/multipart.ts

fixes : https://github.com/denoland/deno_std/issues/412

+2 -1

0 comment

4 changed files

pr created time in 15 hours

create barnchzekth/deno_std

branch : move_mime

created branch time in 15 hours

push eventzekth/deno_std

Ryan Dahl

commit sha 68faf32f721d2a95c7b1c75661713c8118c077c7

Clean up HTTP async iterator code (#411)

view details

Yoshitaka Terazawa

commit sha 301c12d9d20d94d0ed36a394353835a90b5e9249

chore(readme): add README.md for ws (#417)

view details

push time in 15 hours

issue commentprometheus/prometheus

Dockerfile not up to date on Dockerhub

Ok i see. May i suggest to add an example of a docker-compose deployement here : https://prometheus.io/docs/prometheus/latest/installation/ ?

Just explaining the case. I wanted to use the default command and arguments in my deployement but just to enable the admin api in addition. Problem is i've found the ressource on dockerhub and tried to reproduce. I think it has its place in the doc.

zekth

comment created time in 15 hours

push eventzekth/deno_std

Vincent LE GOFF

commit sha f6a51fcd4f959fc833d2330345937494de2b8450

lint

view details

push time in 15 hours

push eventzekth/deno_std

Vincent LE GOFF

commit sha f9c1e8e5baaf7626d02ba1338e4e839b3e161ede

comment

view details

push time in 16 hours

issue commentdenoland/deno_std

[Documentation] Typedoc

I'm all for getting typedoc working, but FYI I have larger plans for documentation that will not involve typedoc.

If it's ok for you @ry i can write down the CI scripts to generate the /docs. Also maybe some theming to fit the colors of deno.land website could be good.

zekth

comment created time in 16 hours

push eventzekth/deno_std

Ryan Dahl

commit sha 68faf32f721d2a95c7b1c75661713c8118c077c7

Clean up HTTP async iterator code (#411)

view details

Vincent LE GOFF

commit sha cb8029378fe750e0eedc1a72f3b5c8afa2a10b56

add handling of bad request

view details

push time in 16 hours

PR opened denoland/deno_std

[http] add handling of bad request

This is meant to fix : https://github.com/denoland/deno/issues/2346

It's not that pretty but ATM i haven't found any other way to do it.

So if, there is an issue in the request with malformed headers or encrypted due to HTTPS, an error is attached to the server request, if there is a respond of it the ServerResponse is automaticaly rewritten.

This fixes bad headers and wrong protocol (somehow). The problem with https is we got : ssl3_get_record:wrong version number because the client is trying to do the handshake.

Note: i've noticed we have multiple set of new TextEncoder(). Would it be better to have it as a const in the module?

+13 -1

0 comment

1 changed file

pr created time in 16 hours

create barnchzekth/deno_std

branch : process_rq

created branch time in 16 hours

push eventzekth/deno_std

Vincent LE GOFF

commit sha 92c26cc33183284737fd41685b26a15cab07405d

Fix #409 handle multipart header in mime reader (#415)

view details

Yusuke Sakurai

commit sha 0daa693d680652ae9447cf43d6e8e8355d52d8d4

fix: add exnext lib to tsconfig.json (#416)

view details

push time in 17 hours

issue openedprometheus/prometheus

Dockerfile not up to date on Dockerhub

see: https://hub.docker.com/r/prom/prometheus/dockerfile/

This fix has not been applied on dockerhub: https://github.com/prometheus/prometheus/pull/2942/files

ref: https://github.com/prometheus/prometheus/issues/2878

created time in 19 hours

issue commentdenoland/deno_std

Rename //multipart/multipart.ts to //mime/multipart.ts

Yeah, the only objection is that mime is very antiquated term. Can I blame Go for being stuck in the early 2000? media_type is much more correct name.

Agree. See: https://tools.ietf.org/html/rfc6838

ry

comment created time in a day

delete branch zekth/deno_easypath

delete branch : fixversions

delete time in a day

push eventzekth/deno_easypath

Vincent LE GOFF

commit sha a13ce63909875536fe8379c6a8eefcd5d3d203f3

fix example in doc (#3)

view details

push time in a day

PR merged zekth/deno_easypath

fix example in doc
+1 -1

0 comment

1 changed file

zekth

pr closed time in a day

PR opened zekth/deno_easypath

fix example in doc
+1 -1

0 comment

1 changed file

pr created time in a day

create barnchzekth/deno_easypath

branch : fixversions

created branch time in a day

issue closeddenoland/registry

503 errors on modules with underscores

Not all modules are concerned but i've spotted those:

  • https://deno.land/x/escape_string_regexp/
  • https://deno.land/x/cli_spinners/
  • https://deno.land/x/case_style/

closed time in a day

zekth

issue commentdenoland/deno_std

[Documentation] Typedoc

Even with the plugin i still got compilation error. I can run it with this command :
typedoc --exclude "flags/examples.ts,**/testdata/**,examples/**,**/*+(test).ts" --ignore CompilerErrors --tsconfig ./tsconfig.json ./

if you want to try just use : npm install -g typedoc and add this to the compiler options in the tsconfig:

  "typedocOptions": {
      "mode": "modules",
      "out": "docs"
  }

But i'm not pretty happy with the result, especially with the title part. eg: 2019-05-19 17_34_2s

Also if we use an auto documentation, maybe the example files may become useless no?

zekth

comment created time in 2 days

delete branch zekth/deno

delete branch : consoleclearline

delete time in 2 days

PR closed denoland/deno

[WIP] Add console.clearLine

When using stdout.write you may have to rewrite the current line like done here: https://github.com/denoland/deno_std/pull/314/files

Example in node: https://nodejs.org/dist/latest-v6.x/docs/api/readline.html#readline_readline_clearline_stream_dir

+25 -1

1 comment

2 changed files

zekth

pr closed time in 2 days

pull request commentdenoland/deno

[WIP] Add console.clearLine

After few thoughts it might be better to handle all the TTY manipulation in a proper module.

zekth

comment created time in 2 days

push eventzekth/deno

LE GOFF Vincent

commit sha c728173c5520758f298244203a1748bc056e6d4c

fix test

view details

push time in 2 days

issue commentdenoland/deno

deno 0.5.0 - http server crash with incoming https request

Resolved in denoland/deno_std#415?

not related. This PR solve the problem of handling the end of the mime header but not encrypted mime. So it will still try to read the mime header but will fail.

JoakimCh

comment created time in 2 days

PR opened denoland/deno

[WIP] Add console.clearLine

When using stdout.write you may have to rewrite the current line like done here: https://github.com/denoland/deno_std/pull/314/files

Example in node: https://nodejs.org/dist/latest-v6.x/docs/api/readline.html#readline_readline_clearline_stream_dir

+24 -0

0 comment

2 changed files

pr created time in 2 days

create barnchzekth/deno

branch : consoleclearline

created branch time in 2 days

push eventzekth/deno

Nikola Ristic

commit sha 551b56dd855945f0ea506ea83a06b90b1399aa47

Typo (#2337)

view details

Ryan Dahl

commit sha 23aca36d52220efbfbc07abbe165bd2c9ade2009

v0.5.0

view details

ztplz

commit sha 5e56e26c8baad08954cdc3ecac34923dcdc39c12

Typo (#2342)

view details

Ryan Dahl

commit sha 160a815767fc25b0439e57ef13a1082dfb05dc99

Rename HTTP benchmarks (#2350)

view details

Ryan Dahl

commit sha a00fa7056bb6493e3ca010afc4335f099dac0807

Fix command in docs (#2353)

view details

diskkid

commit sha 2508480465a25d5d87c407081feb6160f9707cab

Add error handling to dispatch_minimal::ops::read/write (#2349)

view details

Ryan Dahl

commit sha 7d25c559fc841816ac68282ba67e8f0c1fc069bd

Upgrade deno_std

view details

Ryan Dahl

commit sha e02d8bcf18f8170a41439f4ffa416d26c5846b6e

Remove FileInfo.path

view details

Yoshiya Hinosawa

commit sha 6a5893a26927e3c0329a510f870d2277387aaf30

fmt: use --write option of prettier/main.ts (#2363) This is step 1 of the plan outlined here: https://github.com/denoland/deno/issues/2090#issuecomment-492897028

view details

Atty Eleti

commit sha 6679c4807c1c77893f1d7e78eb0ce3417d3dc6a3

Fix typo in style guide (#2364)

view details

Daiki Ihara

commit sha 9c9c58c84d1b4eb75003533d5879cf4d79694969

Add permission whitelist docs (#2365)

view details

Bert Belder

commit sha 6ab2c350b7ece99e29f3f6fb433e3ec795846dc0

build: forward rustc '--cfg' flags correctly

view details

Bert Belder

commit sha 6e7ccf0b49bc3d15f48184064d9c2e3eb76b33f7

tools: format .gn files in the 'cli' directory

view details

Bert Belder

commit sha 3d6f0a85af061d4d3b1e761a6e1692c2e57ed86d

build: add support for rust proc-macro crates

view details

Bert Belder

commit sha e9c9d7163372a6ac24461624db14f39394af5e32

third_party: upgrade rust crates

view details

Bert Belder

commit sha 3ff240b963de8422e6c2567572dbc551aafb0797

third_party: add rust crate 'serde_derive'

view details

JaePil Jung

commit sha c3a30dd3c3ecf476ed01a2fbb7c7130e17b98340

Delete unnecessary console.log in test code (#2368)

view details

Stephan Renatus

commit sha e3e9021d23301ba7ee16dfb2eabc286de38a22cf

website: fix workers benchmark links (#2370) Signed-off-by: Stephan Renatus <srenatus@chef.io>

view details

Bartek Iwańczuk

commit sha 7f6549532c22e5e58deb37334fca06c949902e5f

Don't print new line if progress bar was not used (#2374)

view details

chiefbiiko

commit sha 00f6fa46b34b78e926a907ee24faec78a65eafc1

Add crypto.getRandomValues() (#2327)

view details

push time in 2 days

delete branch zekth/deno_easypath

delete branch : doc

delete time in 2 days

push eventzekth/deno_easypath

Vincent LE GOFF

commit sha 625503b9e174ffc785e26f80c61c3adc78bc7156

Doc (#1)

view details

push time in 2 days

PR merged zekth/deno_easypath

[WIP] Doc

cc @bartlomieju

+83 -9

1 comment

2 changed files

zekth

pr closed time in 2 days

push eventzekth/deno_easypath

LE GOFF Vincent

commit sha f73a3e6c87bd7b768fe90f88f83a99bec45b0180

Typo + dynamic getters

view details

push time in 2 days

delete branch zekth/deno_easypath

delete branch : bump5

delete time in 2 days

push eventzekth/deno_easypath

Vincent LE GOFF

commit sha f7642197074f9baf889906407153de0937c65fe3

bump 0.5 (#2)

view details

push time in 2 days

PR merged zekth/deno_easypath

bump 0.5
+1 -1

0 comment

1 changed file

zekth

pr closed time in 2 days

PR opened zekth/deno_easypath

bump 0.5
+1 -1

0 comment

1 changed file

pr created time in 2 days

create barnchzekth/deno_easypath

branch : bump5

created branch time in 2 days

pull request commentzekth/deno_easypath

[WIP] Doc

Me gusta. Looks like CI is failing randomly

Yes. Seems like a legacy error in 0.4.0 Will update the CI and the tests to fit 0.5.0 (filepath change)

zekth

comment created time in 2 days

pull request commentdenoland/deno_std

Clean up HTTP async iterator code

@zekth I don't know. Is there a test for this issue?

Not atm because we use Headers in test and not raw HTTP which don't give use the flexibility of sending anything we want in the request.

But i can write some like done in : https://github.com/denoland/deno_std/blob/master/http/racing_server_test.ts

For ref: https://github.com/denoland/deno/issues/2346

ry

comment created time in 2 days

pull request commentdenoland/deno_std

Clean up HTTP async iterator code

Is this PR may fix the issue of malformed or encrypted mime headers? https://github.com/denoland/deno_std/pull/411/files#diff-2e4c2adf52a4573569ea4cebb26b523eR235

Returning an error 400 if the request can't be properly read.

ry

comment created time in 2 days

push eventzekth/deno_easypath

LE GOFF Vincent

commit sha a52187c118581403ae6738c2a4643bd89ac80346

fix

view details

push time in 2 days

PR opened zekth/deno_easypath

[WIP] Doc
+29 -5

0 comment

2 changed files

pr created time in 2 days

create barnchzekth/deno_easypath

branch : doc

created branch time in 2 days

Pull request review commentdenolib/awesome-deno

fixing urls and names

 Consider submitting to [the deno.land/x](https://github.com/denoland/registry/bl  ## Chinese -- [deno.js.cn](https://deno.js.cn/)

nop. I just found it's registered by @justjavac . Is there a problem?

zekth

comment created time in 2 days

issue commentdenoland/deno_std

[Documentation] Typedoc

Is matching ts version with deno a hard requirement?

Problem is the code does not compile in the Typedoc env 😢

zekth

comment created time in 2 days

delete branch zekth/deno_std

delete branch : proto

delete time in 2 days

push eventzekth/awesome-deno

LE GOFF Vincent

commit sha 971ddddfca78212d4b7075514b736a7dcbdca980

Delete 404 link

view details

push time in 2 days

issue commentdenoland/deno_std

[Documentation] Typedoc

At the moment the Typedoc version is 0.14.2 and it embeds typescript 3.2.4. This does not compile our code. The next release 0.15.0 embeds typescript 3.3.X which is still behind us.

We'll still have to wait for the auto Documentation of the API.

zekth

comment created time in 2 days

push eventzekth/deno_std

LE GOFF Vincent

commit sha d61aae7bcd7940d7f5b5d7f4bb61fd3f4d4639d0

fit to golang mod

view details

push time in 2 days

Pull request review commentdenoland/deno_std

Fix #409 handle multipart header in mime reader

 export class TextProtoReader {      while (true) {       let [kv, err] = await this.readLineSlice(); // readContinuedLineSlice-      if (kv.byteLength == 0) {++      // If we encounter an empty line with a space+      // it's the end of mime headers+      if (+        kv.length === kv.filter((x): boolean => x === charCode(" ")).length ||+        kv.byteLength === 0+      ) {

I think readlineSlice miss some part of the golang function: https://github.com/golang/go/blob/1ab063ce532f72851cef735238ba656cc7680b66/src/net/textproto/reader.go#L123

This part: https://github.com/golang/go/blob/1ab063ce532f72851cef735238ba656cc7680b66/src/net/textproto/reader.go#L150

I'm change this is better this way yes.

zekth

comment created time in 3 days

pull request commentdenoland/deno_std

Fix #409 handle multipart header in mime reader

I've handled the case of multispace line because we can't really be sure how clients handle this separation.

zekth

comment created time in 3 days

push eventzekth/deno_std

LE GOFF Vincent

commit sha 65eb01e596eddeccff886232c712ffe61cae8b16

review

view details

push time in 3 days

push eventzekth/deno_std

LE GOFF Vincent

commit sha 5c89b3cfdd6d51c5e81092ffff2d7a01d7198a65

fix multispace

view details

push time in 3 days

PR opened denoland/deno_std

Fix #409 handle multipart header in mime reader

fix https://github.com/denoland/deno_std/issues/409

So the problem was in this http headers:

Host: localhost:8000
Connection: keep-alive
Content-Length: 136
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36
Cache-Control: no-cache
Origin: chrome-extension://fhbjgbiflinjbdggehcddcbncdddomop
Postman-Token: a5b88a02-b7af-2296-42ba-a9c33ed4206f
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryimeZ2Le9LjohiUiG
Accept: */*
Accept-Encoding: gzip, deflate, br
Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7
Content-Disposition: form-data; name="test"
 <- There is a space character here
------WebKitFormBoundaryimeZ2Le9LjohiUiG--

So the reader was continuing to read or it was the end of the mime headers

+22 -1

0 comment

2 changed files

pr created time in 3 days

create barnchzekth/deno_std

branch : proto

created branch time in 3 days

issue commentdenoland/deno_std

readMIMEHeader exception: malformed MIME header line

I can reproduce. Working on it.

irustm

comment created time in 3 days

push eventzekth/deno_std

Axetroy

commit sha ab5b0887ccde0ad9f00f1943e27bd73bc483833b

feat(fs): add copy/copySync (#278)

view details

Ryan Dahl

commit sha c2f5a7cf2206a9a476e0e9b116db00ced327f188

readme: loose port of go's std lib (#413)

view details

push time in 3 days

issue commentdenoland/deno_std

import https://github.com/lucascaro/deno-uuid into deno_std

https://github.com/denoland/deno/pull/2327 would be revelant to use in deno-uuid no?

ry

comment created time in 3 days

issue openeddenoland/deno_std

[http] Promote use of enums

After seeing this : https://github.com/denoland/deno_std/pull/411/files#diff-b462a10d351b72f15940c98312099c4eL11

I thought it would be revelant to promote the use of http_status enumerable in the doc instead of direct use of http code.

ref: https://github.com/denoland/deno_std/blob/master/http/http_status.ts

created time in 3 days

push eventzekth/deno_easypath

Vincent LE GOFF

commit sha f85c7f0d6a8d2813e3043870a93581418169e323

fixing chaining sync / async

view details

push time in 4 days

delete branch zekth/registry

delete branch : add_easy

delete time in 4 days

issue commentdenoland/deno

deno fetch sometime exits with code 134 on Linux

Got the same issue here : https://travis-ci.org/zekth/deno_easypath/builds/533500713 but CI is running on 0.4.0 on both failing pipelines

keroxp

comment created time in 4 days

PR opened denoland/registry

easypath addition
+4 -0

0 comment

1 changed file

pr created time in 4 days

create barnchzekth/registry

branch : add_easy

created branch time in 4 days

push eventzekth/registry

Vincent LE GOFF

commit sha 3cf4fc1dadfcf810d76583eb38ee8ffdecd7c9d7

Module additions (#89)

view details

push time in 4 days

push eventzekth/deno_easypath

LE GOFF Vincent

commit sha 5fd45949f9d38e3cbf1653b9a8fe3bb5433a7689

doc + lint

view details

push time in 4 days

push eventzekth/deno_easypath

LE GOFF Vincent

commit sha 1d54accc6dbed15843a1c8a430e422a872fdb188

add copy

view details

push time in 4 days

push eventzekth/deno_std

Vincent LE GOFF

commit sha 49ae9439f71228326c1328d89502e437c00928fc

datetime: timezone fix in toIMF (#400)

view details

Axetroy

commit sha d097e319e84b1155f2406e7d49fdf68a8d6ee161

fs: Remove completed todo item (#406)

view details

Yusuke Sakurai

commit sha 782e3f690ffb9ee0dd89a5a64a3f2b753899719b

feat: ws client (#394)

view details

Ryan Dahl

commit sha 07ca4f9629769a75bad11bb1059a7809d7f90db8

walk() should not use deprecated FileInfo.path (#398) The walk() interface is change to return a WalkInfo object which contains both the resolved filename and FileInfo object from stat. The followSymlinks feature is disabled for now.

view details

Jun Kato

commit sha 79d5f556ba22d6fa9426825234cc8c49d37caf2c

fix(http): Skip 0 chunks when writing body (#387)

view details

Ryan Dahl

commit sha cd869c9cc8492cd6eda5e15f20c851e39088e20f

ci: bump to v0.5.0

view details

Ryan Dahl

commit sha 9e8e6f9356f75a68a20cf04d9620621485f5d1a0

ws: make acceptable() more robust (#404)

view details

Ryan Dahl

commit sha f10ea7317e68dd9c1d272e7fff7e9531c301e07c

http_bench: print address (#374)

view details

Jun Kato

commit sha 98257ef30319bd77ac36626291ff589e84ea88cd

feat: add Tar and Untar classes (#388) Ported from danoweb https://github.com/arcatdmz/danoweb/blob/fccb5bfc60866521c96abd31f35ddca1f508e63f/server/tar.ts https://github.com/arcatdmz/danoweb/blob/fccb5bfc60866521c96abd31f35ddca1f508e63f/server/tar_test.ts

view details

push time in 5 days

push eventzekth/deno_easypath

Vincent LE GOFF

commit sha d7305005296a4ac32f3b464f137825d25a559da5

improve sort

view details

push time in 5 days

push eventzekth/deno_easypath

Vincent LE GOFF

commit sha eff88c6b47c0a5e0ad7f593e1c5337dfbbd06fa4

disable sort

view details

push time in 5 days

issue commentdenoland/deno_std

readMIMEHeader exception: malformed MIME header line

Is your cache up to date for deno_std? Could you run it with --reload ?

irustm

comment created time in 5 days

push eventzekth/deno_easypath

Vincent LE GOFF

commit sha 3e0347f833f23b183240c6b5808d2c02f78d05f1

Improved LS

view details

push time in 5 days

issue closeddenoland/deno

[bug] windows : deno.run.status

As seen in : https://github.com/denoland/deno/pull/2294

There is a moment when the promise of deno.run.status() is never resolved. On a bare script works like a charm with 0 or 1 output. Seems like the problem might be in the test runner of deno or the one of deno_std

ref: https://github.com/denoland/deno/pull/2294#pullrequestreview-235035105

cc @bartlomieju

closed time in 5 days

zekth

issue commentdenoland/deno_std

Consider porting path.swift

Improved the API and the chaining: https://github.com/zekth/deno_easypath

Also waiting for https://github.com/denoland/deno_std/pull/278 to land for copy and will work on LS to be as tied as path.swift.

Suggestions welcome.

Thanks to @bartlomieju for the contributing.

ry

comment created time in 5 days

push eventzekth/deno_easypath

Vincent LE GOFF

commit sha 31d974d998af958bfc63037eaa9512d853c9c071

api update

view details

push time in 5 days

push eventzekth/deno_easypath

Vincent LE GOFF

commit sha 3edea2a1cd871597672555dcf5abd8b2580b815e

api improvement + tests + doc

view details

push time in 5 days

push eventzekth/deno_easypath

LE GOFF Vincent

commit sha e0e9155a1ea806c025d18df18bc68bb0a7567cf7

added dynamic getters and doc

view details

push time in 6 days

push eventzekth/deno_easypath

LE GOFF Vincent

commit sha df4149c7183b3b4288f9bfd108f020fbbb064a0b

added property proxy

view details

push time in 6 days

push eventzekth/deno_easypath

Vincent LE GOFF

commit sha 4d6bb52f336b537732459c955702826e28b2417d

typo

view details

push time in 7 days

push eventzekth/deno_easypath

Vincent LE GOFF

commit sha 27394a508ced2320feb99f1515539ef10f0f95b9

add exec execSync logic

view details

push time in 7 days

push eventzekth/deno_easypath

Vincent LE GOFF

commit sha 98347aa982d87d22c51bf2f41e0fe859ba8519e0

foo deletion

view details

push time in 7 days

push eventzekth/deno_easypath

Vincent LE GOFF

commit sha 99b50b89c13abd64d7ec2b22c5b539b201b76c4b

pass async as parameter

view details

Vincent LE GOFF

commit sha d2cd6c3bf5a31418225b1acb4d765deffee393f3

API change + readme addition

view details

push time in 7 days

issue openeddenoland/deno

[Listen] AddrInUse issue

Here is the explanation of a problem i've spottend in this PR: https://github.com/denoland/deno/pull/2269

listenner.close(); does not wait the real drop of the tokio tcplistenner. So there is a bit of time when the port will be free. It also may be due to TIME_WAIT tcp flag: http://www.serverframework.com/asynchronousevents/2011/01/time-wait-and-its-design-implications-for-protocols-and-scalable-servers.html

https://github.com/denoland/deno/blob/master/cli/resources.rs#L176

I have found some answers but i don't know if it's revelant for our case: https://stackoverflow.com/questions/48334079/is-it-possible-to-close-a-tcplistener-in-tokio

example:

async function main() {
  const listener1 = Deno.listen("tcp", ":4500");
  listener1.accept().then(
    async (conn): Promise<void> => {
      await conn.write(new Uint8Array([1, 2, 3]));
      conn.close();
    }
  );
  const conn = await Deno.dial("tcp", "127.0.0.1:4500");

  const buf = new Uint8Array(1024);
  const readResult = await conn.read(buf);
  listener1.close();
  conn.close();
  const listener2 = Deno.listen("tcp", ":4500");
  listener2.close();
}
main();

output:

Uncaught AddrInUse: Only one usage of each socket address (protocol/network address/port) is normally permitted. (os error 10048)
    at DenoError (js/errors.ts:22:5)
    at maybeError (js/errors.ts:33:12)
    at maybeThrowError (js/errors.ts:39:15)
    at sendSync (js/dispatch.ts:114:5)
    at listen (js/net.ts:152:19)
    at main (file:///C:/Users/vlegoff/Desktop/deno Demo/foo.ts:15:26)

created time in 7 days

issue commentdenoland/deno_std

[discussion] text template

@kitsonk i'm ok to stick with ES syntax. The module i've written handle this, but i have to add the logic to render logic of functions.

import { Template } from "./mod.ts";
const t = new Template("hello ${foo}", {openBracket: '${', closeBracket:'}'});

Also we need to find a symbol for conditionnal statements if we want to add it.

zekth

comment created time in 7 days

issue commentdenoland/deno

deno 0.5.0 - http server crash with incoming https request

@ry as HTTPS is not implemented yet a solution would be to do a redirect on http protocol? Or return an error 503?

JoakimCh

comment created time in 7 days

issue openeddenoland/deno

[discussion] Deno.Open('/dev/urandom')

As everything is a file in Linux when we want to read /dev/urandom we need to grant permission to it. Which in a case fits the philosophy of Deno, but in another case is problematic because reading urandom does not make a security breach. Same for /dev/null. Which i faced in : https://github.com/denoland/deno/pull/2152

What's your thought about it?

created time in 7 days

delete branch zekth/registry

delete branch : addition

delete time in 7 days

push eventzekth/awesome-deno

Vincent LE GOFF

commit sha 073faee651f6bce6970cc62bd1c3dbd15105208e

Update README.md

view details

push time in 7 days

PR opened denolib/awesome-deno

fixing urls and names
+2 -2

0 comment

1 changed file

pr created time in 7 days

create barnchzekth/awesome-deno

branch : fix

created branch time in 7 days

push eventzekth/deno_random_interval

Vincent LE GOFF

commit sha c6dff0c0d9a16278e8d7c5800eb5c4fa2c6d9e9c

Update README.md

view details

push time in 7 days

push eventzekth/deno_random_interval

Vincent LE GOFF

commit sha f2c9589f92607897a8b7b95daa98703696310e6c

Update README.md

view details

push time in 7 days

push eventzekth/deno_case_style

Vincent LE GOFF

commit sha d959b59ea20ce4e0604934b06b129e972ed3b89b

Update README.md

view details

push time in 7 days

push eventzekth/registry

LE GOFF Vincent

commit sha 181ca6a3deb5ce04d5421fc9641a0222063251bd

templates name change

view details

push time in 7 days

more