Comments (4)
Thanks for finding this! I've updated our example code with a simple solution and some pointers to other ideas for more complex applications.
from duo_client_java.
Note the commit did not fix the issue; the issue is still present. formatDate is synchronized on an instance of Http, but it uses a single static instance of SimpleDateFormat. Multiple instances of Http could still concurrently call RFC_2822_DATE_FORMAT.format() which is not thread-safe.
from duo_client_java.
Yes, oops, that was obvious when I read my code again! I'll get a fix pushed soon.
from duo_client_java.
Thanks again! Please let me know if 5f185cd helps.
from duo_client_java.
Related Issues (9)
- Version numbers and tags HOT 1
- Authentication logs limits HOT 1
- invalid signature HOT 2
- Allow hostname verifier and socket factory for http HOT 1
- Invalid Signature when using a 'username' parameter HOT 1
- Allow duplicate params when crafting the request HOT 9
- Invalid ikey HOT 3
- Versioning question HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from duo_client_java.