Code Monkey home page Code Monkey logo

golden's Introduction

golden's People

Contributors

ftoledo avatar johndovey avatar ruditimmermans avatar vit1251 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

golden's Issues

Binkp TCP connection not closed

Binkp TCP connection not closed after sending and receiving all files.
When starting new mailer session, created new connection and boss node says M_BSY

Unsafe kludge parsing TZUTC

2020/05/06 01:48:47 http: panic serving 127.0.0.1:34814: runtime error: index out of range [0] with length 0
goroutine 7442 [running]:
net/http.(*conn).serve.func1(0x9c7c840)
        /usr/lib/golang/src/net/http/server.go:1767 +0xed
panic(0x8541740, 0x9da35e0)
        /usr/lib/golang/src/runtime/panic.go:679 +0x16b
github.com/vit1251/golden/pkg/fidotime.(*TimeZoneParser).Parse(0x9ca56f0, 0x0, 0x0, 0x2, 0x0, 0x0)
        /home/user/src/golden/pkg/fidotime/TimeZoneParser.go:20 +0x340
github.com/vit1251/golden/pkg/tosser.(*Tosser).processNewEchoMessage(0x9d5c6a0, 0x9c529c0, 0x9d5cce0, 0x700, 0x9d5cce0)
        /home/user/src/golden/pkg/tosser/Tosser_Inbound.go:208 +0x455
github.com/vit1251/golden/pkg/tosser.(*Tosser).processNewMessage(0x9d5c6a0, 0x9c529c0, 0x9f70000, 0x573, 0x700, 0x0, 0x0)
        /home/user/src/golden/pkg/tosser/Tosser_Inbound.go:80 +0xca
github.com/vit1251/golden/pkg/tosser.(*Tosser).ProcessPacket(0x9d5c6a0, 0x9cd5080, 0x27, 0x0, 0x0)
        /home/user/src/golden/pkg/tosser/Tosser_Inbound.go:306 +0x10f
github.com/vit1251/golden/pkg/tosser.(*Tosser).processARCmail(0x9d5c6a0, 0x9d5d420, 0x9c47998, 0x1)
        /home/user/src/golden/pkg/tosser/Tosser_Inbound.go:368 +0x219
github.com/vit1251/golden/pkg/tosser.(*Tosser).ProcessInbound(0x9d5c6a0, 0x14, 0x0)
        /home/user/src/golden/pkg/tosser/Tosser_Inbound.go:469 +0x281
github.com/vit1251/golden/pkg/tosser.(*Tosser).Toss(0x9d5c6a0)
        /home/user/src/golden/pkg/tosser/Tosser.go:44 +0x63
github.com/vit1251/golden/pkg/tosser.(*TosserManager).Toss(0x9d81a90)
        /home/user/src/golden/pkg/tosser/TosserManager.go:415 +0x2f
github.com/vit1251/golden/pkg/ui/api.(*APIServiceManageCompleteAction).ServeHTTP.func1(0x9d81a90)
        /home/user/src/golden/pkg/ui/api/APIServiceManageCompleteAction.go:99 +0x21
reflect.Value.call(0x84dc880, 0x858f2a0, 0x13, 0x856bd50, 0x4, 0x9c0e2a0, 0x1, 0x1, 0x1, 0x0, ...)
        /usr/lib/golang/src/reflect/value.go:460 +0x557
reflect.Value.Call(0x84dc880, 0x858f2a0, 0x13, 0x9c0e2a0, 0x1, 0x1, 0x9cce1e0, 0x9c0e2a0, 0x1)
        /usr/lib/golang/src/reflect/value.go:321 +0x7a
go.uber.org/dig.(*Container).Invoke(0x9cce1e0, 0x84dc880, 0x858f2a0, 0x0, 0x0, 0x0, 0x4, 0x0)
        /home/user/go/pkg/mod/go.uber.org/[email protected]/dig.go:397 +0x2a6
github.com/vit1251/golden/pkg/ui/api.(*APIServiceManageCompleteAction).ServeHTTP(0x9d02008, 0x86179a0, 0x9c76120, 0x9c9c900)
        /home/user/src/golden/pkg/ui/api/APIServiceManageCompleteAction.go:98 +0x368
net/http.HandlerFunc.ServeHTTP(0x9c0f100, 0x86179a0, 0x9c76120, 0x9c9c900)
        /usr/lib/golang/src/net/http/server.go:2007 +0x34
github.com/gorilla/mux.(*Router).ServeHTTP(0x9c7c7e0, 0x86179a0, 0x9c76120, 0x9c9c380)
        /home/user/go/pkg/mod/github.com/gorilla/[email protected]/mux.go:210 +0xbb
net/http.serverHandler.ServeHTTP(0x9c76bd0, 0x86179a0, 0x9c76120, 0x9c9c380)
        /usr/lib/golang/src/net/http/server.go:2802 +0x84
net/http.(*conn).serve(0x9c7c840, 0x8618360, 0x9d5c260)
        /usr/lib/golang/src/net/http/server.go:1890 +0x7ad
created by net/http.(*Server).Serve
        /usr/lib/golang/src/net/http/server.go:2928 +0x30d

Default path does not exists on Windows platform

Default parameters TempInbound, Inbound, Outbound, TempOutbound does not exists or point to wrong destination.

Posible solutions:

  1. Create platform specific path and autocreate if it possible
  2. Make installation stage or phase

Customize HTTP service port

Customize HTTP service port in command line parameter (i.e. use flag.Parse() and flag.Int("port", 8080, "Port"))

Missing EOB packet in mailer component

Перед разрывом соединения хорошо бы еще отправлять EOB. Без него удаленная нода считает сессию завершенной некорректно. Это не приводит к каким-то плохим последствиям, просто статистику портит.

Автор: Andrey Mundirov

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.