Displaying #traffic-server/2015-11-13.log:

Fri Nov 13 01:48:56 2015  felicity:Joined the channel
Fri Nov 13 02:41:40 2015  es:Joined the channel
Fri Nov 13 02:42:08 2015  skaji:Joined the channel
Fri Nov 13 02:55:45 2015  psp:Joined the channel
Fri Nov 13 03:02:04 2015  psp:Left the channel
Fri Nov 13 03:07:38 2015  briang:What time is everyone meeting for the hackathon? got a new flight and will arrive 9pm Saturday so I should be able to attend. jacksontj zwoop amc ?
Fri Nov 13 03:37:59 2015  amc:briang - Not sure, I'm arriving Saturday as well.
Fri Nov 13 03:38:21 2015  briang:cool, where are you and dr. h staying?
Fri Nov 13 03:50:35 2015  zwoop:briang I told Yahoo that we'd start around 9am on Sunday
Fri Nov 13 03:50:43 2015  zwoop:I'm flying in Sat night as well (red-eye)
Fri Nov 13 03:50:55 2015  briang:cool zwoop
Fri Nov 13 03:51:11 2015  briang:I'll be super jetlagged so i'll likley be up pretty early
Fri Nov 13 03:51:24 2015  briang:if you wanna grab breakfast sunday morning
Fri Nov 13 03:52:28 2015  zwoop:where are you staying ?
Fri Nov 13 03:56:56 2015  briang:this place called larkspur landing on mathilda
Fri Nov 13 03:57:10 2015  briang:you?
Fri Nov 13 03:57:32 2015  zwoop:Down on Wolf and 280
Fri Nov 13 03:57:51 2015  briang:on right next to your campus
Fri Nov 13 03:57:55 2015  briang:oh*
Fri Nov 13 03:59:02 2015  amc:Larkspur - I think I stayed there once. It's nice.
Fri Nov 13 03:59:06 2015  zwoop:the new campus yeah
Fri Nov 13 03:59:10 2015  amc:I'm at the the COuntry Inn and Suites or something like that.
Fri Nov 13 03:59:17 2015  zwoop:yeah, I'm not a baller like you guys, I'm slumming it
Fri Nov 13 03:59:51 2015  zwoop:I come to SFO around 8:30pm I think, but probably won't be in Sunnyvale until 10pm I'd imagine
Fri Nov 13 03:59:57 2015  amc:Just following Dr. H's orders.
Fri Nov 13 04:00:07 2015  zwoop:if anyone is awake, we should have beer at the Duke of Edinburgh
Fri Nov 13 04:00:10 2015  amc:(she's so cheap, she's making me share a hotel room with her)
Fri Nov 13 04:00:20 2015  zwoop:that poor woman
Fri Nov 13 04:09:39 2015  Humbedooh:I used to have an imaginary business called Dr. H
Fri Nov 13 04:09:50 2015  Humbedooh:it won first price in some contest
Fri Nov 13 04:39:37 2015  gancho:Joined the channel
Fri Nov 13 04:47:18 2015  masaori:amc: Me and Ryo going to stay Larkspur too
Fri Nov 13 05:39:52 2015  gancho:Joined the channel
Fri Nov 13 05:52:55 2015  _klk_:Joined the channel
Fri Nov 13 06:13:43 2015  psp:Joined the channel
Fri Nov 13 06:16:36 2015  briang:masaori, I'll also be at larkspur
Fri Nov 13 06:16:57 2015  briang:zwoop, I'll be landing around 9pm too
Fri Nov 13 06:17:05 2015  briang:we should do a beer saturday night
Fri Nov 13 06:17:13 2015  masaori:briang: good! many ats hackers stay Larkspur:D
Fri Nov 13 06:17:19 2015  briang:lol :)
Fri Nov 13 06:17:27 2015  masaori:yeah!
Fri Nov 13 06:17:45 2015  briang:zwoop, I think duke of edinburgh is across from larkspur landing
Fri Nov 13 06:18:00 2015  briang:wait nope
Fri Nov 13 06:18:08 2015  briang:it's somewhere on wolfe
Fri Nov 13 06:18:59 2015  briang:masaori, when do you guys arrive?
Fri Nov 13 06:19:15 2015  masaori:I'm going to arrive to sunnyvale at 16:35. And go dinner with PSUdaemon:D
Fri Nov 13 06:22:08 2015  masaori:oops, not sunnyvale, 16:35 @ SFO actually
Fri Nov 13 06:36:56 2015  briang:16:35 saturday I assume?
Fri Nov 13 06:37:03 2015  briang:PSUdaemon, where u staying?
Fri Nov 13 06:39:52 2015  masaori:briang: yes, Nov 14 16:35 saturday at SFO
Fri Nov 13 09:21:30 2015  Lethalman:Joined the channel
Fri Nov 13 10:29:31 2015  Lethalman:Joined the channel
Fri Nov 13 10:34:31 2015  lrea:Joined the channel
Fri Nov 13 11:53:45 2015  niq:Joined the channel
Fri Nov 13 11:53:45 2015  niq:Joined the channel
Fri Nov 13 13:10:52 2015  JSeymour:Joined the channel
Fri Nov 13 14:19:12 2015  shinrich1:Joined the channel
Fri Nov 13 14:21:12 2015  niq:Joined the channel
Fri Nov 13 14:31:35 2015  esproul:Joined the channel
Fri Nov 13 15:15:18 2015  danielxu:Joined the channel
Fri Nov 13 15:19:17 2015  Lethalman:Joined the channel
Fri Nov 13 15:50:59 2015  PSUdaemon:briang: the domain
Fri Nov 13 15:55:09 2015  PSUdaemon:if i had known this larkspur landing was the place to go...
Fri Nov 13 15:57:48 2015  gancho:Joined the channel
Fri Nov 13 16:22:55 2015  danielxu:Is there some kind of numerical limitation with remap rules in remap.config?
Fri Nov 13 16:23:05 2015  danielxu:I'm seeing a weird issue when I have two remap rules like this:
Fri Nov 13 16:23:42 2015  danielxu:map https://localhost:8081/9 https://httpbin.org/response-headers?Content-Type=text%2Fplain%3B+charset%3DUTF-8&Server=httpbin
Fri Nov 13 16:23:48 2015  blattj:Joined the channel
Fri Nov 13 16:24:07 2015  danielxu:map https://localhost:8081/10 https://httpbin.org/response-headers?Content-Type=text%2Fplain%3B+charset%3DUTF-8&Server=httpbin
Fri Nov 13 16:24:49 2015  danielxu:https://localhost:8081/9 will work but https://localhost:8081/10 will always fail with any url
Fri Nov 13 16:26:04 2015  danielxu:Fail as in get a 404 response
Fri Nov 13 16:26:34 2015  danielxu:I'm running SSL on port 8081 using a self signed cert
Fri Nov 13 16:28:54 2015  shinrich1:Does it work if you change the URI to nine and ten?
Fri Nov 13 16:29:35 2015  danielxu:Yes
Fri Nov 13 16:29:59 2015  shinrich1:Sounds like a bug to me then. You should file a jira
Fri Nov 13 16:31:26 2015  danielxu:I'm seeing something else now, it looks like its doing substring matches
Fri Nov 13 16:31:45 2015  danielxu:For example with these 2 rules:
Fri Nov 13 16:32:56 2015  danielxu:map https://localhost:8081/a https://httpbin.org/response-headers?Content-Type=text%2Fplain%3B+charset%3DUTF-8&Server=httpbin
Fri Nov 13 16:33:04 2015  danielxu:map https://localhost:8081/ab https://httpbin.org/image/svg
Fri Nov 13 16:33:18 2015  danielxu:Where it's remapped in that order
Fri Nov 13 16:36:24 2015  danielxu:Nevermind
Fri Nov 13 16:37:58 2015  amc:danielxu - with the ../10 failure, does that work if you put it before the ../1 rule?
Fri Nov 13 16:38:16 2015  es:Joined the channel
Fri Nov 13 16:45:39 2015  niq:Joined the channel
Fri Nov 13 16:45:39 2015  niq:Joined the channel
Fri Nov 13 17:14:12 2015  _klk_:Joined the channel
Fri Nov 13 17:14:36 2015  blattj:Joined the channel
Fri Nov 13 17:59:17 2015  zwoop:briang yeah, The Duke is across the street from my hotel ;)
Fri Nov 13 18:00:10 2015  es1:Joined the channel
Fri Nov 13 18:15:50 2015  gancho:Joined the channel
Fri Nov 13 18:32:35 2015  blattj:Joined the channel
Fri Nov 13 19:00:32 2015  danielxu_:Joined the channel
Fri Nov 13 19:35:57 2015  _klk_:Joined the channel
Fri Nov 13 19:41:18 2015  jrushford:Joined the channel
Fri Nov 13 20:01:16 2015  _klk_:Joined the channel
Fri Nov 13 20:15:37 2015  psp:Joined the channel
Fri Nov 13 20:15:49 2015  psp:Left the channel
Fri Nov 13 20:27:49 2015  zwoop:TS-4022
Fri Nov 13 20:28:02 2015  zwoop:bcall PSUdaemon I'm fairly certain this is as expected, can we just close this ?
Fri Nov 13 20:29:37 2015  PSUdaemon:shrugs
Fri Nov 13 20:31:57 2015  amc:Hmmm. I spoke with Daniel about that. He told me he would get a 404 in that case.
Fri Nov 13 20:32:07 2015  amc:That paths with leading digits didn't match at all.
Fri Nov 13 20:32:32 2015  amc:And that switching the order didn't fix the problem.
Fri Nov 13 20:32:42 2015  zwoop:Hmmm
Fri Nov 13 20:32:45 2015  zwoop:maybe that's a bug ?
Fri Nov 13 20:32:57 2015  zwoop:the anchor was definitely added to deal with exactly these issues
Fri Nov 13 20:33:01 2015  amc:What is in the bug isn't what I got direct from dxu.
Fri Nov 13 20:33:21 2015  amc:If you have a .../1 and a .../10 and get 404 for a url with a leading 1, that's wrong.
Fri Nov 13 20:33:34 2015  zwoop:oh
Fri Nov 13 20:33:51 2015  amc:Let me comment.
Fri Nov 13 20:34:09 2015  zwoop:I guess I didn't read it properly
Fri Nov 13 20:34:14 2015  zwoop:yeah, that seems totally bogus
Fri Nov 13 20:34:25 2015  zwoop:actually, no
Fri Nov 13 20:34:27 2015  zwoop:it's as designed
Fri Nov 13 20:34:42 2015  PSUdaemon:zwoop: i don't see how that's possible
Fri Nov 13 20:34:48 2015  PSUdaemon:we don't design anything around here...
Fri Nov 13 20:34:51 2015  zwoop:map http://example.com/foo
Fri Nov 13 20:34:56 2015  zwoop:meh
Fri Nov 13 20:35:05 2015  zwoop:map http://example.com/foo http://origin.example.com
Fri Nov 13 20:35:24 2015  zwoop:a request like http://example.com/foo/bar yields an origin request like http://origin.example.com/bar
Fri Nov 13 20:35:28 2015  zwoop:that's definitely by design
Fri Nov 13 20:35:30 2015  amc:No, what's in the bug description is consistent with the anticipated behavior.
Fri Nov 13 20:35:41 2015  zwoop:yep
Fri Nov 13 20:36:03 2015  amc:What I thought was happening was: rule "map http://blah.com/1 http://httpbin.org" and when you hit that with
Fri Nov 13 20:36:09 2015  zwoop:a request like http://example.com/foobar -> http://origin.example.com/bar
Fri Nov 13 20:36:18 2015  amc:URL "http://blah.com/122.html" no rule would match.
Fri Nov 13 20:36:25 2015  zwoop:that's not what I'm reading
Fri Nov 13 20:36:29 2015  amc:Correct.
Fri Nov 13 20:36:37 2015  zwoop:he says that the request to origin then would become http://blah.com/22.html
Fri Nov 13 20:36:40 2015  zwoop:which is as expected
Fri Nov 13 20:36:52 2015  amc:Right. I spoke with him in person and got a different description.
Fri Nov 13 20:36:57 2015  zwoop:ah, roger
Fri Nov 13 20:37:40 2015  amc:That behavior sounded like an actual bug. because he had some ".../a" and ".../ab" URLs as well that had this happen and that was fixed when he re-ordered them.
Fri Nov 13 20:38:01 2015  zwoop:the match is greedy for sure
Fri Nov 13 20:38:07 2015  zwoop:not greedy
Fri Nov 13 20:38:09 2015  zwoop:first match wins
Fri Nov 13 20:38:20 2015  amc:Yeah, but I thought if he still had problems with leading digits it was something else.
Fri Nov 13 20:38:53 2015  amc:Unfortunately I'm at home trying to pack and not at the office.
Fri Nov 13 20:39:06 2015  zwoop:well, lets have Daniel update the Jira with some more details, and remap rules etc. to reproduce (using httpbin.org is a great way to show a broken use case)
Fri Nov 13 20:39:28 2015  amc:Yeah, pinging him now.
Fri Nov 13 20:39:32 2015  zwoop:cool
Fri Nov 13 20:40:19 2015  amc:Unfortunately I won't have room to bring the Cool Hat this time.
Fri Nov 13 20:41:04 2015  zwoop:dammit
Fri Nov 13 20:41:13 2015  zwoop:I'll bring my Ask imprression hat
Fri Nov 13 20:41:48 2015  amc:Well, let me see what I can do. Maybe.
Fri Nov 13 20:42:03 2015  amc:Did you get my google hangout picture? You've been avoiding answering that :-)
Fri Nov 13 20:46:31 2015  zwoop:me ?
Fri Nov 13 20:46:33 2015  zwoop:where is it ?
Fri Nov 13 20:47:24 2015  danielxu_:I updated & closed the bug
Fri Nov 13 20:48:29 2015  danielxu_:One other thing, though: even when I flipped the order of the mapping where the longer uri was mapped first, ats still substituted the shorter remap rule in first
Fri Nov 13 20:48:34 2015  danielxu_:So for example
Fri Nov 13 20:48:54 2015  danielxu_:remap http://foo.com/a http://boo.com/asdf
Fri Nov 13 20:49:25 2015  danielxu_:remap http://foo.com/ab http://boo.com/asdfasdf
Fri Nov 13 20:49:30 2015  danielxu_:Sorry, those 2 rules should be flipped in order
Fri Nov 13 20:49:46 2015  danielxu_:The remapped uri would still be:
Fri Nov 13 20:50:11 2015  danielxu_:http://boo.com/asdfb
Fri Nov 13 20:50:30 2015  danielxu_:when I tried to connec to: http://foo.com/ab
Fri Nov 13 20:50:53 2015  danielxu_:I'll double check that behavior later
Fri Nov 13 20:51:19 2015  zwoop:cool, thanks
Fri Nov 13 21:35:53 2015  bcall:zwoop: yeah, that is expected behavior
Fri Nov 13 21:37:20 2015  bcall:if you reverse the oder of the remap rules then is should work
Fri Nov 13 21:37:26 2015  bcall:it
Fri Nov 13 21:40:14 2015  RamJett:Joined the channel
Fri Nov 13 21:42:48 2015  zwoop:right
Fri Nov 13 21:50:56 2015  es:Joined the channel
Fri Nov 13 22:18:58 2015  _klk_:Joined the channel
Fri Nov 13 22:28:24 2015  blattj:Joined the channel
Fri Nov 13 23:01:31 2015  blattj:Joined the channel
Fri Nov 13 23:47:54 2015  zwoop:es did you not have privileges to assign the Jira to yourself? You are listed as a contributor in the system, I thought that would let you do things like that.
Fri Nov 13 23:48:53 2015  sudheerv:zwoop: what needs to be done for someone to be able to create a PR on github?
Fri Nov 13 23:49:05 2015  zwoop:anyone can do that
Fri Nov 13 23:49:28 2015  zwoop:you fork the official ATS repo, make a branch, and then submit it as a pull request (I'm pretty sure)
Fri Nov 13 23:49:36 2015  sudheerv:i see - so, only fork?
Fri Nov 13 23:49:42 2015  sudheerv:you can't clone and create local branches/
Fri Nov 13 23:49:43 2015  sudheerv:?
Fri Nov 13 23:49:48 2015  zwoop:Yeah, fork https://github.com/apache/trafficserver
Fri Nov 13 23:50:02 2015  sudheerv:one of my colleagues was trying to clone and create local branches and was unable to do that
Fri Nov 13 23:50:10 2015  jpeach:sudheerv: come to the git tutorial at the hackathon ;)
Fri Nov 13 23:50:12 2015  sudheerv:ok, will let him try fork
Fri Nov 13 23:50:12 2015  zwoop:if you clone it, you can't commit to it
Fri Nov 13 23:50:27 2015  zwoop:so, have to fork to be able to "push" your branch into github
Fri Nov 13 23:50:31 2015  sudheerv:even if you create a private/local branch on the clone?
Fri Nov 13 23:50:36 2015  sudheerv:i see
Fri Nov 13 23:50:52 2015  zwoop:yeah, somehow it must get pushed into github for a pull request to be possible.
Fri Nov 13 23:50:57 2015  sudheerv:jpeach: yeah, git's soooo interesting :)
Fri Nov 13 23:51:09 2015  zwoop:jpeach I'm really looking forward to finally learn git!
Fri Nov 13 23:51:32 2015  sudheerv:(i hate git :) )
Fri Nov 13 23:51:39 2015  zwoop:jpeach we have to have a tsqa discussion too, unfortunately jacksontj isn't coming to the hackathon
Fri Nov 13 23:51:40 2015  es:zwoop: i can't seem to assign it to myself but perhaps it's different than JIRAs on our internal version? i can create the tickets just fine though
Fri Nov 13 23:51:41 2015  sudheerv:but, that's only bcoz i'm ignorant with it
Fri Nov 13 23:51:53 2015  zwoop:es weird. Well, I assigned it to you.
Fri Nov 13 23:51:57 2015  felicity:sudheerv: clone apache/trafficserver to sudheerv/trafficserver, git clone git@github.com:subheerv/trafficserver.git; cd trafficserver; git branch -b ts1234; vi ...; git commit -am 'TS-1234 Provide more chocolate with TS'; git push; go to github.com/sudheerv/trafficserver, click 'create pull request'.
Fri Nov 13 23:51:57 2015  es:thank you
Fri Nov 13 23:52:10 2015  zwoop:anyone registered can create a ticket, I thought making you "contributor" would let you assign tickets.
Fri Nov 13 23:52:27 2015  sudheerv:felicity: :) all of that works for me already :)
Fri Nov 13 23:52:30 2015  zwoop:felicity you coming to the summit / hackathon?
Fri Nov 13 23:52:36 2015  felicity:zwoop: sadly no
Fri Nov 13 23:52:39 2015  zwoop:doh
Fri Nov 13 23:52:42 2015  sudheerv:it's for another colleague of mine that it doesn't work unfortunatley
Fri Nov 13 23:52:56 2015  sudheerv:felicity: is far away in london somewhere?
Fri Nov 13 23:53:24 2015  felicity:sudheerv: it should work, i've created plenty of PRs and i don't have any special permissions. maybe they tried to push the branch back to apache/trafficserver?
Fri Nov 13 23:53:43 2015  sudheerv:yeah, i haven't really checked what he did, but was surprised to hear he ran into issues
Fri Nov 13 23:53:54 2015  blattj:Joined the channel
Fri Nov 13 23:53:59 2015  sudheerv:i was too lazy and asked him to just attach a patch to the jira.
Fri Nov 13 23:54:10 2015  sudheerv:will try to check where it failed him..

Comments