You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since 37854ee, Gin started to import syscall at recovery.go. This made Gin apps not able to be deployed in Google App Engine. Because Google App Engine doesn't allow to import syscall for security reason.
The majority of pure Go packages work on Google App Engine. A package may not work because of one of these reasons:
The package imports syscall or unsafe.
The package uses cgo or assembly.
The package requires functions in packages that are locked down, such as writing to disk, or direct network access.
Sorry, I haven't had any experience with GAE so I wasn't aware of that limitation. After a quick search on the matter, I think you may be right, @thinkerou. Seems assertion will have to end once you have the OpError and do string testing to see if it's EPIPE or ECONNRESET. You may also be able to see if calling OpError.Temporary() works just for the ECONNRESET check.
Description
Since 37854ee, Gin started to import
syscall
atrecovery.go
. This made Gin apps not able to be deployed in Google App Engine. Because Google App Engine doesn't allow to importsyscall
for security reason.In https://cloud.google.com/appengine/kb/, I could find those restrictions.
Screenshots
The text was updated successfully, but these errors were encountered: