Trying to trace down a problem and don't know where it occurs in mojo. I put debug statements into Routes.pm and Controller.pm in every subroutine to try and find where it is done, but it doesn't change in any of these I can find.
If you look at the lines below I have highlighted it starts as controller = auth action = test But somewhere it gets changed to controller = ws I'm trying to find in the mojulicious source where this get created. If I can see why the ws is prepended I should be able to trace back to what causes it. Heres from the debug log : "POST /auth/test HTTP/1.0 Host: 10.1.254.47:8000 Connection: close Content-Length: 36 Cache-Control: max-age=0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 Origin: http://10.1.254.47:8000 Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36 Content-Type: application/x-www-form-urlencoded Referer: http://10.1.254.47:8000/auth/test/view Accept-Encoding: gzip, deflate Accept-Language: en-US,en;q=0.8 " 2016/05/23 10:18:03 [debug] 3690#0: *83 http cleanup add: 00000000023401F8 2016/05/23 10:18:03 [debug] 3690#0: *83 get rr peer, try: 1 2016/05/23 10:18:03 [debug] 3690#0: *83 socket 12 2016/05/23 10:18:03 [debug] 3690#0: *83 epoll add connection: fd:12 ev:80000005 2016/05/23 10:18:03 [debug] 3690#0: *83 connect to 10.1.254.47:8000, fd:12 #84 2016/05/23 10:18:03 [debug] 3690#0: *83 http upstream connect: -2 2016/05/23 10:18:03 [debug] 3690#0: *83 event timer add: 12: 60000:1464016743891 2016/05/23 10:18:03 [debug] 3690#0: *83 http finalize request: -4, "/auth/test?" a:1, c:2 2016/05/23 10:18:03 [debug] 3690#0: *83 http request count:2 blk:0 *2016/05/23 10:18:03 [debug] 3690#0: *83 http run request: "/auth/test?"* 2016/05/23 10:18:03 [debug] 3690#0: *83 http upstream check client, write event:1, "/auth/test" 2016/05/23 10:18:03 [debug] 3690#0: *83 http upstream recv(): -1 (11: Resource temporarily unavailable) 2016/05/23 10:18:03 [debug] 3690#0: *83 http upstream request: "/auth/test?" 2016/05/23 10:18:03 [debug] 3690#0: *83 http upstream send request handler 2016/05/23 10:18:03 [debug] 3690#0: *83 http upstream send request 2016/05/23 10:18:03 [debug] 3690#0: *83 chain writer buf fl:0 s:562 2016/05/23 10:18:03 [debug] 3690#0: *83 chain writer buf fl:1 s:36 2016/05/23 10:18:03 [debug] 3690#0: *83 chain writer in: 0000000002340250 2016/05/23 10:18:03 [debug] 3690#0: *83 writev: 598 2016/05/23 10:18:03 [debug] 3690#0: *83 chain writer out: 0000000000000000 2016/05/23 10:18:03 [debug] 3690#0: *83 event timer del: 12: 1464016743891 2016/05/23 10:18:03 [debug] 3690#0: *83 event timer add: 12: 60000:1464016743892 2016/05/23 10:18:04 [debug] 3690#0: accept on 0.0.0.0:80, ready: 0 2016/05/23 10:18:04 [debug] 3690#0: posix_memalign: 0000000002348C40:256 @16 2016/05/23 10:18:04 [debug] 3690#0: *85 accept: 10.1.254.47 fd:13 2016/05/23 10:18:04 [debug] 3690#0: *85 event timer add: 13: 60000:1464016744053 2016/05/23 10:18:04 [debug] 3690#0: *85 epoll add event: fd:13 op:1 ev:80000001 2016/05/23 10:18:04 [debug] 3690#0: *85 malloc: 0000000002348D50:1296 2016/05/23 10:18:04 [debug] 3690#0: *85 posix_memalign: 0000000002349270:256 @16 2016/05/23 10:18:04 [debug] 3690#0: *85 malloc: 000000000238D630:1024 2016/05/23 10:18:04 [debug] 3690#0: *85 posix_memalign: 0000000002340E80:4096 @16 2016/05/23 10:18:04 [debug] 3690#0: *85 http process request line 2016/05/23 10:18:04 [debug] 3690#0: *85 recv: fd:13 186 of 1024 *2016/05/23 10:18:04 [debug] 3690#0: *85 http request line: "POST /ws/auth/test HTTP/1.1"* 2016/05/23 10:18:04 [debug] 3690#0: *85 http uri: "/ws/auth/test" 2016/05/23 10:18:04 [debug] 3690#0: *85 http args: "" 2016/05/23 10:18:04 [debug] 3690#0: *85 http exten: "" -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/d/optout.
